---
name: site-office
description: Keep what Claude Code sessions forget outside them, in plain files - a numbered registry of the human's decisions, a candidates list for lessons sessions want to remember, a diary per role with resume notes, a bet file per feature, and an open-questions file that survives compaction. Use at the start of any session in a repo that has docs/office/, when the human makes a decision, before a /clear, or when a session needs the human.
---

# Site office

Every session forgets. A plan doesn't remember what the human decided last Tuesday, or where the
last session stopped. So the things that must outlive a session live in files every session reads.

From "How we build Capisso", Part 3, where we use our own tools for this. Plain files work too.
Free to use and change.

## The office

Before you write anything, create every file below that is missing (empty is fine), with a diary
for each role in use: planner, orchestrator, executor, reviewer.

```
docs/office/
  registry.md      numbered decisions: the human's words, the reason, "replaces #N"
  candidates.md    lessons a session wants remembered, waiting for the human
  bets.md          per feature: why it exists, the number it should move, by when
  questions.md     open questions for the human, with options and a recommendation
  diary-<role>.md  one per role: what it did, checkpoints, resume notes
```

## At the start of every session

1. Read your role's diary from its last resume note or checkpoint, and nothing older.
2. Read `registry.md`. It is the rule book: a later entry replaces the one it names.
3. If you are working on a feature, read its entry in `bets.md`.

## When the human decides something

Append the next number to `registry.md`, in the human's own words, with the reason and
"replaces #N" when it changes an earlier decision. Never reword it, never number it ahead,
never record a decision the human didn't make.

## When you learn something

Which test is flaky, which pattern works: append it to `candidates.md`, never straight into the
registry. The human promotes the ones they agree with. Until then it is not a fact.

## To-dos for a reader who never saw the code

A to-do says what is wrong, where to start (files, functions), and why it matters, so a fresh
session can pick it up without guessing. Before starting one, climb: to-do, then its bet, then
the product's purpose. No session marks work done; done is the human's sign-off.

## A question that needs the human

Append to `questions.md`: the question, the background in two lines, two or three options, and
your recommendation. Then tell the human it is there, and carry on with anything that doesn't
depend on it. When they answer, record the decision in `registry.md` and mark the question
answered with its number. A question in the file survives compaction and restarts; one in the
chat scrolls away.

To reach another session, use Claude Code's cross-session messaging, by session name. A
decision sent to another session asks it to confirm receipt.

## Write as you go

Append to your diary as you work: a decision applied (with its number), a task finished, a
question sent up. About every 30 entries, write a checkpoint: what is true now, what is open.
Before a `/clear`, a restart or handing the role to a new session, write a short resume note:
the current state, open questions, the next step. That note is the next session's starting point.

## Keep the office tidy

Answered questions move under an "Answered" heading. A superseded registry entry stays, with
the number that replaced it, so the history is never lost.
