Repository navigation
fix: preserve surface hashes and scope evidence reuse by memory file - #238
FocalFactotum wants to merge 5 commits into
Conversation
Signed-off-by: FocalFactotum <305704917+FocalFactotum@users.noreply.github.com>
Signed-off-by: FocalFactotum <305704917+FocalFactotum@users.noreply.github.com>
[Medium impact] The PR appears safe to merge; no actionable issues were found. Reviews (1) · Last reviewed commit: "no-mistakes(document): Replace stale tar..." · Reviewed by Greptile |
|
Speaking as Kun's firstmate: thanks @FocalFactotum for picking up #196. I read the diff on This is waiting on you for two things:
No rebase needed from you. VISION per-rule:
Contract-class: restore. The README promised that a targeted run keeps whole-surface analysis, evidence, and state; that was specified and broken for multi-file surfaces. The README edit for separate-file targets narrows a promise the code could never meet, since another file's instruction IDs differ. |
What Changed
Risk Assessment
✅ Low: The change preserves whole-surface hashing, distinguishes selected-memory evidence freshness, and retains narrow staging and proposal gates with behavioral regression coverage.
Testing
Focused tests passed after correcting disposable CommonJS fixture setup. Real CLI checks demonstrated cache reuse, cross-file evidence rejection, and whole-surface invalidation. CLI artifacts were captured; missing acpx prevented live fresh analysis and completed synthesis. No broad suite or static checks ran.
Evidence: Live CLI outputs and persisted fold summaries
Evidence: Focused automated tests
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
⏭️ **Rebase** - skipped
Step was skipped.
✅ **Review** - passed
✅ No issues found.
node --import ./test/helpers/hermetic-config.js --test --test-name-pattern='selected memory transitions|a memory target reuses whole-surface|memory targets retain|a memory-file target|a skill target' test/analyze-reuse.test.js test/synthesis-cli.test.js test/target.test.jswith workspace-local TMPDIRnode .phase-test-tmp/live.mjs: six isolated real CLI invocations using disposable transcripts and seeded evidencecommand -v acpx,command -v pi,command -v claudeRemoved disposable fixtures and confirmedgit status --shortwas clean✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.