---
name: breakpoint
description: Use when the user wants a plan stress-tested, is starting a large feature, or says "interview me" — interview them until shared understanding is reached, before any code runs.
---
# Breakpoint
Before code runs, execution pauses here. A disciplined interview to reach **shared understanding** before a single line of code is written — like a debugger breakpoint, nothing past this line executes until the state is inspected and approved. The agent is not trusted to guess what the user means — and the user is never asked for facts the agent can look up.
## Class scaling (lightweight-tna L6)
The interview is mandatory for class `loop` work — multi-stage, multi-file, or spanning many turns. Class `full` work does **not** auto-interview: the router's goal-restatement (AGENTS.md §4) is the lighter gate — restate the goal in your own words, and only if the restatement exposes genuine ambiguity or the user asks do the interview rounds run. A `full` task whose restatement is clean proceeds straight to the split proposal.
## Process
1. **Build the decision tree.** Every decision branches into dependent decisions. Map it first — don't ask randomly.
2. **Ask per frontier.** The *frontier* = every decision whose prerequisites are settled. Ask the entire frontier in one round, numbered, each with **your recommended answer** (mark it with `➡️`). Separate rounds with `---`.
3. **One round = one frontier batch.** Wait for answers before the next round. Unstructured question dumps are bewildering.
4. **Done when the frontier is empty** — inspection complete, execution may resume.
## Division of labor
- **Facts are the agent's job.** If a fact can be found by exploring the environment (filesystem, tools, codebase), look it up — don't ask the user.
- **Decisions are the user's job.** Put each decision to the user and wait. Never decide on their behalf.
## Recording variant — when decisions should be recorded
*(Absorbed from the scribe skill, lightweight-tna L2 — same interview, extra paperwork.)*
When the work warrants a decision trail, record while the conversation runs — at the moment each decision is made, never batch-written at the end:
- **Architecture/scope decisions** → one ADR file at `docs/adr/NNNN-<slug>.md` (format: Context, Decision, Consequences).
- **New/ambiguous domain terms** → add to the glossary in `CONTEXT.md` with a one-two sentence definition.
- If `CONTEXT.md` or `docs/adr/` doesn't exist yet, create it when the first decision appears — don't create empty scaffolding upfront.
## When the frontier empties: spec export
The interview converging is not the end of the pause — for class `loop` work the next artifact is the written spec. Load [spec-export.md](spec-export.md) and synthesize: the conversation is the source document, the spec is its export. Synthesis asks no new questions — undiscussed decisions land in Open Questions, untouched. For class `full` work the export is usually overkill; the interview transcript itself carries the decision.
## Serialize at pause — state survives the stop
<!-- ‹guest · 2026-12-06› -->
A breakpoint stops execution; what makes the stop *resumable* is the state written down **before** the pause. Before stopping to wait for the user (or any gate), record the full resume point:
- **Position** — where in the chain/work the execution halted (which step, which frontier questions are open).
- **State** — what exists so far: artifacts, decisions made, tickets/blockers settled, evidence gathered.
- **Deferred work** — what has not started but is queued behind this pause (see slice-it's deferred-queue rule (decomposition.md)).
- **Next action** — the single smallest step that resumes correctly.
Write this to the ledger (or the shared state file) at pause time — never reconstruct it at resume time from memory. A pause that serializes its state is a checkpoint; a pause that doesn't is a conversation break. Resume reads what was written, not what is remembered.
## Question delivery — interactive by default
Every user-facing question is delivered through the harness's **interactive question mechanism** — one structured prompt per frontier round, each question carrying concrete options with one recommended default the user can accept or override. This is the repo's default, not a stylistic choice: a question the user must hunt for inside a prose wall gets answered later, partially, or not at all — the same silent-failure class as any rule left to runtime initiative.
**Harness-agnostic fallback:** if the harness has no interactive question mechanism, deliver the frontier as a numbered list with a recommended answer per item (the `➡️` convention above). The *content* contract (one frontier per round, every question carries a recommendation, the user's confirmation resumes execution) is identical in both channels; only the delivery mechanism follows the harness. Portability precedence: `docs/compatibility.md`.
## Iron Law
```
DO NOT ACT until the user confirms shared understanding.
```
The user's confirmation of shared understanding is the only command that resumes execution past this breakpoint.
### What does NOT count as confirmation
| Response | Why it isn't a yes |
|---|---|
| "Whatever you think" / "Up to you" | Delegates the decision back — put it to the user explicitly |
| "Looks good" without specifics | Approves nothing in particular — name what was approved |
| Silence, or moving to another topic | Not an answer — re-ask the open frontier |
| Answering one question of a batch | The rest of the frontier is still open |
## Rationalization table
| Excuse | Reality |
|---|---|
| "It's a simple question, just answer it" | Even simple questions need context; a 2-minute pause is cheaper than building the wrong thing |
| "The user obviously wants X, I'll just build it" | A wrong guess = a whole feature built in the wrong direction |
| "I'll ask questions as I go" | Decisions asked mid-implementation = rework |
<!-- ‹guest · 2026-12-06› -->
| "The spec already covers everything" | Specs cover decisions someone already thought about; unhandled frontier decisions are written nowhere |
## Red flags — STOP
- Asking about something you could look up in the codebase yourself
- Making a user decision without asking
- Moving to implementation without explicit confirmation
- Question rounds without numbers or recommended answers
این نسخه با نشانهگذاری اختصاصی حساب شما نمایش داده میشود. برای نصب سریع، به تب نصب و راهاندازی بروید.