You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plugin-quality:audit resume rule cannot find the packet findings file after the rename fallback fires #1592
Follow-up to #1565 / PR #1569. Raised as a P2 review finding on that PR; the fix was pushed after
the squash merge had already landed, so it never reached main. The defect is live.
Problem
plugin-quality:audit 0.2.0 documents a rename fallback: if the subagent report-file guardrail
rejects audit-notes.md too, write the identical content under another non-report name
(audit-data.md), record the substitution in evidence.md, and carry the real filename forward.
But the Resume rule in the same file accepts only two names:
When reading a packet back, accept audit-notes.mdor a legacy findings.md — packets
written before this rename still carry the old name, and the resume path must not miss them.
So a compaction occurring after the fallback fired drops the grounded-findings file from the
deterministic recovery path. The later contract-lock and review steps then proceed without the full
findings — which is precisely the loss the evidence packet exists to prevent, and it happens
silently, because the resume rule simply reports no findings file rather than erroring.
The substitution was recorded in evidence.md; the resume rule just never reads it.
Fix
Stop looking for one hardcoded filename:
Read evidence.md first and use the filename it records — that is where the fallback already
logs the substitution, so it is authoritative for a packet written under any name.
Absent such a record, accept all three known names: audit-notes.md (current), audit-data.md
(the documented fallback), and a legacy findings.md.
Treat every non-empty file in the packet directory as in-scope rather than concluding the
findings are gone.
Patch release (0.2.0 → 0.2.1); no contract surface changes beyond the resume rule's own text.
Activity
fix(plugin-quality): quote the backstop marker, mark backstop provena…
fix(plugin-quality): make the dispatching session verify and persist …