fix(claude): forbid audit self-reference in commit messages

This commit is contained in:
2026-04-27 13:31:55 +02:00
parent ad6da302c7
commit 603ca3d23e
+1
View File
@@ -229,6 +229,7 @@ After the final tier, give a brief summary: what was applied, what was backlogge
- Dump every tier at once or rely on a single big report. Walk tier by tier so the user only has to track one decision at a time.
- Surface phase numbers/names to the user. Phases are scaffolding for this skill, not vocabulary the user should have to learn.
- Auto-apply changes that affect public API surface even after a generic "go ahead". If a finding touches `pub` items, lift it into the Needs discussion tier before presenting.
- Reference the audit run itself in commit titles or bodies (no "from audit", "audit cleanup", "via /audit", "found by audit"). Commits should describe the change, not how it surfaced. The audit is the trigger, not the subject.
- Stack findings from multiple lenses into one commit without clear grouping.
- Invent findings to fill space if a lens comes up empty. "Nothing to flag" is a valid outcome and should be reported as such.
- Re-raise items already in `TODO.md` / `BACKLOG.md`.