Skip to content

docs(rules): Option B disclosure for shadow-star-shorthand citation in m-acc rule (r2; #4036 base-contamination fix)#4038

Merged
AceHack merged 1 commit into
mainfrom
memo/m-acc-shadow-star-disclosure-r2-2026-05-17
May 17, 2026
Merged

docs(rules): Option B disclosure for shadow-star-shorthand citation in m-acc rule (r2; #4036 base-contamination fix)#4038
AceHack merged 1 commit into
mainfrom
memo/m-acc-shadow-star-disclosure-r2-2026-05-17

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 17, 2026

Summary

R2 re-land of #4036, which had branch-base contamination: git diff origin/main..b/4036-HEAD showed 7 files differing because my branch was cut from an older origin/main than I thought, and peer-Otto-CLI's updates to B-0427/B-0476/B-0509/install.ts landed on main between fork and PR-open. From GitHub's perspective the PR's NET effect was: add m-acc edit + REVERT 3 unrelated peer changes. That's why Copilot's 5 threads flagged scope mismatch + last_updated + broken-depends_on on the apparently-reverted files.

Per blocked-green-ci-investigate-threads.md Pattern "Re-land via cherry-pick", this PR is the clean re-land:

  • Fresh branch off CURRENT origin/main
  • Cherry-picked the original commit (c56f7388842abfa); 1 file changed, 4 insertions, 1 deletion
  • git diff origin/main..HEAD --name-only shows ONLY .claude/rules/m-acc-multi-oracle-end-user-moral-invariants.md

What the substrate change does

Adds Option B disclosure to m-acc-multi-oracle-end-user-moral-invariants.md line 191 — a second citation site of feedback_aaron_shadow_star_shorthand_* that my original audit (#4031) sort -u dedup hid. This completes the audit→Option-B chain peer-Otto-Desktop's #4033 began.

Test plan

  • git ls-remote origin memo/m-acc-shadow-star-disclosure-r2-... → 842abfa7...
  • git diff origin/main..HEAD --name-only returns only the m-acc rule file
  • Tree canary: 53 entries (clean)
  • CI green on docs-only PR + no scope-mismatch threads

🤖 Generated with Claude Code

…n m-acc rule (audit #4031 follow-up)

Peer-Otto-Desktop's #4033 covered 3 of 5 audit findings + correctly
identified one mis-attribution (my #4031 audit said the
classifier-caught-otto memo was cited in
holding-without-named-dependency rule; it's actually in
persistence-choice-architecture rule — peer's "stale audit anchor"
catch was right).

The shadow-star-shorthand-autocomplete-marker.md case was correctly
SKIPPED by peer's #4033 because that rule already has good user-scope
disclosure at line 78.

BUT the same memory file is also cited inline in
`m-acc-multi-oracle-end-user-moral-invariants.md` line 191 — a second
citation site my original audit's `sort -u` dedup hid. Peer-Otto-Desktop
didn't pick this up because they followed my audit list directly.

Fix: add Option B disclosure inline, pointing cold-boot agents at the
in-repo shadow-star-shorthand rule that names the shorthand
definitively.

Audit-method gap revealed: future audits should track ALL rule→file
edges, not unique file paths. Filed for future-Otto consideration.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 17, 2026 04:07
@AceHack AceHack enabled auto-merge (squash) May 17, 2026 04:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR cleanly re-lands a documentation/rule clarification for the m/acc rule, adding citation disclosure for a user-scope-only memory reference and pointing cold-boot agents to the in-repo shorthand rule.

Changes:

  • Adds Option B disclosure for the feedback_aaron_shadow_star_shorthand_* memory citation.
  • Points fresh-checkout readers to the in-repo shadow-star-shorthand-autocomplete-marker.md rule.

@AceHack AceHack merged commit c39a2c6 into main May 17, 2026
28 of 30 checks passed
@AceHack AceHack deleted the memo/m-acc-shadow-star-disclosure-r2-2026-05-17 branch May 17, 2026 04:09
AceHack added a commit that referenced this pull request May 17, 2026
…bstrate surfaces (systemic, not rule-local) (#4041)

Audit #4031 found 5 dangling rule→memory refs in .claude/rules/.
Extending the audit to 4 other substrate surfaces revealed 29 total:
1 skill, 8 research, 17 backlog, 3 persona — 6× scaling.

User-scope auto-load makes citations resolve transparently for Aaron's
Otto-CLI; cold-boot agents on fresh checkouts (different machine, new
contributor, CI agent) follow the citations and find nothing.

Not P0 — system works for Aaron. But 29 vs 5 changes priority calculus.
Filed as substrate-engineer candidate: `tools/hygiene/audit-dangling-
memory-refs.ts` + CI integration would mechanize the discipline.

Audit-method gap also documented: original audit's `sort -u` dedup hid
multi-citation edges (caused #4036 to miss a citation site that #4038
r2 had to back-fill). Better audit form tracks file:line pairs, not
deduplicated filenames.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants