Skip to content
Back to skills

Interviewing Baseline

ASecurity

Shared interviewing protocol for every interviewing surface (the /intake stages, plan-interview, grill-me). Provides the interview loop rules and the Decision Ledger contract — schema, provenance enum, explicit-empty form, and the intake receipt.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentsrustgobashreactexpressgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add manoldonev/second-shift --skill interviewing-baseline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Interviewing Baseline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Interviewing Baseline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/manoldonev-interviewing-baseline/badge)](https://www.skillsdirectory.com/skills/manoldonev-interviewing-baseline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: interviewing-baseline
description: Shared interviewing protocol for every interviewing surface (the /intake stages, plan-interview, grill-me). Provides the interview loop rules and the Decision Ledger contract — schema, provenance enum, explicit-empty form, and the intake receipt.
---

# Interviewing Baseline Protocol

This skill defines the shared protocol that ALL interviewing/elicitation skills follow, the same way `review-toolkit:reviewer-baseline` unifies the reviewer agents. It exists so loop rules and the Decision Ledger contract live in exactly one place.

**Canonical source notice:** this file is the single source of truth for the Decision Ledger schema, the provenance enum, and the intake-receipt contract below it (Kind axis, open regions, surface inventory, checks, design frames, fan-out, knowledge source, receipt versions, intake steps, departures). Every other site that restates them (`plan-interview/tools/ledger-lint.sh`, this plugin's `hooks/exitplan-ledger-gate.sh` via that lint, `review-toolkit:plan-reviewer`) carries a mirror marker and must be updated in lockstep when this section changes.

## Interview Loop Rules

Rules for every interviewing turn, regardless of which skill is running:

1. **Explore first.** If a question can be answered by reading the codebase, the repo's docs, or ADRs (Grep/Glob/Read, or the impact map `/intake`'s Split stage made when it ran), answer it yourself instead of asking. Asking the user a codebase-answerable question is a protocol violation. The one exception is `/intake`'s: a choice of architecture that the ticket states is asked, even when the code or an ADR answers it (`interview.md`, "The ticket's architecture").
2. **Ask every decision that is ready, each as its own question.** A turn may carry every decision that does not depend on an unanswered one. Each decision is its own question with its own answer. A decision whose options depend on another answer waits for that answer. When a turn holds more questions than one `AskUserQuestion` call takes, use more than one call.
3. **A decision question gives the user what they need to decide.** A *decision question* asks the user to choose between ways of doing the work. Scope and ownership questions are decision questions. A *fact question* asks for a fact about the system or the team, not for a choice. A decision question carries, in this order:

   1. **Why it is asked**: what in the ticket or the code forces the choice. Cite the file and line in the question text itself.
   2. **Two to four viable options.** Every candidate that the ticket or the user names is an option of its own, even a weak one: its consequence says why it is weak. Never merge two named candidates into one option. When only one option is viable, say so and ask for confirmation. When five or more are viable, offer the four strongest, and name each dropped option and why it was dropped in the question text.
   3. **Each option's consequence**: what it changes, what it costs or risks, and who else it touches. Give all three for every option. When an option touches nobody else, say so.
   4. **The recommendation and its reason**, marked as yours. Recommend only what the user's input, the codebase or the repo's docs ground, and cite the grounding. When nothing grounds a recommendation, do not guess: still give the reason and each option's consequence, then say that there is no recommendation and which fact is missing.

   **The option that adds no mechanism.** When a decision question's options add a unit of mechanism (`plan-interview`, "Size the mechanism to the need"), one option is labeled "No new mechanism". It names the thing the repo already has that almost does the job, at `path:line` with `run:` evidence. Its consequence says what the ticket's outcome loses if that thing is used. Its position is not fixed: rule 4's recommended-first order stands. A ticket-named option that already reuses an existing thing carries the label, and no duplicate option is added. The option counts toward the four of item 2 and ranks above options you invented. It does not outrank an option the ticket or the user names, or `plan-interview`'s replace-the-primitive option, which is protected the same way. When protected options fill the four, it goes in the question text with what it loses. When nothing in the repo does the job, the question text says so and gives the search you ran. That disclosure takes no option slot.

   **One decision, one question.** Candidate approaches that the ticket already names are options of that one question, not questions of their own. A sub-question that applies only after an option is chosen is asked after the choice.

   A fact question stays short and carries no consequences. It may offer labeled answers, as `/intake`'s Requirements stage asks for reporter-owned facts. "Ask plain" applies to fact questions only. (Reporter-owned facts — environment, frequency, business intent — are rarely groundable; design decisions almost always are.)
4. **In `AskUserQuestion`, each part of a decision question has its place.** The reason goes in the question text. Each option's consequence goes in that option's `description`, and no option has an empty description. The recommended option is first, with `(Recommended)` in its label. With no recommendation, no option carries that label, and the question text says which fact is missing. The text above the dialog is at most one sentence, because the dialog hides the text above it. A decision question in plain text carries the same four parts in the same order.
5. **Never re-ask.** A question answered earlier in the session — or already resolved in the artifact under discussion — is settled. If the user declines to answer, record it (`TBD` in a ticket draft; `deferred` in a Decision Ledger) and move on. Two exceptions, both in `/intake`'s `interview.md`. A fan-out pool item that contradicts the answer is shown beside it, and the question is asked once more. The second answer stands ("A late finding"). A choice of architecture that the ticket states is asked, because the ticket's text does not settle it ("The ticket's architecture").
6. **"Your call" is a valid answer.** When the user delegates a decision, record the recommendation as the resolution with provenance `user-delegated` — do not re-open it later. When the question had no recommendation, choose the option that is cheapest to reverse, record it as `user-delegated`, and name the missing fact in the Resolution. When no option is cheap to reverse, record the decision as `deferred`, with the missing fact, its owner and when it must be resolved. The late-finding exception of rule 5 covers a delegated answer too.
7. **Disambiguate domain nouns before drafting.** A noun with >1 plausible schema referent (`git grep` over the repo's data-schema definitions, plus adjacent service interfaces) is forced to a choice by question — never picked by word-similarity.
8. **No draft-first (P8).** Never present a finished artifact ahead of the decisions it encodes. Nobody holds a complete picture of what they want until something concrete pushes back, and a full draft pushes back on everything at once: the human is reduced to correcting a fait accompli, and the decisions they would have made differently arrive as edits instead of choices. So: **the agent proposes per decision, the human disposes per decision**, and the artifact is *assembled from ledger rows* once they exist. A draft is legitimate as the residue of decided rows — never as the opening move, and never as a way to "give them something to react to."

   **Batch-blessing is the same violation wearing an interview's clothes**, and it is named here because it does not look like a draft: collapsing N open decisions into a table of agent-chosen defaults and asking for one blanket approval. It reads as a turn — there are options on the screen, the human answers — while being the exact inverse of one, because a single "looks fine" cannot distinguish the rows they actually considered from the rows they skimmed. It *manufactures* agreement instead of reaching it. Presenting many resolved rows for the record is fine; presenting many *unresolved* ones for one approval is not. If a batch is genuinely uncontroversial, that is a claim the rows are immaterial — drop them from the register (rule: don't pad it) rather than blessing them wholesale.

9. **Tell a request to clarify from pushback on the round.** Two cases:

   - **A request to clarify one question** ("I don't understand, elaborate?"): put that question again in the shape of rule 3, in plain words, and add nothing. Putting it again is not a re-ask under rule 5.
   - **Pushback on the round itself** ("you're one-shotting this", "that's not what I asked") means WIDEN, not narrow. The reading is that the register is wrong or too shallow, not that the user is tired of questions. The move is to slow down and widen the surface under discussion; shrinking the question set, or answering the pushback with a defaults table, is the failure this case exists to name. Fatigue looks different: the user answers, briefly, and asks you to get on with it.

## The Decision Ledger

<!-- canonical: interviewing-baseline provenance enum — all mirrors keep verbatim -->

The ledger records every decision an interview makes, and who made it. It is a mandated `## Decision Ledger` section in the implementation plan (or, for a pipeline ticket, in the intake receipt `/intake-toolkit:intake` writes to `.claude/pipeline-state/{issue}-ledger.md`):

```
| ID  | Decision | Resolution | Provenance |
| --- | -------- | ---------- | ---------- |
| D-1 | Uniqueness of a document fingerprint per user | A partial unique index on (userId, fingerprint). A duplicate is refused at write time | user-answered |
| D-2 | 404 or 409 on a duplicate import | 409. The document already exists | user-delegated |
| D-3 | DTO validation library | class-validator. This is the repo convention (CLAUDE.md) | codebase-derived |
| D-4 | Backfill order for historical records | Deferred to the next milestone. Owner: the reporter | deferred |
| D-5 | Maximum import size | 50 MB. The operator set it in https://github.com/acme/repo/issues/42#issuecomment-1234567 | ticket-sourced |
```

**Provenance closed enum** — exactly these five values:

- `user-answered` — the engineer made the call in the interview.
- `user-delegated` — the engineer said "your call"; the grounded recommendation is recorded as the resolution. Rule 6 says what is recorded when the question had no recommendation.
- `codebase-derived` — grounded in code, an ADR, the repo's CLAUDE.md, the Product-Essence Brief, or the consumer's knowledge source; the Resolution cites the source. In a receipt it states its evidence in one of three forms: ``run: `<command>` → <decisive output>`` for a fact you checked, `cited (convention|adr): <path:line>` for one no command can check, or `cited (kb): <kb-page>` for one adopted from the knowledge source's answer (see "Evidence" under "The intake receipt"). A row that records a choice rather than a fact is not `codebase-derived`: ask it.
- `deferred` — explicitly parked, with owner and when it must be resolved in the Resolution cell.
- `ticket-sourced` — the operator resolved it **in a ticket comment** and the run adopted that resolution; or, under a jira tracker, it is a fact the issue's **parent ticket** or a **sibling** under that parent states and the issue does not contradict (Kind `fact` in a receipt). The Resolution cell MUST cite the comment, or that ticket, by URL (`https://…`) — an uncited row is an assumption wearing a label, and the lint rejects it.

`assumed` is **not** a legal value. An assumption either gets asked, grounded, or deferred explicitly — the ledger makes a silent assumption a lint error instead of a style problem.

**Rules:**

- IDs are stable `D-1..n` and never reused after retirement (same discipline as `AC-n` IDs).
- Resolution is never empty. Write it as the answer: the chosen value first, then the reason. Use sentences of max 25 words. Never split one decision into several rows to make the cells shorter. Keep a cell to 40 words when no condition is lost. A cell can be longer only to keep a condition. Put each condition in its own sentence. Evidence, and the `Inputs:`, `Outputs:` and `Errors:` sentences of a contract row, do not count toward the 40 words. Options go in the `Options weighed:` list below, not in the cell.
- **Options weighed.** Under the table, write an `Options weighed:` list with one bullet per row that was put to the user as a decision question (rule 3), in this literal form:

  `- D-n: (a) <option> — <its consequence as shown>; (b) <option> — <its consequence as shown>. <the decider that the Provenance cell names> chose (a) because <reason>.`

  Give every option that was shown, each with its letter, and name the chosen option by its letter. On a row whose options add a unit of mechanism, the bullet labels the "No new mechanism" option and says what it loses. When that path was not shown as an option, one unlettered clause follows the lettered options: `No new mechanism: in the question text — loses <x>` or `No new mechanism: none found — search <cmd>`. A fact row gets no bullet. The list does not bind the build: only the rows do.

  From receipt v6 the lint enforces the list. Every `intent` row with provenance `user-answered` or `user-delegated` needs a `- D-n:` bullet at the start of a line, inside the Decision Ledger section. The row's first bullet names at least two lettered options. Only a lowercase `(a)`, `(b)` marker counts as an option. Two other forms pass. A user's answer to a fact question is `- D-n: fact question — <answer>`. A confirmed single option has one lettered option and the words `only viable option`. A `ticket-sourced` row needs no bullet, because the comment it cites shows the options.
- **Precedence when sources disagree:** a row hydrated from a pre-flight `.claude/pipeline-state/{issue}-ledger.md` wins over a ticket comment covering the same decision. Two comments that conflict, or one that is ambiguous, resolve to `deferred` naming the conflict in the Resolution cell — never to a `ticket-sourced` row that picks a side. The issue's own text ranks above its parent ticket's text. Where they conflict, recommend the issue's text and ask the operator, quoting the parent's sentence; never settle it with a `ticket-sourced` row.
- **Explicit empty form** for trivial work — the section must still exist, containing exactly this line instead of a table:

  ```
  No decisions to record. The code settles every choice.
  ```

## The intake receipt

The ledger above is what an interview leaves behind. The **receipt** is what INTAKE hands to
BUILD, and it carries one thing the in-plan ledger does not: a claim about *which* rows a human
actually settled. Run `ledger-lint.sh --receipt <path>` over it.

### The Kind axis

Provenance alone cannot express the bar a receipt needs. The failure mode is a row that resolves
intent while wearing a `codebase-derived` label, so any rule keyed on provenance is circular.
Receipt rows therefore carry a fifth `Kind` cell:

```
| ID  | Decision | Resolution | Provenance | Kind |
| --- | -------- | ---------- | ---------- | ---- |
| D-1 | 404 vs 409 on duplicate import | 409 | user-answered | intent |
| D-2 | DTO validation library | class-validator — run: `grep -rl "from 'class-validator'" src \| wc -l` → 41 | codebase-derived | fact |
| D-3 | Backfill ordering | parked under OR-1 (owner: reporter) | deferred | open |
```

| Kind | Legal provenance | Meaning |
| --- | --- | --- |
| `intent` | `user-answered`, `user-delegated`, `ticket-sourced` | the human resolved it, in the session or in a cited ticket comment |
| `fact` | `codebase-derived`, `ticket-sourced` | derived from code, a cited comment or a cited parent or sibling ticket |
| `open` | `deferred` | parked, and mapped to a declared open region |

The provenance enum is unchanged — this adds an axis, it does not fork the vocabulary. The Kind
cell is receipt-only: an in-plan Decision Ledger stays four columns, and the lint enforces the
arity of whichever artifact it was pointed at.

**The bar:** an `intent` row backed by `codebase-derived` or `deferred` names
no human decision, and the lint rejects it. That is how comprehension debt becomes countable rather
than sensed.

### Evidence

A `codebase-derived` row is what BUILD trusts as settled fact, so a receipt row says how it was
settled. A `file:line` alone is a pointer, not a check: line numbers drift, and reading code is
not running it. Write one of three forms in the Resolution cell, after the decided value:

- ``run: `<command>` → <decisive output>`` — you ran it at intake. Run whatever can be run: a grep
  count, `ls`, `git cat-file`, a tool's `--help`. The output is the part that decides the row, not
  the whole dump.
- `cited (convention|adr): <path:line>` — the fact cannot be executed: a convention the repo
  states, or a recorded architecture decision.
- `cited (kb): <kb-page>` — a fact adopted from the knowledge source's answer (the receipt's
  `## Knowledge source`), with the same standing as the Product-Essence Brief: a curated document.
  `<kb-page>` is copied from the `Sources:` list in that answer. Only a fact the code does not
  contradict is adopted this way (see "Knowledge source" below).

