Documentation Structure
Where Quack writes the project's memory: INDEX.md, diary, gotchas, decisions.
Quack keeps the project's memory in plain Markdown inside documentation/, so
the next chat starts from files instead of a long history.
| Folder | Written by | Read by |
|---|---|---|
INDEX.md, index/ | /quack:index, refreshed every session | Claude and Marco, before opening files |
diary/ | Dante (quack:scribe), one bullet per change | The session start hook: a fresh chat gets the last 10 lines |
gotchas/, decisions/ | Dante, one fact per file, numbered after the highest NNN | Claude, when the session rules send it to documentation/ first |
Every diary, gotcha and decision file starts with YAML frontmatter:
Dante never writes secrets: keys, tokens, passwords.
If you already have a docs system
Some setups already keep a "brain" for agents, for example a file compass
like AST.md plus a two-level knowledge store. Quack's INDEX.md plays the
same role as such a file compass, in PageIndex style: a tree first, then the
branch.
Keep one map, not two
Quack does not detect AST.md or other maps. If your project already has one,
either use /quack:index and retire the old map, or skip /quack:index and
keep yours. Two maps cost tokens twice and drift apart.
The diary, gotchas and decisions folders use common names on purpose: if your project already uses them, Dante appends to what is there.