diff --git a/.planning/phases/01-reproducible-fidelity-baseline/01-UAT.md b/.planning/phases/01-reproducible-fidelity-baseline/01-UAT.md index 00ef7e4..b3dfd0c 100644 --- a/.planning/phases/01-reproducible-fidelity-baseline/01-UAT.md +++ b/.planning/phases/01-reproducible-fidelity-baseline/01-UAT.md @@ -2,8 +2,8 @@ status: testing phase: 01-reproducible-fidelity-baseline source: [01-VERIFICATION.md] -started: 2026-11-14T05:39:44.958968+00:00 -updated: 2026-11-14T05:39:44.958968+00:00 +started: 2026-11-14T21:56:41.166382+00:00 +updated: 2026-11-14T21:56:41.166382+00:00 --- ## Current Test @@ -68,3 +68,7 @@ blocked: 0 ## 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. + +## 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. diff --git a/.planning/phases/01-reproducible-fidelity-baseline/01-VERIFICATION.md b/.planning/phases/01-reproducible-fidelity-baseline/01-VERIFICATION.md index a5c3e9a..8ae2e37 100644 --- a/.planning/phases/01-reproducible-fidelity-baseline/01-VERIFICATION.md +++ b/.planning/phases/01-reproducible-fidelity-baseline/01-VERIFICATION.md @@ -3,8 +3,8 @@ phase: 01-reproducible-fidelity-baseline verified: 2026-11-14T05:34:19Z status: human_needed 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_digest: "v4:sha256:70961b746a2cfc2cdb08a10750338dafb95fa17bd4ab0ecb4e3453c6c1075bcc" +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:acca5bdaa1f405a74d29d69c8ebe048085a6a4ff4c86e3b3f80c97cebfba8ac3" behavior_unverified: 0 overrides_applied: 0 decision_coverage: @@ -302,3 +302,24 @@ The fingerprint was produced by the owner CLI `query verification.fingerprint` o _Verified: 2026-11-14T05:34:19Z_ _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_ diff --git a/docs/compatibility.md b/docs/compatibility.md index ff2a343..b6ee578 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -1,5 +1,22 @@ # 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 Final owner-validated verification is `human_needed`:29/42 truths verified and13 diff --git a/docs/decisions.md b/docs/decisions.md index 3069f65..f53a6f1 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -1,5 +1,22 @@ # 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 Final owner-validated verification is `human_needed`:29/42 truths verified and13 diff --git a/docs/progress.md b/docs/progress.md index 0944685..3f1617d 100644 --- a/docs/progress.md +++ b/docs/progress.md @@ -1,5 +1,22 @@ # 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 Final owner-validated verification is `human_needed`:29/42 truths verified and13 diff --git a/docs/tasks.md b/docs/tasks.md index 2cc115a..b4dbc66 100644 --- a/docs/tasks.md +++ b/docs/tasks.md @@ -1,5 +1,22 @@ # 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 Final owner-validated verification is `human_needed`:29/42 truths verified and13