audit-snapshot memory-notes misattributes the decline reason for stability-downgraded candidates #16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
bin/audit-snapshot memory-notesrenders the wrong reason for a candidate that the FR-4.5 evidence-stability gate downgraded.On the 2026-07-30 anxious run,
anxious/agent-wip/release-policy-derivationwas downgraded fromfiletoboundary-questionby the stability gate.bin/stability-classifyrecorded the correct reason:But the drawer that
memory-notesrendered (and which is now stored in mempalace, winganxious, roominference-arbitrage-audits, source_fileinference-arbitrage/Audits/anxious/2026-07-30.judgments.md) says:That is factually wrong: the candidate was measured at 11.85% of audited spend, far above the 2% filing threshold. The threshold is precisely the one gate it did clear. The renderer appears to fall through to a generic "did not clear the filing threshold" branch whenever
verdict == boundary-questionand confidence ishigh, instead of reading the stability downgrade that is already present in the same document.Impact: the memory drawer is the input to step 2b (FR-9) recall on the next audit. A future run recalling this drawer is told the candidate failed on value when it actually failed on measurement instability — the opposite diagnosis, and one that invites re-proposing it as soon as a window shows a high share. The same document's later "Evidence-stability downgrades (FR-4.5)" section states it correctly, so the two halves of one drawer contradict each other.
Expected: for a stability-downgraded candidate, the "Declined because" line should name the FR-4.5 gate and the flip, not the filing threshold.
Fixed by commit
6b634fdon main.decline_reason()now checks FR-4.2's own disqualifiers first — a candidate can coincidentally be named in an unrelated stability finding without having cleared them, and the function only replaces the generic fallback line when the candidate actually reached it after clearing every earlier check on its own grade, which is the only way it can also be a genuine FR-4.5 downgrade.New regression test (h) added to tests/memory.test.sh; full suite passes.