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:
@@ -30,16 +30,18 @@ import Testing
|
||||
|
||||
/// A one-lane, one-card board, ready for whatever the test wants to leave beside `index.md`.
|
||||
///
|
||||
/// It carries a **current agent guide** and the **seeded `.gitignore`**, which is what any board the
|
||||
/// app has opened once looks like (08-agent-integration.md ▸ The agent guide; 06-history-undo.md ▸
|
||||
/// Repository hygiene). Without them the store's own scheduled heals — the guide refresh and the
|
||||
/// seed, which run on every successful reload beside this file's relocation — would write those two
|
||||
/// files on the first reload and open brackets of their own, and the bracket counts below would stop
|
||||
/// being claims about the relocation.
|
||||
/// It carries a **current agent guide, at both claimed names**, and the **seeded `.gitignore`**,
|
||||
/// which is what any board the app has opened once looks like (08-agent-integration.md ▸ The agent
|
||||
/// guide; 06-history-undo.md ▸ Repository hygiene). Without them the store's own scheduled heals —
|
||||
/// the guide refresh (both `CLAUDE.md` and its `AGENTS.md` twin) and the seed, which run on every
|
||||
/// successful reload beside this file's relocation — would write those files on the first reload and
|
||||
/// open brackets of their own, and the bracket counts below would stop being claims about the
|
||||
/// relocation.
|
||||
private func makeCardBoard(gitignore: String = BoardWriter.gitignoreSeed) throws -> WriterFixture {
|
||||
let fixture = try WriterFixture()
|
||||
try fixture.item("", Item.board)
|
||||
try fixture.file(AgentGuide.filename, Data(AgentGuide.content.utf8))
|
||||
try fixture.file(AgentGuide.agentsFilename, Data(AgentGuide.content.utf8))
|
||||
try fixture.file(IntegrityRules.gitignoreFileName, Data(gitignore.utf8))
|
||||
try fixture.item(Ident.lane1, Item.rich(order: "1024", title: "Todo"))
|
||||
try fixture.item("\(Ident.lane1)/\(Ident.card1)", Item.rich(order: "1024", title: "Fix login"))
|
||||
|
||||
Reference in New Issue
Block a user