Repository navigation
Description
Context
audit-noise's ghost-ref shape flags concrete .work/<slug>/ and docs/topics/<slug>/ paths cited from durable surfaces. Its stated rationale is ephemerality — the topic-docs README's pointer-discipline section reads "The contract slice is deleted before merge and the memory slice never leaves its checkout, so such pointers dangle by design."
That rationale is false for a consumer whose memory tier is tracked, and such a consumer exists: melodic-software/medley tracks .work/<slug>/ by accepted ADR (docs/adr/0005-work-dir-tracked-by-default.md, accepted 2026-05-09, amended 2026-06-02 to remove the ignore allow-list entirely). Verified in that checkout: .work/.gitignore absent, git ls-files .work returns 1,093 tracked files, git check-ignore -v .work/<slug>/EXPLORE.md reports NOT IGNORED, and the root .gitignore carries an explicit "Do NOT re-add a .work allow-list or denylist block here".
The finding's verdict is still right there — medley independently classifies the same shape as noise, by a different premise. .claude/rules/markdown-discipline.md:18-20 in that repo: "Ghost refs to .work/<slug>/ — concrete path references in durable surfaces... couple rule lifetime to slice lifetime; slice retirement breaks them", with the same 3-way classify treatment and the same slot-variable exemption.
So this is a rationale-coupling defect, not a false-positive generator: the classification holds, but the reason given for it does not survive contact with a tracked-memory-tier consumer. A consumer reading the stated rationale and finding it inapplicable to their repo may reasonably conclude the whole shape does not apply to them — and it does.
Severity is low: no wrong findings are produced today. It is a correctness-of-reasoning issue in shipped prose.
Proposed work
- Reword the
ghost-refshape's rationale inplugins/docs-hygiene/skills/audit-noise/SKILL.mdso it rests on the durable reason (a citation into a slice couples the citing document's lifetime to the slice's, and slice retirement breaks it) rather than on gitignore status. - Check the same reasoning in
plugins/docs-hygiene/skills/audit-noise/scripts/lib/noise-shapes.shand in the topic-docs README's pointer-discipline paragraph, and align them. - Keep the existing exemptions unchanged (slot variables, bare concern-scoped roots).
Acceptance criteria
- The
ghost-refrationale no longer depends on the memory tier being gitignored. - The stated reason holds for both a gitignored and a tracked memory tier.
- No change to which paths the detector flags — verdicts are unchanged; only the reasoning is corrected.
- Existing exemptions are preserved.
References
plugins/docs-hygiene/skills/audit-noise/SKILL.md:49,79— the shape table row and exemption rulesplugins/docs-hygiene/skills/audit-noise/scripts/lib/noise-shapes.shdocs/conventions/topic-docs/README.md— "Pointer discipline on durable surfaces"melodic-software/medleydocs/adr/0005-work-dir-tracked-by-default.md,.claude/rules/markdown-discipline.md:18-20— the tracked-tier consumer reaching the same verdict by a different premise
Activity