```
| D-2 | DTO validation library | class-validator — run: `grep -rl "from 'class-validator'" src \| wc -l` → 41 | codebase-derived | fact |
| D-4 | Soft-delete semantics | a deletedAt timestamp, never a hard delete — cited (adr): docs/adr/0007-soft-delete.md:12 | codebase-derived | fact |
| D-5 | Audit rows on import | retained, never purged — cited (kb): <kb-page> | codebase-derived | fact |
```

`run:` and `cited` take any case, the arrow is `→` or `->`, and a command holding its own
backticks goes in a double-backtick span (``` run: ``grep -c "`" README.md`` → 3 ```). A `|` in
the command or the output is escaped as `\|`, or it splits the row.

There is no fourth reason. A row that records a *choice* rather than a fact — a default the code
does not fix, the name of a new thing — is not `codebase-derived`: ask it, and record the answer as
`user-answered` or `user-delegated`. A row that mixes the two gives `run:` evidence for the fact
behind its choice.

`ledger-lint.sh --receipt` checks these forms only, never that a cited page exists. The one
exception is a row that a `contract` surface cites: there each `cited (convention|adr)` path must
exist in the repo (see "The Surface Inventory"). The in-plan ledger is not linted for them.

### Open Regions

A receipt that declares nothing open is claiming it knows everything that matters. Make the
claim explicit: a mandated `## Open Regions` section, rows or the empty form.

```
| ID | Region | Disposition |
| --- | --- | --- |
| OR-1 | Ordering guarantees for the historical backfill | pause-and-ask |
| OR-2 | Retention window for import audit rows | reversible-default-and-flag |
```

Disposition is a closed two-value enum. `pause-and-ask` stops BUILD and routes the decision
back. `reversible-default-and-flag` means that the build uses a stated default and the record
shows it. Use it only where a later reversal is cheap. Under the table, write an `OR-n default:`
block for each such region. State the default, who chose it, and the cost to reverse it. Every
`open`-kind ledger row cites the `OR-n` it falls under; a citation the section does not declare
is worse than none, because it reads as an owned gap everywhere downstream.

Zero open regions is legal to the lint and a **finding** to `spec-reviewer` on non-trivial
scope — over-claimed completeness is a judgment about scope size, not something a script can
decide.

Explicit empty form, for genuinely trivial scope:

```
No open regions. Every decision in scope is settled.
```

**Put an `OR-n` on every region**, with its disposition token in the row. The scheduler does not
read this section; the build and review sessions do, from the record, and a region with no id or
a disposition stated in prose ("default **no**, flagged") is one neither can cite.

### The Surface Inventory

Open Regions makes the *known* gaps explicit. The inventory is for the other kind: the
surface nobody thought to ask about. A ledger's exit criterion — "the register is empty" —
grades the interview against a register the interview itself chose, so an interview that
never raised the empty state exits satisfied, with a clean lint. The inventory is the
independent axis, a mandated `## Surface Inventory` section on the receipt:

```
| ID | Surface | Disposition |
| --- | --- | --- |
| S-1 | First paint while the list is still loading | decided (D-1) |
| S-2 | Empty state when the user has imported nothing | decided (D-2) |
| S-3 | Print stylesheet for the report | out-of-scope — nothing here is printed |
| S-4 | `POST /imports`, called by the web client | contract (D-4) |
```

Enumerate every screen, route, state and artifact a user or operator ends up looking at —
loading, empty, partial, error, not-found, first paint, the copy on each. Enumerate also every
interface that code outside the change calls or parses: an HTTP endpoint, an SDK or library
method, an event or message, a CLI or script interface (its args, flags and exit codes), and
output that a machine reads. Disposition is a closed three-value enum: `decided` **must cite the
`D-n` that decides it** (an uncited claim that a decision exists is the inventory's version of a
silent assumption), `contract` marks a caller-facing interface and cites the `D-n` that holds its
shape, and `out-of-scope` **must carry the reason**. A listed surface that is none of these is the
gap this section exists to count.

A `contract` surface's shape lives in the cited `D-n` row, never in the `S-n` row, because only
the D-n rows bind the build. The cited row's Resolution carries three labeled sentences:

```
| D-4 | Import create request | POST /imports. Inputs: name (string, required), tags (string[], optional). Outputs: 201 with the import id. Errors: 409 on a duplicate name, 422 on a missing name. | user-answered | intent |
```

`Inputs:` names each input and says whether it is required or optional. `Outputs:` names what
the caller gets back. `Errors:` names each status or error code, or exit code, and when it
occurs. Each label may read `none — <reason>`. The lint checks that the three labels are there,
not what they say, so a label that names no field or code is yours to catch. The lint refuses a contract that cites an `open` row or a
row without all three labels. It also refuses a `cited (convention|adr)` path in that row that
does not exist in the repo, relative to its root. So "mirror X" resolves to a file in this repo, or
the row spells the shape out. A `cited (kb)` pointer is not a repo path and is not checked. A shape
that a repo convention fixes is a `fact` row with its evidence. A shape that is a choice is an
`intent` row with a human decider.

What it buys is bounded and worth stating: it cannot tell you the enumeration was complete.
It turns a surface nobody thought about into a surface nobody *listed* — which a reader and
a script can both see, where the absence of a question is visible to neither.

Explicit empty form, for work with no user-visible surface at all (a lint, a CI change):

```
No user-visible surface — this change renders nothing a user reads.
```

The empty form is wrong when the change adds an interface that other code calls or parses: list
that interface as a `contract` row. The lint cannot see this misuse, so the marking is yours.

**Retry answers.** An HTTP route that the change adds or changes, and that calls an external system
or takes a claim or lease, owes retry answers. It is a `contract` surface even when its only caller
ships in the same change. A worker, an event handler or a command-line tool does not owe them. The
`Errors:` sentence of the route's row then states three things for each failure:

- the status code;
- the stored state that the failure leaves;
- what the same request gets when it is sent again, inside and outside each claim or lease.

The failures are a validation error, a refusal (4xx), an auth error (401 or 403), a 5xx or no answer
from the external system, a crash after the claim, and a concurrent request. A repeat after a success
is listed the same way: it runs again, or it is refused. When the answer depends on which external
call failed, state one answer per call. `Errors:` may run over several sentences:

```
Errors: 422 on a missing address. Nothing is stored. The same request gets 422 again. 409 on a concurrent request. The first request's claim stays. The same request gets 409 inside the 5-minute lease. After the lease it runs again when no result is stored. …
```

### Checks

The scheduler runs the config's `commands.*` against the pushed head, plus the commands in the
receipt's mandated `## Checks` section — read from the record's **first** commit, never the head,
so a build cannot edit its own bar. One command per line, at the start of the line:

```
## Checks

- `bash plugins/intake-toolkit/skills/plan-interview/tools/ledger-lint-selftest.sh`
- yarn test --filter import
```

`- cmd` and `` - `cmd` `` are the two forms the scheduler reads. A bullet it cannot read as one
command — inner backticks, an indent, a `*` bullet — is dropped there without a word, so the lint
refuses it; it refuses a line the scheduler *would* run that is not that form (`---`, `-cmd`) as
well. An absent section is a silent claim that nothing beyond the configured lanes verifies
this change; make the claim explicitly instead:

```
No ticket-specific checks. The configured checks cover this change.
```

### Design frames

On a repo whose config sets `design.provider`, the receipt carries a `## Design frames` section
(`## Design` is read the same way): one row per screen and state the ticket renders, taken from
the design handoff. The scheduler's route smoke renders each row's route in its state and
asserts the `must-show` value is on the screen — it is the record's **only** per-row assertion, so
it is chosen here, at intake: a data-test id or a copy string taken from the frame.

```
| RS | route | state | frame | must-show |
| --- | --- | --- | --- | --- |
| RS-1 | /imports | empty | 815:2201 | Nothing imported yet |
| RS-2 | /imports | loaded | 815:2240 | data-test=import-row |
```

Every cell is filled, and no cell carries a pipe, escaped or not — the scheduler splits the row on
every `|`. A ticket on a provider repo that renders nothing disarms instead, with its
reason — a disarm is a decision, and an undocumented one is indistinguishable from an omission:

```
Design: none — <reason>
```

Neither form on a provider repo, and the scheduler refuses the run (`env-design-undeclared`). The
lint reads the same config the scheduler does (`SECOND_SHIFT_CONFIG`, else
`<repo>/.claude/second-shift.config.json`). Without `design.provider` the section is optional, but
any `RS-n` row that is there is still checked: the smoke reads rows wherever they are.

**Headings, both sections:** the scheduler's rule — the exact title at any depth, any case; any
heading closes the section; the first such section decides. `## Checks to add later` is not the
section.

### Fan-out

The intake fan-out (`review-toolkit/workflows/intake-fanout.mjs`, run by `/intake`'s Explore
stage) hands the interviewer a pool of evidence items: every claim each lens made, each one
`unverified`. The interviewer checks an item from its pointer before it uses it. The receipt's
mandated `## Fan-out` section shows what that pool achieved **over plain intake**, ticket by
ticket, and which lens produced it. This is the v5 form:

- **Tag every item against the snapshot.** Before reading the pool, the interviewer writes down
  its decision register and the facts it holds from the ticket body, the code and the
  spec-reviewer findings. That snapshot is what plain intake would have gone in with. Each pool
  item then gets one tag:
  - `new`: the snapshot lacked it;
  - `already-had`: the snapshot held it, or it is about a question asked before the pool was read;
  - `overturned (<the snapshot claim>)`: it contradicted something the snapshot asserted;
  - `not material`: it does not pass the materiality bar, or its check did not hold.

  Its `Angle` cell names the lens that produced it, and its disposition cell says what became of
  it: `became D-n` (several ids comma-separated), `already had — D-n`, or why it became nothing.
- **Check before use.** A pool item becomes a row, an option or a question only after the
  interviewer checks it from its pointer. The row carries the check in an existing evidence form
  ("Evidence" above) and `From: F-n` in its Resolution, after the evidence, several ids
  comma-separated. A departure sentence, when there is one, still ends the cell. An item whose
  check fails is tagged `not material`, with the disposition `not used — did not hold: <what the
  check showed>`.

  ```
  | D-1 | Import retry on 409 | No retry on 409. run: `grep -n "retry" jobs/import.ts` → 88: retries every status. From: F-1 | user-answered | intent |
  ```

- **Head the section with a `Lenses:` line and a tally.** The `Lenses:` line gives every lens the
  run dispatched: `<key> <model> <claims made>`, or `<key> failed`, separated by ` · `. A lens that
  produced nothing still appears there, so a seat that never moves an outcome shows up in the
  record. The tally counts what the rows show: `rows added` is the number of distinct `D-n` after
  `became` on rows tagged `new` or `overturned`; `snapshot claims overturned` is the number of rows
  tagged `overturned`; `questions added` is followed by the ids of the rows the questions became, in
  parentheses, or reads `questions added 0`:

  ```
  ## Fan-out

  Lenses: retry-semantics opus 5 · storage-limits opus 4 · auth-scope opus 3 · audit-trail opus failed · premortem opus 6
  Tally: rows added 2 · snapshot claims overturned 1 · questions added 1 (D-1)

  | ID | Angle | Claim | Tag | Disposition |
  | --- | --- | --- | --- | --- |
  | F-1 | retry-semantics | The import job retries a 409 without a limit (`jobs/import.ts:88`) | new | became D-1 |
  | F-2 | storage-limits | Uploads over 20 MB are cut at the proxy (`deploy/proxy.conf:12`) | overturned (snapshot: "no size limit applies") | became D-3 |
  | F-3 | premortem | The export list sorts client-side | not material | not material — capped at 50 rows |
  | F-4 | auth-scope | The export route skips the tenant guard | not material | not used — did not hold: the guard is applied at the router |

  ### Snapshot

      | ID | Decision | Resolution |
      | --- | --- | --- |
      | D-1 | Import retry policy | retry until success |
  ```

- **Embed the snapshot verbatim, indented four spaces,** under `### Snapshot`. Indentation keeps
  it a code block: its rows are a register too, and unindented they would read as this receipt's
  own ledger, regions and surfaces.

**A late finding.** An item that contradicts an answer already given is asked once more (rules 5
and 6). It is tagged `already-had`. When the second answer changes the row, its disposition reads
`became D-n` and the row gains `From: F-n`; the tag keeps it out of `rows added`. An item that
contradicts a fact row written after the snapshot is tagged `new`: the row is corrected in place
and gains the link, and the disposition reads `became D-n`.

A pool where no lens made a claim states `Pool: empty — no lens made a claim.` in place of the
rows; the tally, lenses line and snapshot stay. On a split the fan-out runs once for the parent and
its slices: each slice's receipt lists only the items that touch it, names the shared run on a
`Run:` line, and embeds the shared snapshot.

**Receipts below v5** keep the form they were written in: a `Refuter:` line naming the model family
that checked the claims, `claims kept/claims made` on the `Lenses:` line, and `Pool: empty — no
claim survived refutation.` for an empty pool. The lint holds them to that form, and checks no
`From:` link and no tally count on them.

A receipt that ran no fan-out carries exactly one line instead of the section's parts:

```
Fan-out: skipped — by the operator <where, and why>
Fan-out: failed — <what failed>
```

Only the operator skips the fan-out: the skip names them, `by the operator` (any case, followed by
anything that is not a letter or digit — `by the operator;` and `by the operator's` both read so).
A skip in any other name is a stage or a session deciding on its own that the evidence was not
worth gathering, and the lint refuses it under its own violation.

An absent section reads exactly like a fan-out nobody ran and nobody recorded, so the lint
(`ledger-lint.sh --receipt`) refuses it, along with a skip or failure that names no reason, a skip
that does not name the operator, a missing `Lenses:` line, a row with no angle, a tag outside the four, an `overturned` that names no
claim, a disposition citing an undeclared `D-n`, and unindented snapshot rows. On a v5 receipt it
also refuses a `became D-n` whose row has no `From:` naming the finding, a `From: F-n` naming an
undeclared finding or one whose disposition does not say `became` that row, a tally count that
differs from the rows, and a `questions added` id that is undeclared or named after no `became`.
The section's
reader is the operator's consumer read: a later reversal of a decision the fan-out flagged, or of
one it never raised, is how its value is judged, and the angle and lens counts are how a lens that
never contributes is found.

### Knowledge source

A consumer may declare a knowledge provider in `.claude/second-shift/intake-context.md`: an agent
of its own that answers from its knowledge base, lists the pages it read under `Sources:` and
reports what the base does not say. `/intake` dispatches it once per intake, as Requirements'
last act (the `intake` skill owns where), and the receipt's mandated `## Knowledge source` section
records what came back. It carries exactly one of three forms:

```
## Knowledge source

Provider: <plugin>:<provider-agent>

    <the provider's whole answer, every line indented four spaces>

    Sources:
    - <kb-page>
```

```
Knowledge source: none declared
Knowledge source: failed — <the first line of the error, or what is malformed in the declaration>
```

- **The answer is opaque and whole.** `Provider:` names who answered; under it the answer goes in
  verbatim, indented four spaces, as the Fan-out snapshot is. Indented, its own headings, table
  rows and `Receipt:` lines are a code block that no reader of the record takes for this
  receipt's — unindented, a heading in it would end the section, and a `| D-n |` row in it would
  be read as a ledger row. `Sources:` is not required: the answer is the provider's, not a shape
  the lint imposes.
- **`none declared`** — the repo has no `intake-context.md`, or it has no `## Knowledge source`
  section. That is how a consumer opts out; there is no skip form.
- **`failed`** — the dispatch errored (the agent is not installed, disabled, or it failed): the
  section records only the **first line** of the tool's error, because an unresolved agent type's
  error goes on to list every installed agent, and that inventory does not belong in a committed
  record. A declared section that is malformed (no `Provider:` line, or two) is not dispatched and
  records what is malformed. Intake continues either way, and never reads the knowledge base's
  files itself as a workaround.

**Context, not law.** The section is evidence for the interview: only `D-n` rows bind the build.
A fact intake adopts from the answer becomes a `codebase-derived` row citing `cited (kb):
<kb-page>` ("Evidence" above). **An answer that contradicts the code is asked, never picked
silently**: the fact's row is `user-answered` — or `deferred` under a `pause-and-ask` region — and
never `codebase-derived` citing `kb`. The row says which side this ticket follows (a `deferred` row
says the question is parked) and carries a fixed marker naming the page and which side is behind:

- `kb-conflict: <kb-page> (kb stale)` — the page is out of date; the code is right;
- `kb-conflict: <kb-page> (kb ahead)` — the page states a direction the code has not reached.

```
| D-6 | Audit-row retention | 90 days, as the code does; the page is out of date — kb-conflict: <kb-page> (kb stale) | user-answered | intent |
```

On a split, each slice receipt carries the whole answer the parent's dispatch got.

### Receipt versions

A receipt names its version once, on a line of its own before its first `##` heading:

```
# Decision record — #1039 <title>

Receipt: v6

## Summary
```

A receipt with no such line is v1. Each mandated section starts at a version, and the lint
mandates it only on a receipt at or above that version, so a section added later bumps the
version instead of failing every receipt written before it:

<!-- LOCKSTEP-BEGIN receipt-versions -->
| Section | Mandated from |
| --- | --- |
| Open Regions | v1 |
| Surface Inventory | v1 |
| Checks | v1 |
| Fan-out | v1 |
| Intake steps | v2 |
| Knowledge source | v3 |
| Test intent | v4 |
| Fan-out (v5 form) | v5 |
| Options weighed | v6 |
<!-- LOCKSTEP-END receipt-versions -->

The lint (`ledger-lint.sh`) holds the same table and is what enforces it.
`ledger-lint.sh --receipt-version` prints the highest version it knows. The scheduler
lints a receipt before it claims the ticket, with the intake-toolkit the repo has enabled, and
refuses (`env-receipt-lint-unavailable`) when that lint knows fewer versions than the receipt.
It lints the record at every pushed head before a review too, and a violation goes back to the build.
Write the highest version, so every section it mandates is there.

A receipt also uses each section title once: every reader takes the first copy of a title, so a
second one is never read, and the lint refuses it.

### Intake steps

From v2 the receipt records what each intake step did, one line per step, in this order:

```
## Intake steps

Requirements: the ticket body as written. spec-reviewer: implementable.

Split: not split. The work fits one PR.

Explore: done. Read the worker, its DTOs and the proxy config.

Fan-out: ran — 4 items, see Fan-out

Dup-scan: no candidates at or above threshold 12

Post-merge scan: no post-merge AC

Sizing: opus
```

Each key appears exactly once, spelled as above (`Dup-scan`, not "Duplicate scan"), at the start
of its line: no bullet, no indent. Its outcome is what the step did, or why it did not run, never
empty and never a bare dash. No sub-heading inside the section: any heading ends it for every
reader. `Sizing:` records the weight intake decided; applying the label is a tracker write made
after the receipt lints clean, not a step of its own.

### Test intent

From v4 the receipt fixes, per acceptance criterion, the behavior its test must prove, so the
build plans a test for every AC before its code:

```
## Test intent

ACs: AC-1 AC-2 AC-3 AC-8

AC-1: a second import of one document answers 409 and writes no row
AC-2: an upload above 50 MB is refused before the worker runs
AC-3: exempt — the README's import section is prose; no test can prove it
AC-4: holds — an import under 50 MB still lands in one row
AC-5: unchecked — the black-box API tier needs the running app and live upstreams
AC-8: run.sh's checks phase runs the coverage check (a run-selftest case)
```

- **`ACs:` is the id set**, transcribed from the ticket's AC block exactly as labeled: holes stay
  holes (a slice keeps its parent's ids), and a `PM-n` item is never in it. A ticket with no AC
  block is `ACs: none — <reason>`. The harness never reads the ticket body; this line is what it
  holds the plan to.
- **One line per id**, at the start of the line, keeping the ticket's meaning for that id unless
  the operator chose a departure that a `D-n` row records, in one of four forms: the observable
  behavior; `exempt — <reason>` (no test can prove it);
  `holds — <the existing behavior its test keeps>` (an AC like "X still works": its test passes
  without the change, so the scheduler keeps its files off the fails-without-the-change check and
  the checks at the head prove it); or
  `unchecked — <tier and reason>` (its test sits on a tier the scheduler cannot run, such as a
  black-box API suite that needs the running app: its files are noted, not run). An exempt,
  holds or unchecked line is the operator's answer to a question, recorded as a `user-answered`
  row; a holds or unchecked AC must still be tagged on a test task.

`ledger-lint.sh --receipt` is offline: an id dropped from `ACs:` is invisible to it. The scheduler reads the
section from the record's first commit and runs `plan-coverage.sh` (dev-pipeline) on the build's
plan at the head: every AC not exempt must be tagged on a test task that names its test files,
and no tag may name an id `ACs:` does not list — except an id the record at the head adds under
a `D-n` row that is new or changed since the first commit with `user-answered` or `user-delegated`
provenance, which is a recorded departure and counts. Where the config maps test runners
(`commands.<id>.testRunners`), it then applies the head's tagged test files onto the record
commit's tree and runs them: every named test of a behavior AC must fail there. Under a runner
whose format reports per test (`cases`, `vitest-json`, `jest-json`), the plan names each test as
`file::case`, and the scheduler judges that test, not its file; under the `exit` format the file is
the unit. So a Test intent line states the behavior one named test proves, not what a whole file
does. The holds and unchecked forms are additive inside v4: no receipt version names them.

### Departures

A row that departs from the ticket at intake (the operator chose a behavior that differs from the
ticket's `AC-n`, from other text in its body such as a Scope bullet, or from a requirement that one
of its comments states) ends its Resolution cell
with one sentence that states the ticket's original text and how the row differs. The sentence
starts `Departs from AC-n:`, or `Departs from the ticket's <part>:` for text outside the AC block.
The Receipt adds that sentence when the row lacks it. Before it writes the receipt, and again for
each such row a later step adds, it amends the ticket body to state the chosen behavior
("3. Amend the ticket" in `intake/receipt.md`), and the body wins where a comment disagrees. The
review's first pass grades the diff against the ticket alone, and no record row clears its finding.

A decision the receipt never covered will sometimes surface during BUILD. That is normal
operation (P9), not a failure — what must not happen is the run quietly making the call. The
record is the one place it is written: BUILD edits the row in place (a gap it covers nowhere gets
a new row). It writes the new resolution and sets the provenance to the decider. It ends the cell
with one sentence that starts `Changed in build:` (an edited row) or `Added in build:` (a new row)
and gives the reason. It writes a `- D-n:` bullet naming the options it weighed for each row it adds, and writes or replaces the bullet of each row it changes. It commits the edit with the code. The review diffs the record at its first commit against the head and
scores every edited row `departed`, naming the decider from its provenance; a row the code leaves
without an edit is `honored` or `violated`.

A declared `pause-and-ask` region is a question for the human, so only `user-answered` clears it —
a `user-delegated` call has not asked the question the region exists to ask.

## Who emits what

Each interviewing surface keeps its own purpose; what unifies them is the ledger:

| Surface | Elicits | Ledger role |
| --- | --- | --- |
| `/intake` Requirements stage | requirements from a reporter; the one spec-reviewer pass; the knowledge source's answer | requirement-level rows, held in memory for the Interview; the answer, for the receipt's `## Knowledge source` |
| `/intake` Split stage | escalation-point choices on a decomposition | in the session → `user-answered`; in a ticket comment → `ticket-sourced`; open → `deferred` |
| `/intake` Interview stage | the engineer's load-bearing design decisions | primary author of the receipt's ledger |
| `/intake` Receipt stage | post-merge checks, duplicates, probe guess-points, the finished record's gaps against the ticket's criteria, clashes between a status and its retry | the only writer of the receipt |
| `plan-interview` | the engineer's design decisions for a plan | the in-plan ledger; never a receipt |
| `grill-me` | challenges to an existing plan/design | resolutions recorded back into the ledger as `user-answered` |
| `design-toolkit:design-faithful-spec`, `design-toolkit:figma-faithful-spec` | ambiguous states/transitions in a handoff (`/intake`'s Requirements on a handoff input) | Open Questions double as `deferred` rows |

The order of the `/intake` stages lives in the `intake` skill; do not restate it here.

## What all interviewers must avoid

- Quizzing the engineer — questions elicit decisions; they never test comprehension.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.