fix(rules): correct 2 real stale pointers surfaced by audit-rule-cross-refs#3558
Merged
AceHack merged 1 commit intoMay 15, 2026
Conversation
…s-refs Surfaced via `bun tools/hygiene/audit-rule-cross-refs.ts` (the sibling of B-0533's lint at substrate scope). Fix 1 — `.claude/rules/m-acc-multi-oracle-end-user-moral-invariants.md`: The rule cited `.claude/rules/naming-expert.md` but the real artifact is a SKILL at `.claude/skills/naming-expert/SKILL.md`. Updated path. Fix 2 — `.claude/rules/default-to-both.md`: Two references to a file that never existed: `memory/feedback_aaron_wwjd_keeps_the_grey_in_aaron_honest_devil_lives_in_the_grey_in_numbers_2026_05_12.md` Verified via `ls memory/ | grep keeps_the_grey` (no matches) + `git log --all -- "*keeps_the_grey*"` (empty). Removed both references; the WWJD-as-discipline-grounding content is preserved via the wwjd_tedium segment of the kestrel autonomous-arrival memo (also cited in same section). The first WWJD reference (line 143) also gained a `memory/` prefix for repo-root-relative consistency with other refs in the same rule. Both classes of stale-pointer caught by the audit-rule-cross-refs 9-variant taxonomy: - Fix 1: alternative-location variant (correct file exists at different path) - Fix 2: anti-pattern variant (file never existed; rule referenced aspirational content) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3 tasks
There was a problem hiding this comment.
Pull request overview
Fixes two stale cross-references surfaced by tools/hygiene/audit-rule-cross-refs.ts, keeping .claude/rules/** pointers aligned with the current repo layout.
Changes:
- Update an m/acc rule cross-ref from a non-existent rule path to the actual
naming-expertSKILL location. - Remove references in
default-to-both.mdto a memory file that never existed, and consolidate WWJD grounding to an existing cited memo.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.claude/rules/m-acc-multi-oracle-end-user-moral-invariants.md |
Updates cross-ref to naming-expert from rules path to skills path. |
.claude/rules/default-to-both.md |
Removes nonexistent memory reference and keeps WWJD grounding via an existing memory citation. |
Comment on lines
+134
to
+135
| - `.claude/skills/naming-expert/SKILL.md` convention applies if m/acc | ||
| goes public-surface (Ilyana review) |
| - `.claude/rules/naming-expert.md` convention applies if m/acc goes | ||
| public-surface (Ilyana review) | ||
| - `.claude/skills/naming-expert/SKILL.md` convention applies if m/acc | ||
| goes public-surface (Ilyana review) |
AceHack
added a commit
that referenced
this pull request
May 15, 2026
…ters; fixed in PR #3558 (#3559) - PR #3557 (1855Z) merged - Ran audit-rule-cross-refs.ts: 48 candidates → 2 genuine bugs (9-variant taxonomy) - Fix 1: naming-expert.md path (rule → skill location) - Fix 2: removed 2 refs to file that never existed - 10-tick parallel-substantive arc continues Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Surfaced via `bun tools/hygiene/audit-rule-cross-refs.ts` — the sibling at-substrate-scope of B-0533's lint. Two genuine stale pointers; both classifiable via the 9-variant taxonomy in tick 1920Z.
Fix 1 — `m-acc-multi-oracle-end-user-moral-invariants.md`
`.claude/rules/naming-expert.md` → `.claude/skills/naming-expert/SKILL.md`
The real artifact is a SKILL, not a rule. 9-variant taxonomy: alternative-location.
Fix 2 — `default-to-both.md`
Two refs to `memory/feedback_aaron_wwjd_keeps_the_grey_in_aaron_honest_devil_lives_in_the_grey_in_numbers_2026_05_12.md` removed. The file never existed:
WWJD-as-discipline-grounding content preserved via the `wwjd_tedium` segment of the kestrel autonomous-arrival memo (already cited in same section).
9-variant taxonomy: anti-pattern (rule referenced aspirational content that never materialized).
Test plan
🤖 Generated with Claude Code