/4d: a kickoff brief before building
Write a brief for $ARGUMENTS (if empty, ask the user what to brief, in one plain question). Base every line on what the user said, the code and the docs. Mark anything you inferred as assumption, and anything still unknown as open. Ask about open items in free text; don't fill them in by guessing.
Scale it. For a small question, write one line per D. For a build, fill in the full template below. Never pad it: an empty field reads "not needed", with the reason.
The template
1. Delegate: what we are doing, and who does what
| Item | Answer |
|---|---|
| Goal (one sentence, an outcome rather than an activity) | |
| Why now / what it unblocks | |
| Feasibility: what already exists, what is new, the hardest unknown | |
| Timeline: chunks, each one built and verified before the next | |
| Resources: data, accounts, access, tools, budget (including paid API calls) | |
| Who does what: Claude / the user / subagents / others (for example "the user runs tests and pushes") | |
| Out of scope |
2. Description: what good looks like
- Product: what will exist at the end (files, commands, pages), with its inputs and outputs.
- Process: the steps and the order, and the constraints to respect (house rules, privacy, things that are frozen).
- Performance: how Claude should work on this: when to ask and when to act, the level of detail, and when to stop and report.
3. Discernment: how we will judge it, agreed before building
- Ground truth: what the output is compared against (a bill, a golden set, an expert, a spec).
- Checks, cheapest first:
- deterministic checks (tests, sums, schemas, string matches);
- a rubric of testable statements ("states X", "totals equal Y"), never "is good";
- a human review where judgement is needed;
- an LLM judge only when it has been checked against human labels.
- Pass bar: the number or condition that counts as done (for example, residual under N%, all suites green).
- Known ways it can look right but be wrong, and how we will catch each one.
See discernment.md beside this file for the research behind these checks.
4. Diligence: what the user can defend
To fill in at the end (and to draft at the start as the risks expected):
- Decided: each choice, and the reason for it.
- Rejected: each alternative, and why it was rejected.
- Risks: what could go wrong, and what we will watch.
- Unverified: anything not yet checked, stated plainly.
- Safety: credentials, personal or health data, cost exposure, and anything that is hard to undo.
- The senior version: three sentences the user could say to a senior engineer.
After the brief
- Show it to the user and wait for their changes. Don't start building on an unapproved brief.
- If the project keeps a design or build log, record the approved brief there (for example under Decisions). Don't record it in the repo's own docs.
- Teaching: point out one place where the user could have written part of this brief themselves, and how.