docs/repo-cleanup-pass #103
No reviewers
Labels
No labels
auth
bug
composer
correctness
database
durability
enhancement
feeds
interactions
notifications
performance
reliability
safety
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starsetbyte/peregrine!103
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/repo-cleanup-pass"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Brings the repository's recorded state into agreement with its actual state at
9e2d705, and prepares the branch/PR debt for retirement. No production code changed.The problem was authority drift: several competing descriptions of the same repository, each written from another document rather than from source.
AGENTS.mdstill asserted the PDS was hardcoded tobsky.social— the limitation OAuth removed.CLAUDE.mdtold readers no CI workflow file existed when.forgejo/workflows/ci.ymlis checked in and authoritative. Three documents reported three different test counts, none of them current. The design specification existed only in an ephemeral cache directory.What changed
~/.hermes/cache/. SHA-256 verified against a manifest before and after copy.mainon July 11), with a sourced re-verification table naming the four AT Protocol sources checked on 2026-07-25reviews/folded intodocs/reviews/;docs/superpowers/{plans,specs}dissolved intodocs/{plans,specs}. 34 files moved viagit mv, 46 path references repairedCurrent guidance,Historical record,Reference/evidence,Superseded— plusdocs/README.md, a 75-row indexAGENTS.mdCLAUDE.md. A pointer cannot drift.CLAUDE.mdREADME.md9e2d705docs/reviews/2026-07-25-branch-pr-reconciliation.md— 58 branch rows and 10 PR rows, each with its safety command and that command's outputVerification
app/,gradle/,.forgejo/, or any build file.tests=710 failures=0 errors=0 skipped=0 classes=92— identical to the pre-pass baselineDefects caught in review
Five, none of which the obvious check would have found:
CLAUDE.mdasserted "every mute/block mutation usesupdate {}". False —muteThread/unmuteThreaduse plain read-then-write. Corrected to state what the code does, and why the thread-mute pair is deliberately different.Historical recordwhile still executing.Two of these originated in the plan rather than the implementation. Both are corrected in the plan as well, so a re-run cannot reintroduce them.
Not in this PR
docs/pr-review-remediation-plan's content reachesmainonly through this merge — its own commits are not ancestors ofmain. Branch deletion is deliberately gated on this PR landing; deleting it beforehand would destroy the only copy.Branch and PR cleanup (56 deletions, 10 PR actions) is a separate follow-up, authorized by the ledger and gated on this merge.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MQ56Mh1F6otBp3a4pRWm5Y
Folds root reviews/ into docs/reviews/ (5 documents) and docs/superpowers/{plans,specs}/ into docs/{plans,specs}/ (36 documents). One tree, one place per kind of document. Repairs 31 stale path references across 15 files. These live in inline code spans rather than markdown links, so a link-only sweep would have missed every one of them - the repository's entire markdown-link surface is two links, both into docs/reviews/, both unaffected by these moves. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>9e2d7050cfa17bc66The plan asserted "every mute/block mutation uses `update {}`, never read-then-write." False: ModerationActionsRepository's muteThread and unmuteThread use plain `.value = .value +/- rootUri`, reverts included. Only the six account mutations use update{}. The bullet contradicted itself two lines apart, since its own next clause correctly excluded the thread-mute pair from the hydrationMutex. Caught in review by checking the claim against the Kotlin rather than against the brief - the documents-citing-documents failure this pass exists to remove, reproduced inside the pass. Corrected here and in CLAUDE.md so a re-run cannot reintroduce it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>