Local implementation issues, PRDs, and exploration maps for repository automation skills live as Markdown files under .scratch/.
- One feature per directory:
.scratch/<feature-slug>/ - Feature PRD:
.scratch/<feature-slug>/PRD.md - Implementation issues:
.scratch/<feature-slug>/issues/<NN>-<slug>.md, numbered from01 - Triage state: recorded on a
Status:line near the top of each issue file (seetriage-labels.mdfor valid state strings) - Discussion log: appended to the bottom of the file under a
## Commentsheading
Create a new Markdown file under .scratch/<feature-slug>/ (creating the directory if needed).
Read the Markdown file at the referenced .scratch/ path or issue number supplied in the prompt or commit message.
For multi-step exploration efforts organized around a map with one child ticket per question:
- Map:
.scratch/<effort>/map.md— holds the Notes, Decisions-so-far, and Fog body. - Child ticket:
.scratch/<effort>/issues/NN-<slug>.md, numbered from01, with the question in the body. AType:line records the ticket type (research/prototype/grilling/task); aStatus:line recordsclaimed/resolved. - Blocking: a
Blocked by: NN, NNline near the top. A ticket is unblocked when every file it lists isresolved. - Frontier: scan
.scratch/<effort>/issues/for files that are open, unblocked, and unclaimed; lowest number wins. - Claim: set
Status: claimedand save before starting work. - Resolve: append the answer under an
## Answerheading, setStatus: resolved, and append a context pointer (gist + link) to Decisions-so-far inmap.md.