The guide learns the thread it was silent on, and grows a vendor-neutral twin
CLAUDE.md bumps to v14: a new Comments section teaches the comments/ mechanics (chronology-as-ordering, author vs modified-by, .draft/.trash as the app's, retract-by-follow-up), and a new "Use the thread: journal your work" section teaches conduct the guide never had — body is the spec, thread is the journal, post a plan cold-reader-ready on start, decisions as they're made, questions as comments, re-read before resuming, close with verification. comments/ leaves the reserved-tracker-keys list; the Layout diagram gains comments/ and AGENTS.md. The app now writes a byte-identical twin at AGENTS.md, the vendor-neutral name most non-Claude tools read — same lifecycle as CLAUDE.md, decided and healed independently per claimed name, both funneling a markerless foreign file to the single shared CLAUDE.user.md rescue. AgentGuide.install now returns [Displacement]; IntegrityRules.claimedRootNames and BoardStore.refreshAgentGuide cover both names; ChangeNarrator's guide-commit path check widens to both. DESIGN/08-agent-integration.md amends: the agent-guide section gains the Comments and Use-the-thread bullets and an AGENTS.md twin paragraph. Claude-Session: https://claude.ai/code/session_014PtZdPwqZuqEDLc6wZMtEy
This commit is contained in:
@@ -89,6 +89,11 @@ struct IntegrityReservedNameTests {
|
||||
#expect(guide.expected == .file)
|
||||
#expect(guide.displacesSquatters)
|
||||
|
||||
// The AGENTS.md twin (ruled 2026-08-09): claimed on the identical terms as CLAUDE.md.
|
||||
let agentsTwin = try #require(IntegrityRules.claimedRootNames.first { $0.name == "AGENTS.md" })
|
||||
#expect(agentsTwin.expected == .file)
|
||||
#expect(agentsTwin.displacesSquatters)
|
||||
|
||||
// The standing exception: a rescue *destination* is never itself freed by a second
|
||||
// displacement, which would cascade renames (08-agent-integration.md ▸ Ownership).
|
||||
let userFile = try #require(IntegrityRules.claimedRootNames.first { $0.name == "CLAUDE.user.md" })
|
||||
|
||||
Reference in New Issue
Block a user