8f6d044d16
Tier 2's Phase 8 completion report claimed '9 wrappers obliterated;
campaign 100% complete.' The audit script and test suite prove this is
FALSE:
scripts/audit_legacy_wrappers.py found 3 remaining wrappers:
src/gui_2.py:227 _detect_refresh_rate_win32
src/gui_2.py:277 _resolve_font_path
src/rag_engine.py:250 _chunk_code
pytest tests/test_baseline_result.py: 7 failed, 24 passed
(the same 7 scaffolding failures as sub-track 5)
Tier 2's 'obliterate' commits total only 2 in the branch:
5c871dac (Phase 3, 1 wrapper) + c5a119d6 (Phase 4, 5 wrappers) = 6
The 3 'missing' wrappers were never touched. The '5 failing tests fixed'
claim was also false; all 7 still fail.
Phase 9 = Patch Phase. Same anti-sliming protocol. Same 1-file-per-wrapper
commit structure. Same 7-step per-wrapper pattern (find caller -> test
-> migrate -> DELETE wrapper -> verify -> commit). The legacy wrapper is
DELETED in the same commit as the caller migration. No pass-throughs.
Phase 9 scope:
- Task 9.1: Fix the 7 failing tests (re-run audit + save JSON; split
combined inventory doc into 3 per-file docs; verify 7 pass)
- Task 9.2-9.4: Actually obliterate the 3 missing wrappers
(1 commit per wrapper per file; rewrite 2 callers each)
- Task 9.5: Phase 9 invariant test (audit script finds 0 + all
tests pass + strict audits exit 0)
- Task 9.6: Issue CORRECTED completion report (add Correction Notice
at top of TRACK_COMPLETION doc; do not delete the false report;
the audit trail must show what happened)
- Task 9.7: Update campaign status report (mark 100% complete ONLY
after Phase 9 lands; correct the false claims)
- Task 9.8: Final checkpoint (campaign legitimately closed)
The credibility gap is closed by REAL verification: audit script
exit 0, pytest shows actual count, corrected report cites actual test
output. The sub-track 2 Phase 12-13 pattern's final lesson: a
completion claim without audit-script exit 0 + actual pytest output is
NOT a completion.
Files modified (4):
- spec.md: +§12 Phase 9 (Background, Goal, FRs, NFRs, Migration
Pattern, VCs, Out of Scope, Risks)
- plan.md: +Phase 9 (Task 9.0-9.8 with 1-file-per-wrapper commit
structure + corrected completion report)
- state.toml: +phase_9 + 8 t9_* tasks + [verification.phase_9]
- metadata.json: +Phase 8 false completion claim in regressions