Compare commits

...
5 Commits
13 changed files with 160 additions and 28 deletions

No files matched your search

@@ -2,8 +2,8 @@
status: testing status: testing
phase: 01-reproducible-fidelity-baseline phase: 01-reproducible-fidelity-baseline
source: [01-VERIFICATION.md] source: [01-VERIFICATION.md]
started: 2026-11-14T05:39:44.958968+00:00 started: 2026-11-14T21:56:41.166382+00:00
updated: 2026-11-14T05:39:44.958968+00:00 updated: 2026-11-14T21:56:41.166382+00:00
--- ---
## Current Test ## Current Test
@@ -68,3 +68,7 @@ blocked: 0
## Gaps ## Gaps
No implementation issues reported in this UAT session. All ten actual human checks remain pending; 0/120 capture obligations are accepted. Follow docs/evidence/checkpoint-session.md as one combined session. Prepared materials and prior tests do not supply human approval. No implementation issues reported in this UAT session. All ten actual human checks remain pending; 0/120 capture obligations are accepted. Follow docs/evidence/checkpoint-session.md as one combined session. Prepared materials and prior tests do not supply human approval.
## Session Notes
Restart requested by the user. Readiness then failed on generated tools/recon/__pycache__/fidelity_checkpoint.cpython-312.pyc before any human capture test. Fixed by2fe8b40; real bundled readiness succeeds twice with no bytecode writes. This automated preflight repair does not pass A1 or any other human check.
@@ -3,8 +3,8 @@ phase: 01-reproducible-fidelity-baseline
verified: 2026-11-14T05:34:19Z verified: 2026-11-14T05:34:19Z
status: human_needed status: human_needed
score: 29/42 must-haves verified score: 29/42 must-haves verified
covered_files: [".planning/REQUIREMENTS.md",".planning/ROADMAP.md",".planning/phases/01-reproducible-fidelity-baseline/01-01-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-01-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-02-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-02-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-03-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-03-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-04-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-04-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-05-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-05-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-06-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-06-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-07-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-07-SUMMARY.md","artifacts/fidelity/01-07-full-suite.json","artifacts/fidelity/01-07-full-suite.log","artifacts/fidelity/01-review-fixes/acceptance-final.json","artifacts/fidelity/01-review-fixes/python-fidelity-final.log","artifacts/fidelity/01-review-fixes/readiness-final.json","artifacts/fidelity/verification/01-07-final-checkpoint.json","docs/compatibility.md","docs/decisions.md","docs/evidence/README.md","docs/evidence/capabilities.json","docs/evidence/checkpoint-session.md","docs/evidence/linux-session.md","docs/evidence/phase01-baseline.md","docs/evidence/scenarios.json","docs/evidence/windows-session.md","docs/original-manifest.json","docs/progress.md","docs/tasks.md","scripts/collect-fidelity-linux.sh","scripts/collect-fidelity-windows.cmd","scripts/collect-fidelity-windows.ps1","scripts/env.sh","scripts/prepare-fidelity-checkpoint.sh","scripts/test.sh","src/GamePort/Application/FidelityObservation.cs","src/GamePort/Program.cs","tests/GamePort.FidelityObservationTests/GamePort.FidelityObservationTests.csproj","tests/GamePort.FidelityObservationTests/Program.cs","tests/fidelity-viewer.test.mjs","tests/fidelity-windows.Tests.ps1","tests/test_fidelity_acceptance.py","tests/test_fidelity_capture.py","tests/test_fidelity_checkpoint.py","tests/test_fidelity_ledger.py","tests/test_fidelity_observation.py","tests/test_fidelity_review.py","tests/test_fidelity_scenarios.py","tests/test_fidelity_sessions.py","tools/recon/fidelity.py","tools/recon/fidelity_acceptance.py","tools/recon/fidelity_capture.py","tools/recon/fidelity_checkpoint.py","tools/recon/fidelity_ledger.py","tools/recon/fidelity_receipts.py","tools/recon/fidelity_review.py","tools/recon/fidelity_viewer/index.html","tools/recon/fidelity_viewer/style.css","tools/recon/fidelity_viewer/viewer.mjs","tools/recon/inventory.py"] covered_files: [".planning/REQUIREMENTS.md",".planning/ROADMAP.md",".planning/phases/01-reproducible-fidelity-baseline/01-01-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-01-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-02-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-02-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-03-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-03-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-04-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-04-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-05-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-05-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-06-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-06-SUMMARY.md",".planning/phases/01-reproducible-fidelity-baseline/01-07-PLAN.md",".planning/phases/01-reproducible-fidelity-baseline/01-07-SUMMARY.md","artifacts/fidelity/01-07-full-suite.json","artifacts/fidelity/01-07-full-suite.log","artifacts/fidelity/01-review-fixes/acceptance-final.json","artifacts/fidelity/01-review-fixes/python-fidelity-final.log","artifacts/fidelity/01-review-fixes/readiness-final.json","artifacts/fidelity/bytecode-fix/acceptance.json","artifacts/fidelity/bytecode-fix/fidelity-tests.log","artifacts/fidelity/bytecode-fix/observer-build.log","artifacts/fidelity/bytecode-fix/observer-retry.log","artifacts/fidelity/bytecode-fix/ready-bundled-1.json","artifacts/fidelity/bytecode-fix/ready-bundled-2.json","artifacts/fidelity/verification/01-07-final-checkpoint.json","docs/compatibility.md","docs/decisions.md","docs/evidence/README.md","docs/evidence/capabilities.json","docs/evidence/checkpoint-session.md","docs/evidence/linux-session.md","docs/evidence/phase01-baseline.md","docs/evidence/scenarios.json","docs/evidence/windows-session.md","docs/original-manifest.json","docs/progress.md","docs/tasks.md","scripts/collect-fidelity-linux.sh","scripts/collect-fidelity-windows.cmd","scripts/collect-fidelity-windows.ps1","scripts/env.sh","scripts/prepare-fidelity-checkpoint.sh","scripts/test.sh","src/GamePort/Application/FidelityObservation.cs","src/GamePort/Program.cs","tests/GamePort.FidelityObservationTests/GamePort.FidelityObservationTests.csproj","tests/GamePort.FidelityObservationTests/Program.cs","tests/fidelity-viewer.test.mjs","tests/fidelity-windows.Tests.ps1","tests/test_fidelity_acceptance.py","tests/test_fidelity_capture.py","tests/test_fidelity_checkpoint.py","tests/test_fidelity_ledger.py","tests/test_fidelity_observation.py","tests/test_fidelity_review.py","tests/test_fidelity_scenarios.py","tests/test_fidelity_sessions.py","tools/recon/fidelity.py","tools/recon/fidelity_acceptance.py","tools/recon/fidelity_capture.py","tools/recon/fidelity_checkpoint.py","tools/recon/fidelity_ledger.py","tools/recon/fidelity_receipts.py","tools/recon/fidelity_review.py","tools/recon/fidelity_viewer/index.html","tools/recon/fidelity_viewer/style.css","tools/recon/fidelity_viewer/viewer.mjs","tools/recon/inventory.py"]
covered_digest: "v4:sha256:70961b746a2cfc2cdb08a10750338dafb95fa17bd4ab0ecb4e3453c6c1075bcc" covered_digest: "v4:sha256:acca5bdaa1f405a74d29d69c8ebe048085a6a4ff4c86e3b3f80c97cebfba8ac3"
behavior_unverified: 0 behavior_unverified: 0
overrides_applied: 0 overrides_applied: 0
decision_coverage: decision_coverage:
@@ -70,8 +70,8 @@ human_verification:
**Phase Goal:** As a tester, I want to reproduce identified original/port comparison scenarios, so that I understand exactly what the current reconstruction proves on each native platform. **Phase Goal:** As a tester, I want to reproduce identified original/port comparison scenarios, so that I understand exactly what the current reconstruction proves on each native platform.
**Verified:** 2026-11-14T05:34:19Z **Verified:** 2026-11-14T05:34:19Z
**Status:** human_needed **Status:** human_needed
**Re-verification:** No existing VERIFICATION.md; completion of the interrupted initial verification after the MVP goal-format correction (`febb4a9`). No scope change or override. **Re-verification:** No existing VERIFICATION.md; completion of the interrupted initial verification after the MVP goal-format correction (`febb4a9`). No scope change or override.
## User Flow Coverage ## User Flow Coverage
@@ -232,62 +232,62 @@ Existing gates remain recorded: security 22/22 mitigated, zero open; validation
#### 1. A1 — Capture and observe the isolated original through the selected DxWnd setup #### 1. A1 — Capture and observe the isolated original through the selected DxWnd setup
**Test:** A1 — Capture and observe the isolated original through the selected DxWnd setup using the combined-session guide. **Test:** A1 — Capture and observe the isolated original through the selected DxWnd setup using the combined-session guide.
**Expected:** Complete 40 original-Windows-DxWnd obligations; observe moving game imagery and intelligible game audio, retaining actual executable/profile/copy inventories and wrapper/configuration limitations. **Expected:** Complete 40 original-Windows-DxWnd obligations; observe moving game imagery and intelligible game audio, retaining actual executable/profile/copy inventories and wrapper/configuration limitations.
**Why human:** Original execution and audiovisual truth are unobserved; the backstop abstains with insufficient_spec. **Why human:** Original execution and audiovisual truth are unobserved; the backstop abstains with insufficient_spec.
#### 2. A2 — Exercise actual paired recordings in the identified browser #### 2. A2 — Exercise actual paired recordings in the identified browser
**Test:** A2 — Exercise actual paired recordings in the identified browser using the combined-session guide. **Test:** A2 — Exercise actual paired recordings in the identified browser using the combined-session guide.
**Expected:** Both real recordings decode, play at actual speed, seek to their own observed events, preserve full tails and switch exclusive audio without concealing elapsed time. **Expected:** Both real recordings decode, play at actual speed, seek to their own observed events, preserve full tails and switch exclusive audio without concealing elapsed time.
**Why human:** Controller tests use media doubles; they cannot establish real codec/browser/physical-audio behavior. Backstop: insufficient_spec. **Why human:** Controller tests use media doubles; they cannot establish real codec/browser/physical-audio behavior. Backstop: insufficient_spec.
#### 3. EVID-02-unclassified — Review original capture boundaries and limitations #### 3. EVID-02-unclassified — Review original capture boundaries and limitations
**Test:** EVID-02-unclassified — Review original capture boundaries and limitations using the combined-session guide. **Test:** EVID-02-unclassified — Review original capture boundaries and limitations using the combined-session guide.
**Expected:** Document observed original/DxWnd launch, crop, aspect, timing, recording boundaries and retained/fresh lifetimes for the actual reference captures. **Expected:** Document observed original/DxWnd launch, crop, aspect, timing, recording boundaries and retained/fresh lifetimes for the actual reference captures.
**Why human:** This flagged assumption cannot be inferred from prepared settings or synthetic metadata. **Why human:** This flagged assumption cannot be inferred from prepared settings or synthetic metadata.
#### 4. EVID-04-unclassified — Collect and inspect both native platform routes #### 4. EVID-04-unclassified — Collect and inspect both native platform routes
**Test:** EVID-04-unclassified — Collect and inspect both native platform routes using the combined-session guide. **Test:** EVID-04-unclassified — Collect and inspect both native platform routes using the combined-session guide.
**Expected:** Complete 40 native Windows and 40 native Linux obligations with actual OS/GPU/driver/Vulkan/SDL/source/package/resource identity and observed route/input/audio continuity. **Expected:** Complete 40 native Windows and 40 native Linux obligations with actual OS/GPU/driver/Vulkan/SDL/source/package/resource identity and observed route/input/audio continuity.
**Why human:** Windows is cross-published only; current Linux TTY/auto_null preflight cannot capture native physical gameplay. **Why human:** Windows is cross-published only; current Linux TTY/auto_null preflight cannot capture native physical gameplay.
#### 5. P1 — Resolve the original-preservation prohibition explicitly #### 5. P1 — Resolve the original-preservation prohibition explicitly
**Test:** P1 — Resolve the original-preservation prohibition explicitly using the combined-session guide. **Test:** P1 — Resolve the original-preservation prohibition explicitly using the combined-session guide.
**Expected:** Confirm authoritative originals were never executed or changed; compare all 539 recorded hashes and generated-copy pre/retained/post inventories after the session. **Expected:** Confirm authoritative originals were never executed or changed; compare all 539 recorded hashes and generated-copy pre/retained/post inventories after the session.
**Why human:** Descriptor-less unresolved prohibition requires explicit disposition; current preserved hashes do not prove future session conduct. **Why human:** Descriptor-less unresolved prohibition requires explicit disposition; current preserved hashes do not prove future session conduct.
#### 6. P2 — Resolve the honest-comparison prohibition explicitly #### 6. P2 — Resolve the honest-comparison prohibition explicitly
**Test:** P2 — Resolve the honest-comparison prohibition explicitly using the combined-session guide. **Test:** P2 — Resolve the honest-comparison prohibition explicitly using the combined-session guide.
**Expected:** Confirm genuine original media, no retiming or concealed drift, no mixed simultaneous soundtracks, and visible review gain/derivation provenance. **Expected:** Confirm genuine original media, no retiming or concealed drift, no mixed simultaneous soundtracks, and visible review gain/derivation provenance.
**Why human:** Unverified-prohibition — human review recommended; genuine playback and perceived audiovisual comparison require observation. **Why human:** Unverified-prohibition — human review recommended; genuine playback and perceived audiovisual comparison require observation.
#### 7. P3 — Resolve the history/full-scope/native-transparency prohibition explicitly #### 7. P3 — Resolve the history/full-scope/native-transparency prohibition explicitly
**Test:** P3 — Resolve the history/full-scope/native-transparency prohibition explicitly using the combined-session guide. **Test:** P3 — Resolve the history/full-scope/native-transparency prohibition explicitly using the combined-session guide.
**Expected:** Confirm all 33 requirements and unimplemented content stay visible; conflicting/superseded evidence and native/Wine/component/cross-publish distinctions are preserved after reconciliation. **Expected:** Confirm all 33 requirements and unimplemented content stay visible; conflicting/superseded evidence and native/Wine/component/cross-publish distinctions are preserved after reconciliation.
**Why human:** Unverified-prohibition — human review recommended; final returned-evidence reconciliation requires explicit judgment. **Why human:** Unverified-prohibition — human review recommended; final returned-evidence reconciliation requires explicit judgment.
#### 8. browser — Review the complete local comparison interface #### 8. browser — Review the complete local comparison interface
**Test:** browser — Review the complete local comparison interface using the combined-session guide. **Test:** browser — Review the complete local comparison interface using the combined-session guide.
**Expected:** With real captures, verify readable independent clocks/drift, keyboard controls, raw unobstructed default views, optional annotations/differences and visible loading/error/tail states. **Expected:** With real captures, verify readable independent clocks/drift, keyboard controls, raw unobstructed default views, optional annotations/differences and visible loading/error/tail states.
**Why human:** No actual browser visual/usability/codec review has been performed. **Why human:** No actual browser visual/usability/codec review has been performed.
#### 9. paired_review — Compare all corresponding actual recordings and record discrepancies #### 9. paired_review — Compare all corresponding actual recordings and record discrepancies
**Test:** paired_review — Compare all corresponding actual recordings and record discrepancies using the combined-session guide. **Test:** paired_review — Compare all corresponding actual recordings and record discrepancies using the combined-session guide.
**Expected:** Review matched events, imagery and sound across the required cases, retaining raw drift and justified system-specific observations without invented tolerances. **Expected:** Review matched events, imagery and sound across the required cases, retaining raw drift and justified system-specific observations without invented tolerances.
**Why human:** No corresponding original/native pair or completed visual/audible comparison exists. **Why human:** No corresponding original/native pair or completed visual/audible comparison exists.
#### 10. physical_input — Exercise visible native gameplay and actual audible devices #### 10. physical_input — Exercise visible native gameplay and actual audible devices
**Test:** physical_input — Exercise visible native gameplay and actual audible devices using the combined-session guide. **Test:** physical_input — Exercise visible native gameplay and actual audible devices using the combined-session guide.
**Expected:** On Linux and Windows use physical supported inputs through lab → VR04 → lab → outside, natural/skipped and fresh/retained cases, held input, banked jumps, landing and idle; confirm real display/audio output. **Expected:** On Linux and Windows use physical supported inputs through lab → VR04 → lab → outside, natural/skipped and fresh/retained cases, held input, banked jumps, landing and idle; confirm real display/audio output.
**Why human:** Injected/headless/GPU/dummy-audio fixtures prove narrower behavior and cannot satisfy physical-input or audibility acceptance. **Why human:** Injected/headless/GPU/dummy-audio fixtures prove narrower behavior and cannot satisfy physical-input or audibility acceptance.
### Acceptance Conclusion ### Acceptance Conclusion
@@ -300,6 +300,26 @@ The fingerprint was produced by the owner CLI `query verification.fingerprint` o
--- ---
_Verified: 2026-11-14T05:34:19Z_ _Verified: 2026-11-14T05:34:19Z_
_Verifier: gsd-verifier_ _Verifier: gsd-verifier_
## Bounded Verification Follow-up — Bundled Bytecode Fix (2026-11-14)
The first actual UAT readiness command exposed a tooling defect: Python local imports created `__pycache__/*.pyc` inside the sealed checkpoint, so later immutable-tree checks could fail. This qualifies the earlier readiness evidence; it was not an original/native capture or an A1 pass. Historical bundle `phase01-before-bytecode-fix-20261114T215109Z` is preserved. The freshly assembled `dist/fidelity/phase01` retains 11,001 immutable members and existing result/run history.
Independently inspected regression commit `23ee1c2` and implementation commit `2fe8b40`. The regression invokes all five copied bundled CLI entry points using `python -E`, checks that no bytecode appears, invokes copied checkpoint preflight twice, and compares the complete tree identity before/after. The fix sets `sys.dont_write_bytecode = True` only under `__name__ == '__main__'`, before local imports, in acceptance/checkpoint/capture/review/ledger. It adds two required sys imports and changes no gameplay, library algorithm, receipt schema or acceptance decision.
| Retained evidence inspected | Actual result and scope |
|---|---|
| bytecode-fix/ready-bundled-1.json and ready-bundled-2.json | Exact bundled-cwd default-python readiness command succeeded twice without -B: materials_ready true, 11,001 members, human_needed; updated checkpoint identity receipt records zero created bytecode files |
| bytecode-fix/fidelity-tests.log | Initial broad attempt ran 185 test methods, with an observer-class setup ERROR caused by its 90-second .NET build timeout; the run is FAILED, not a passing aggregate. The completed methods include the 26 checkpoint regressions |
| bytecode-fix/observer-build.log | Separate bounded build succeeded in 72.12s, zero errors; one NU1900 vulnerability-index access warning retained |
| bytecode-fix/observer-retry.log | Observer-only retry: seven tests PASS in 24.473s; 192 target checks are covered across the separate runs, not by a successful initial full run |
| bytecode-fix/acceptance.json | Strict audit remains exit 1, errors [], 0/120 accepted, all ten named human findings pending |
| verification/01-07-final-checkpoint.json | Current manifest/READY identities updated for source fix 2fe8b40; package runtime provenance remains separately identified |
Evidence paths above are under `artifacts/fidelity/`. No tests, runtime, full GPU suite or wider audit were rerun by this follow-up verifier. The reviewed change is confined to bundled CLI cache behavior; no new native compatibility or gameplay claim follows. The user-selected UAT restart preserves all ten pending findings and agent-owned result reconciliation.
**Follow-up verdict:** the bounded bytecode defect is corrected by the inspected implementation and retained behavioral evidence. Overall status remains **human_needed**, score **29/42**, with **all ten human checks pending**. Fingerprint refreshed through the owner CLI over the prior 65 inputs plus the six evidence files above; prior proof is retained.
_Follow-up verified: 2026-11-14T21:58:58Z_
@@ -1 +1 @@
No external API integration: Phase 01 implements local filesystem provenance, native process capture, offline media review and a contained loopback file viewer; it consumes existing game/tool executables without adding a hosted service, external SDK integration or remote API capability. No external API integration: Phase 01 uses local files, native capture, offline media review and a loopback viewer; no hosted API or external SDK is added.
+17
View File
@@ -1,5 +1,22 @@
# Compatibility and validation # Compatibility and validation
## Bundled checker cache fix — 2026-11-14
A user readiness check created Python bytecode inside the sealed checkpoint and
then rejected it as unexpected immutable material. Regression23ee1c2 reproduces
this; fix2fe8b40 disables bytecode writes before local imports in all five bundled
Python command entry points. All26 checkpoint tests pass, including a real copied
CLI test with environment overrides ignored. The exact bundled readiness command
passes twice without creating pyc files. A fresh11,001-member checkpoint replaces
phase01; the old tree and its cache/results are retained in local history, and
existing results/generated execution copies were copied into the new mutable roots.
The broader attempt ran185 tests but failed observer class setup after a90-second
.NET build timeout. A separate bounded local build passed; the seven observer
checks then passed on their own retry. Thus all192 fidelity checks are covered
across the two runs; the initial full attempt remains recorded as failed.
No runtime implementation changed. Actual original/native acceptance remains
0/120 OPEN and all ten human UAT items remain pending.
## Phase 1 verification — human session pending ## Phase 1 verification — human session pending
Final owner-validated verification is `human_needed`:29/42 truths verified and13 Final owner-validated verification is `human_needed`:29/42 truths verified and13
+17
View File
@@ -1,5 +1,22 @@
# Decisions # Decisions
## Bundled checker cache fix — 2026-11-14
A user readiness check created Python bytecode inside the sealed checkpoint and
then rejected it as unexpected immutable material. Regression23ee1c2 reproduces
this; fix2fe8b40 disables bytecode writes before local imports in all five bundled
Python command entry points. All26 checkpoint tests pass, including a real copied
CLI test with environment overrides ignored. The exact bundled readiness command
passes twice without creating pyc files. A fresh11,001-member checkpoint replaces
phase01; the old tree and its cache/results are retained in local history, and
existing results/generated execution copies were copied into the new mutable roots.
The broader attempt ran185 tests but failed observer class setup after a90-second
.NET build timeout. A separate bounded local build passed; the seven observer
checks then passed on their own retry. Thus all192 fidelity checks are covered
across the two runs; the initial full attempt remains recorded as failed.
No runtime implementation changed. Actual original/native acceptance remains
0/120 OPEN and all ten human UAT items remain pending.
## Phase 1 verification — human session pending ## Phase 1 verification — human session pending
Final owner-validated verification is `human_needed`:29/42 truths verified and13 Final owner-validated verification is `human_needed`:29/42 truths verified and13
+17
View File
@@ -1,5 +1,22 @@
# Progress — 2026-11-07 # Progress — 2026-11-07
## Bundled checker cache fix — 2026-11-14
A user readiness check created Python bytecode inside the sealed checkpoint and
then rejected it as unexpected immutable material. Regression23ee1c2 reproduces
this; fix2fe8b40 disables bytecode writes before local imports in all five bundled
Python command entry points. All26 checkpoint tests pass, including a real copied
CLI test with environment overrides ignored. The exact bundled readiness command
passes twice without creating pyc files. A fresh11,001-member checkpoint replaces
phase01; the old tree and its cache/results are retained in local history, and
existing results/generated execution copies were copied into the new mutable roots.
The broader attempt ran185 tests but failed observer class setup after a90-second
.NET build timeout. A separate bounded local build passed; the seven observer
checks then passed on their own retry. Thus all192 fidelity checks are covered
across the two runs; the initial full attempt remains recorded as failed.
No runtime implementation changed. Actual original/native acceptance remains
0/120 OPEN and all ten human UAT items remain pending.
## Phase 1 verification — human session pending ## Phase 1 verification — human session pending
Final owner-validated verification is `human_needed`:29/42 truths verified and13 Final owner-validated verification is `human_needed`:29/42 truths verified and13
+17
View File
@@ -1,5 +1,22 @@
# Tasks # Tasks
## Bundled checker cache fix — 2026-11-14
A user readiness check created Python bytecode inside the sealed checkpoint and
then rejected it as unexpected immutable material. Regression23ee1c2 reproduces
this; fix2fe8b40 disables bytecode writes before local imports in all five bundled
Python command entry points. All26 checkpoint tests pass, including a real copied
CLI test with environment overrides ignored. The exact bundled readiness command
passes twice without creating pyc files. A fresh11,001-member checkpoint replaces
phase01; the old tree and its cache/results are retained in local history, and
existing results/generated execution copies were copied into the new mutable roots.
The broader attempt ran185 tests but failed observer class setup after a90-second
.NET build timeout. A separate bounded local build passed; the seven observer
checks then passed on their own retry. Thus all192 fidelity checks are covered
across the two runs; the initial full attempt remains recorded as failed.
No runtime implementation changed. Actual original/native acceptance remains
0/120 OPEN and all ten human UAT items remain pending.
## Phase 1 verification — human session pending ## Phase 1 verification — human session pending
Final owner-validated verification is `human_needed`:29/42 truths verified and13 Final owner-validated verification is `human_needed`:29/42 truths verified and13
+18
View File
@@ -76,6 +76,24 @@ class FidelityCheckpoint(unittest.TestCase):
self.assertEqual(receipts.identify_tree(self.original)['files'], self.assertEqual(receipts.identify_tree(self.original)['files'],
receipts.read_json(self.manifest)['files']) receipts.read_json(self.manifest)['files'])
def test_bundled_python_commands_preserve_immutable_tree(self):
self.prepare()
before = receipts.identify_tree(self.output)
for name in ('fidelity_acceptance', 'fidelity_checkpoint', 'fidelity_capture',
'fidelity_review', 'fidelity_ledger'):
result = subprocess.run(
[sys.executable, '-E', 'tools/recon/' + name + '.py', '--help'],
cwd=self.output, capture_output=True, text=True, timeout=20)
self.assertEqual(result.returncode, 0, result.stderr)
self.assertFalse(list((self.output / 'tools/recon').rglob('*.pyc')), name)
for _ in range(2):
result = subprocess.run(
[sys.executable, '-E', 'tools/recon/fidelity_checkpoint.py',
'preflight', '--checkpoint', '.'], cwd=self.output,
capture_output=True, text=True, timeout=20)
self.assertEqual(result.returncode, 0, result.stderr)
self.assertEqual(receipts.identify_tree(self.output), before)
def test_actual_package_and_resource_bytes_identified(self): def test_actual_package_and_resource_bytes_identified(self):
self.prepare() self.prepare()
manifest = receipts.read_json(self.output / 'manifest.json') manifest = receipts.read_json(self.output / 'manifest.json')
+4
View File
@@ -9,6 +9,10 @@ import hashlib
from pathlib import Path from pathlib import Path
import sys import sys
# A bundled CLI must not create bytecode inside the sealed checkpoint.
if __name__ == '__main__':
sys.dont_write_bytecode = True
from fidelity_checkpoint import MATERIALS, PROJECT, _package, preflight from fidelity_checkpoint import MATERIALS, PROJECT, _package, preflight
from fidelity_receipts import (audit_scenarios, canonical_bytes, contained_path, from fidelity_receipts import (audit_scenarios, canonical_bytes, contained_path,
identify_file, identify_tree, read_json, read_receipt, validate_receipt, identify_file, identify_tree, read_json, read_receipt, validate_receipt,
+5
View File
@@ -17,9 +17,14 @@ import re
import shutil import shutil
import signal import signal
import subprocess import subprocess
import sys
import tempfile import tempfile
import time import time
# A bundled CLI must not create bytecode inside the sealed checkpoint.
if __name__ == '__main__':
sys.dont_write_bytecode = True
from fidelity_checkpoint import _package from fidelity_checkpoint import _package
from fidelity_receipts import (MAX_JSON_BYTES, _id, _write_json, canonical_bytes, from fidelity_receipts import (MAX_JSON_BYTES, _id, _write_json, canonical_bytes,
contained_path, identify_file, import_receipt, read_json, separated_roots, contained_path, identify_file, import_receipt, read_json, separated_roots,
+4
View File
@@ -14,6 +14,10 @@ import subprocess
import sys import sys
import uuid import uuid
# A bundled CLI must not create bytecode inside the sealed checkpoint.
if __name__ == '__main__':
sys.dont_write_bytecode = True
from fidelity_receipts import (canonical_bytes, contained_path, identify_file, from fidelity_receipts import (canonical_bytes, contained_path, identify_file,
identify_tree, read_json, relative_name, separated_roots, source_identity, identify_tree, read_json, relative_name, separated_roots, source_identity,
utc_now, validate_receipt, validate_scenario_contract, verify_inventory, utc_now, validate_receipt, validate_scenario_contract, verify_inventory,
+4
View File
@@ -20,6 +20,10 @@ import subprocess
import sys import sys
from urllib.parse import quote from urllib.parse import quote
# A bundled CLI must not create bytecode inside the sealed checkpoint.
if __name__ == '__main__':
sys.dont_write_bytecode = True
from fidelity_receipts import (KINDS, MAX_JSON_BYTES, canonical_bytes, contained_path, from fidelity_receipts import (KINDS, MAX_JSON_BYTES, canonical_bytes, contained_path,
identify_file, read_json, validate_receipt) identify_file, read_json, validate_receipt)
+5
View File
@@ -15,9 +15,14 @@ from pathlib import Path
import re import re
import shutil import shutil
import subprocess import subprocess
import sys
import tempfile import tempfile
from urllib.parse import quote, unquote, urlsplit from urllib.parse import quote, unquote, urlsplit
# A bundled CLI must not create bytecode inside the sealed checkpoint.
if __name__ == '__main__':
sys.dont_write_bytecode = True
from fidelity_receipts import (MAX_JSON_BYTES, canonical_bytes, contained_path, from fidelity_receipts import (MAX_JSON_BYTES, canonical_bytes, contained_path,
identify_file, read_json, read_receipt, separated_roots, identify_file, read_json, read_receipt, separated_roots,
validate_receipt) validate_receipt)