"I just installed guild. How do I make it remember something?"
You have a house rule: no em dashes in generated text. You also know
there is cleanup work ahead — existing docs almost certainly have
violations. You want every future session to automatically carry both:
the rule (so agents stop producing em-dashes) and the task (so the
cleanup does not fall off your radar). One lore_inscribe(kind=principle)
captures the rule. One quest_post files the task. Both surface
together on the next session_start.
session_starton a cold project (empty oath, no briefing, no bounties — day-one state, not an error)lore_appraisewith zero results — teaches the appraise-before-inscribe discipline even when the domain is emptylore_inscribe(kind=principle)— stores a rule that auto-loads every future sessionquest_post— files a concrete task to the board- A second
session_start— the oath wall carries the new principle AND the top bounty surfaces the audit quest; two feedback loops firing from a single call
./setup.sh— creates the sandbox project- Paste PROMPT.md into your MCP-enabled agent (Claude Code, Codex, Cursor, etc.)
./teardown.sh— cleans up when done
- First
session_startreturns an empty oath, no bounties, no briefing — the cold-start baseline. lore_appraise "style rules"returns nothing — confirms no prior art exists before writing.lore_inscribecreates the principle and returns its LORE-N ID.quest_postfiles the audit task and returns its QUEST-N ID.- Second
session_startshows1 oath(s) swornlisting the no-em-dashes rule AND the audit quest as the top bounty — two feedback loops firing from a single call.
Reference snapshots live in expected/.
| Primitive | Role |
|---|---|
session_start |
Bootstrap session; surface oath + briefing + top bounty |
lore_appraise |
Search before writing; normalizes the empty-result case |
lore_inscribe(kind=principle) |
Write a rule that auto-loads every future session |
quest_post |
File a concrete task; surfaces as top bounty in the next session |
- 04-session-handoff — once principles are in
place,
quest_briefhands session state to the next agent