decision-interview
Skill10 starsChanged 35 days agoMITView on GitHub
Ask the minimum decision questions needed before turning the task into canonical implementation rules, on behavior, data integrity, rollout safety, or test strategy. Use when missing information is decision-driven (not factual) or undecided policy blocks planning; in an attended chain it records an open decision as provisional and continues. Do not use for factual gaps (use targeted-questions), when decisions are locked, or when implementation has no correctness-critical ambiguity. To harden wording use contract-signoff; for contradictory rules use resolve-contract-gaps.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- wotjr1649/devflowtheir own version, first seen Nov 1, 2026
- microsoft/frontier-ghcp-ttt-rvastheir own version, first seen Oct 25, 2026
- yannikzz/ui-contracttheir own version, first seen Oct 13, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- microsoft/frontier-ghcp-ttt-rvas★ 3same name
- yannikzz/ui-contract★ 3same name
- wotjr1649/devflow★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository98 other files it gives its agents.
- AGENTS.mdAGENTS.md
- a11y-auditSkill
- ai-feature-eval-harnessSkill
- api-contract-reviewSkill
- api-runtime-verifySkill
- apply-sweep-triageSkill
- approve-planSkill
- approve-proposedSkill
- app-runtime-verifySkill
- atom-audit-fleetSkill
- atom-auditSkill
- autonomous-boardSkill
- autonomous-readinessSkill
- autonomous-runSkill
- backend-system-designSkill
- branch-commitSkill
- capture-observationSkill
- capture-referencesSkill
- code-context-mapSkill
- code-locateSkill
- color-contrast-architectSkill
- compact-task-memorySkill
- component-specSkill
- contract-signoffSkill
- db-context-postgresSkill
- db-context-supabaseSkill
- delivery-assetSkill
- design-bootstrapSkill
- design-spec-reviewSkill
- direction-adjustSkill
- external-research-fleetSkill
- external-researchSkill
- extract-foundations-from-screensSkill
- feature-library-scout-fleetSkill
- feature-library-scoutSkill
- foundation-auditSkill
- frontend-architecture-reviewSkill
- frontend-system-designSkill
- godot-runtime-verifySkill
- godot-scene-planSkill
- graphql-contract-reviewSkill
- harvest-session-learningsSkill
- image-to-specSkill
- impact-analysisSkill
- implement-approved-sliceSkill
- implementation-planSkill
- implement-fleetSkill
- implement-slice-complementSkill
- im-stuckSkill
- incident-triageSkill
- invariants-and-non-goalsSkill
- inventory-snapshotSkill
- journey-mapSkill
- jtbd-switch-interviewerSkill
- mcp-server-vetSkill
- migration-safety-stewardSkill
- pattern-docSkill
- performance-budgetSkill
- portfolio-reviewSkill
- post-deploy-verifierSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 7 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Ask the minimum set of high-value decision questions needed before turning the task into canonical implementation rules.
- Very specific: line 33
Read these sections in WORKFLOW_OPERATING_SYSTEM.md first:
- Distinctive: line 41
Read additional sections only when relevant to this command's role.
- Distinctive: line 60
Do not implement code.
- Very specific: line 62
Operating mode (ADR-0008, ADR-0162): WHEN TASK_STATE.md ## Resume notes contains Operating mode: minimal, strict, teaching, or assisted, …
- Very specific: line 64
Do not finalize canonical decisions unless they are already fully supported by evidence or explicit user input.
- Distinctive: line 70
Before any output, check that decision-level ambiguity still exists.
- Very specific: line 79
When the lock signal is partial (covers only some open questions), persist the locked subset as APPLIED and re-state the still-open …
- Very specific: line 80
When no lock signal is present, behave as normal: propose questions with rationale.
- Very specific: line 81
Single-turn persistence: when locks are applied, do all DECISIONS.md and TASK_STATE.md writes in this turn (one Write per file, not …
- Distinctive: line 85
WHEN a D-N entry proposes complexity the user did not ask for (a new mechanism, state or UI element), it SHALL carry a one-line "Simplest …
- Distinctive: line 87
Ask only questions that materially affect correctness, runtime behavior, data integrity, test strategy or rollout safety, and prefer …
- Distinctive: line 135
Do NOT rebuild the helper by writing each section out as its own file to hash it separately.
- Very specific: line 186
Follow ## Global output contract in WORKFLOW_OPERATING_SYSTEM.md for APPLIED / PROPOSED / SKIP rules.
- Very specific: line 198
No premature canonicalization: in interview mode, DECISIONS.md changes are PROPOSED only.
- Very specific: line 201
Before declaring this output done, confirm it satisfies the shared Definition of done (command outputs) and Gate conditions in …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Output contract, in brief. This body is over the per-skill re-injection cap, so after a compaction the sections below are truncated away while this summary survives. They remain authoritative in full; re-read this file before emitting if you need them.
Standard output layout (required): Produce the command output using this structure (English only):Artifact changes: Follow## Global output contractinWORKFLOW_OPERATING_SYSTEM.mdforAPPLIED/PROPOSED/SKIPrules. Every listed file...Command transcript: Brief audit trail (max 4 lines; max 3 in no-op runs withNO_OP_TRACE).Handoff: Use the adaptive ending format ofWORKFLOW_OPERATING_SYSTEM.md## Global output contract. Every Handoff is one fencedtextb...Definition of done (command output): Interview mode (no LOCK picks): Output has three explicit, separated sections:Decisions already safe to lock, `Remaining ambigu...
Act as a senior/staff engineer reducing ambiguity before locking implementation decisions for the active engineering task.
Goal: Ask the minimum set of high-value decision questions needed before turning the task into canonical implementation rules.
Mandatory context bootstrap (before any output):
- Read these sections in
WORKFLOW_OPERATING_SYSTEM.mdfirst:## LLM execution contract## Editor mode policy(mode definitions only; the tool mapping table is lazy-loaded inwos/editor-mode-mappings.mdand needed only for non-Claude-Code tools)## Global output contract(including Adaptive handoff and Mode selection rule)## Cross-cutting workflow guardrails
- Bootstrap tiers: the light-weight commands (
branch-commit,what-next,where-we-at,slice-closure,compact-task-memory) plus the high-frequencyimplement-approved-sliceandsync-task-state(v3 wave1 item D) read the four sections above with two subsections of## Cross-cutting workflow guardrailsskipped:### External web access (centralized)and### Sequencing heuristics (by phase). Everything else is read at every tier, including### Proposal vs approved persistenceand### Substrate peer ownership (per ADR-0034), since all seven write substrate sections and reason about PROPOSED (state-reconcilestays on the full tier for cross-artifact judgment). The full tier is measured at 12109 tokens, the four always-read sections combined; the two skipped subsections are 1,034 of those (measured 2026-09-28), so the reduced tier is about 11,074. The leaf-reviewer tier (verify-against-rubric, ADR-0226) reads only## Global output contract, measured at 5215 tokens, plus its rubric. - Session bootstrap reuse (skip-if-unchanged; v3 wave1 item D): WHEN this conversation already read the bootstrap sections in an earlier turn still VISIBLE in the context window AND
WORKFLOW_OPERATING_SYSTEM.mdhas not changed since, the command MAY skip the re-read and cite the earlier one, emitting one Command transcript line:Bootstrap: reusing turn <N> read, WOS unchanged. Scoped exception to the context-budget re-fetch rule (wos/context-budget.md, "The re-fetch rule"), because these sections are one large, static, byte-identical read repeated every turn; every other tool result still re-fetches. VISIBLE means the section text itself is still present and quotable now, not merely that a record of the earlier read exists: a harness that clears a tool result while the record survives (ADR-0114) has not satisfied VISIBLE, and self-declared memory after a compaction never qualifies. A stateless-per-turn harness is excluded. The transcript line is mandatory; a silent skip is invalid output. - Resolving the spec and
wos/<topic>.md: canonical repository FIRST. Otherwise use active-adapter docs:~/.claude/workflow-docs(CLAUDE_WORKFLOW_DOCS_DIR),~/.cursor/workflow-docs(WORKFLOW_DOCS_DIR; project.cursor/workflow-docson project installs),~/.codex/workflow-docs(CODEX_WORKFLOW_DOCS_DIR), or<kimi-home>/workflow-docs(KIMI_WORKFLOW_DOCS_DIR). Nonempty overrides win. Kimi home:KIMI_CODE_HOME, else existing~/.kimi-code, else existing~/.kimi, default~/.kimi-code. Use one root for both paths; try other adapters if absent or unknown. Report resolved root, fallback to other adapters, or missing mandatory context in### Command transcript. Installed snapshots refresh and prune retired topics only on sync. - Read additional sections only when relevant to this command's role.
- Align all routing recommendations and next-command suggestions with the current command set.
- Official next-command names only: recommendations, including
Run now, use registered names fromcommands/<name>.mdorcommands/<name>/SKILL.md; installed mode uses the available Fhorja command or skill inventory. No invented aliases.Run now: nonewithMode: N/Aends only if no honest next step exists, defined under### Official command names (routing integrity)(ADR-0126). Required inputs: - active task folder path
- TASK_STATE.md
- SOURCE_OF_TRUTH.md
- IMPACT_ANALYSIS.md, if available
- INVARIANTS_AND_NON_GOALS.md, if available
- DECISIONS.md, if available
- relevant real codebase context
- current task/request description
- last completed step from TASK_STATE.md (command + summary)
Task repository files to update:
- TASK_STATE.md
- DECISIONS.md only when a decision is explicitly resolved, or when provisional mode records a
### P-Nunder## Provisional decisions
Operating rules:
- Do not implement code.
- Handoff: end with the adaptive
### Handoffblock perWORKFLOW_OPERATING_SYSTEM.md## Global output contract(Mode A compact or Mode B full). - Operating mode (ADR-0008, ADR-0162). WHEN
TASK_STATE.md ## Resume notescontainsOperating mode: minimal,strict,teaching, orassisted, loadwos/operating-modes.mdand apply that mode. WHEN the line is absent, use this command's native rules. Auto-suggestion is not a declaration. - Substrate write protocol (ADR-0034). MANDATORY for every write to
DECISIONS.md ## Locked decisions,## Decision history, and## Provisional decisions(perwos/substrate-peers.md; a provisional write usessection='## Provisional decisions',reason=provisional-P<N>-<short-slug>). Emit the transaction header and one.wos/VERIFICATION_LOG.jsonlline per write, percommands/_shared/substrate-write-protocol.md ## Concrete computation. Never edit prior locked D-N text; supersede via a newD-(N+M)withSupersedes: D-N. - Do not finalize canonical decisions unless they are already fully supported by evidence or explicit user input. A provisional P-N is not a canonical decision: it never goes under
## Locked decisionsand it never carries the maintainer's voice. - No human respondent (unattended or fleet-dispatched run, or a background session failing the ADR-0237 test; ADR-0044 doctrine): this command SHALL NOT self-answer or lock any decision, and it never writes a provisional P-N either, except under standing authorization (ADR-0244,
### Unattended sessions), where it takes the provisional mode below. Record each open question with its candidate default as a PROPOSEDDECISIONS.mdblock (mode=proposed), note in### Command transcriptthat the interview ran unattended, and stall or escalate. WHEN the dispatching brief carries an explicit human-authored lock or pre-authorized answer, treat it as user input for the LOCK-pick recognition rule with the provenance note "from the dispatching brief" (wos/cross-cutting-workflow-guardrails.md ### Unattended sessions); questions the brief leaves open still stall as PROPOSED. - Provisional mode (ADR-0233; rests on its provisional P-1). WHILE this command runs in an attended chain on a task branch (a
Task branch:line, no declared assisted mode; spec### Adaptive handoff) or under standing authorization (ADR-0244), it SHALL NOT wait for a LOCK. For each open decision it SHALL pick the recommended option from the task-branch code and the request, write it as a### P-NunderDECISIONS.md ## Provisional decisionsin the field formatwos/task-file-contracts.mddefines (Evidence:,Impact:,Status: provisional), then continue. WHEN nothing supports any option, pick the cheapest to reverse and writeEvidence: none found,Impact: high. Exception: typing this command by name wants interview mode. A P-N never authorizes alone:approve-planreads only## Locked decisions. ## Decision historyplacement (ADR-0101): as thewos/substrate-peers.md ## Decision historywrite rule places it, after## Locked decisions, which stays one contiguous block. A supersede that creates or appends## Decision historygets that H2 its own transaction header and JSONL line, reusing the run's run_id and ts.- Defeasible-claim revision (ADR-0109, D-10): record new evidence against a persisted claim by the Defeasible-claim revision rule in
wos/substrate-peers.md ## Decision history: a supersede when the claim is a LOCKED decision, a standalone entry otherwise,[OPEN: equal-rank, escalate]for an equal-rank conflict (never auto-resolved;task-closeblocks on it). - Deliverable-shaping pass first (per ADR-0056): when
TASK_STATE.mdhas a## Requested deliverablessection, run at least one deliverable-shaping pass before any implementation-shaping question. For each in-scope row, confirm it is still in scope or, IF a chosen direction drops it, ask the de-scope as an explicit question and record the answer as ade-scoped:<reason>decision inDECISIONS.md(and flip the ledger row tode-scoped:<reason>). In provisional mode the rule is stricter (ADR-0233, rests on P-5): this command SHALL NOT record a provisional de-scope or flip the ledger row. IF a named deliverable needs a decision the evidence does not settle THEN it SHALL leave the row[in-scope], addNot delivered, needs you: <deliverable>: <what is undecided>toTASK_STATE.md ## Open questions / blockers, and continue with the rest. WHEN the section is absent, this rule is a no-op. - Before any output, check that decision-level ambiguity still exists; when it is resolved enough for safe planning, ask no synthetic questions: return a no-op and route to the best next command.
- Quick reanchor co-write (ADR-0111): in the same turn a lock PERSISTS one or more D-N entries, update the
Active decisionsline ofTASK_STATE.md ## Quick reanchor(co-writer per the ownership matrix; one edit plus its emit under this run's run_id). - LOCK-pick recognition (persist, do not re-propose): When the user input for this turn contains an explicit lock signal for one or more open decisions, treat those picks as the user's authorization to PERSIST the corresponding canonical decisions and
TASK_STATE.mddeltas in this same turn. Do NOT re-emit a PROPOSED block of the same decisions: the lock signal is the decision, and task memory is writtenAPPLIEDin every mode (ADR-0199).- Recognized lock signals (case-insensitive):
- Per-question:
D<N> [LOCK],D<N>: <pick> [LOCK],D<N> = <pick>, or a bareD<N> <pick>line repeating the previous turn's question ID. - Range:
D<N>-D<M> [LOCK]locks every question in the inclusive range with the previously-proposed default for each. - Wildcard:
aprovado,approved,all [LOCK], orLOCK ALLlocks every still-open question with the previously-proposed default. - Provisional:
P<N> [LOCK]confirms the entry as written;P<N> = <pick>orP<N>: <pick> [LOCK]replaces it. An answer arriving mid-chain counts the same way (ADR-0233).
- Per-question:
- Promoting a P-N: A P-N is never edited or moved. The maintainer confirms it with a new
### D-Nunder## Locked decisionscarryingConfirms: P-N, or replaces it with a new### D-Nthere carryingSupersedes: P-N. Wildcard signals lock open questions only; they never confirm an unnamed P-N. - When the lock signal is partial (covers only some open questions), persist the locked subset as APPLIED and re-state the still-open questions in
Remaining ambiguities. Do NOT re-emit the locked subset. - When no lock signal is present, behave as normal: propose questions with rationale; mark DECISIONS.md and TASK_STATE.md updates as PROPOSED.
- Recognized lock signals (case-insensitive):
- Single-turn persistence: when locks are applied, do all DECISIONS.md and TASK_STATE.md writes in this turn (one Write per file, not multiple Edits per section).
- No-op rule for artifacts: update
TASK_STATE.mdonly when canonical decisions, blockers, risks or the next step materially change. With nothing new to ask or record, churn neither file: sayTASK_STATE.mdstays unchanged and why, in a short NO_OP note. - Read-comments-before-escalation gate (ADR-0086). WHEN a decision under consideration is a downgrade or heavy migration to dodge an UPSTREAM bug, do NOT lock it until the upstream issue's full comment thread has been read for a workaround: IF it has not, route to
capture-references(its deep issue-thread read) and hold the decision open, since the workaround usually lives in the comments. It fires only in that case. - Adjacent-flow enumeration, bounded by the state (ADR-0150). WHEN a decision defines behavior for state MORE THAN ONE flow reads or writes, it SHALL enumerate and confirm the behavior for each such flow before it is locked. "Adjacent" is bounded by the STATE, not the domain: exactly the flows that read or write what this decision governs. Auth, biometric, session, or permission-boundary: AT MINIMUM logout, backgrounding, force-quit/kill. Same test for payments (refund, retry, chargeback), sync (conflict, merge, reconnect), notification preferences (opt-out, quiet hours, reinstall). A decision whose state no other flow touches (a copy change, a colour token) has NO adjacent flows: say so and lock it.
- WHEN a D-N entry proposes complexity the user did not ask for (a new mechanism, state or UI element), it SHALL carry a one-line "Simplest alternative considered:" note naming the simpler option and why it is not enough, before it can be locked.
- Fact vs decision filter: propose a question only for a genuine decision, two or more viable alternatives with different tradeoffs. A pre-existing fact ("stack is Next.js") or a product-spec duplicate ("pricing is $20/month") is not one and belongs in SOURCE_OF_TRUTH.md: if only one answer is reasonable given the codebase, spec and constraints, it is a fact.
- Ask only questions that materially affect correctness, runtime behavior, data integrity, test strategy or rollout safety, and prefer targeted, binary or tightly scoped ones.
DECISIONS.md entries MUST use EARS template (per ADR-0031). One of five canonical forms:
- Ubiquitous:
The <system> SHALL <response> - Event-driven:
WHEN <trigger> the <system> SHALL <response> - State-driven:
WHILE <state> the <system> SHALL <response> - Optional feature:
WHERE <feature included> the <system> SHALL <response> - Unwanted behavior:
IF <trigger> THEN the <system> SHALL <response>
Free-form prose for decision rationale is OK; the canonical sentence per entry MUST use SHALL keyword. Banned softeners in canonical sentences: should, may, appropriate, sensible, reasonable.
Required output (interview mode, no LOCK picks in this turn):
- Decisions already safe to lock (each locked decision phrased in EARS)
- Remaining ambiguities
- Targeted questions
- Why each question matters
- What implementation/test behavior changes depending on each answer
- Exact TASK_STATE.md update block (PROPOSED), or explicit
TASK_STATE: NO_CHANGE - Exact DECISIONS.md update block (PROPOSED) with EARS-shaped entries, or explicit "no DECISIONS.md changes needed"
- Recommended next step, next command, editor mode, and why
- What should explicitly not be done yet
Required output (provisional mode, an attended chain on a task branch or standing authorization, with no LOCK picks):
- Decisions recorded as provisional: one line per P-N with its pick, its
Evidence:referent and itsImpact:value,highentries first. - Deliverables recorded as
Not delivered, needs you, ornone. - Final
DECISIONS.md ## Provisional decisionsandTASK_STATE.mdcontent after this turn's writes (APPLIED in### Artifact changes). - The recommended next command, which the chain runs now; a provisional record is never a reason to stop.
Required output (persist mode, LOCK picks present in this turn):
- Acknowledgement listing which question IDs were locked and with which picks (one line per locked decision; no re-rationale).
- Final DECISIONS.md content after this turn's writes (APPLIED in
### Artifact changes). - Final TASK_STATE.md content after this turn's writes (APPLIED in
### Artifact changes), withCanonical decisionsreflecting the new locks. Remaining ambiguitiesONLY if some open questions were not covered by the lock signal; otherwise the section is omitted.- Recommended next step, next command, editor mode, and why (same as interview mode).
Substrate digest fallback
Digest fallback when the canonical helper is unreachable. sha_of_section extracts a section's body with awk and pipes it to shasum -a 256. A run inside a permission boundary that admits shasum but refuses awk and sed cannot invoke that helper, and MUST NOT reimplement it. Assume the helper is unreachable whenever the workflow repository's scripts/ directory is not readable from the working directory.
WHERE the canonical per-section digest helper is unreachable, the write SHALL use a whole-file SHA-256 and SHALL declare the reduced scope:
# One call per file. Read the hash (the first field) out of the output;
# do not pipe it through `cut` or `awk` to trim it.
shasum -a 256 TASK_STATE.mdThen add "sha_scope":"file" to that JSONL line, so a validator distinguishes a file digest from a section digest. The rest of the protocol is unchanged: the transaction header still goes above the section heading, and there is exactly one JSONL line per section write.
Do NOT rebuild the helper by writing each section out as its own file to hash it separately.
At file scope two sections written in the same run share a digest, so the sha_scope field is mandatory, not optional.
Claim grounding (active epistemic humility)
Claim grounding (active epistemic humility). This block governs what you may assert and how you record it. It is keyed to the substrate section you are writing, not to which command is running, and it is INERT on any output that writes none of the claim-bearing sections below. Full contract and rationale: wos/active-epistemic-humility.md.
- When this applies. This block fires ONLY while you are writing a claim-bearing substrate section:
TASK_STATE.md ## Current known facts,## Risks to watch,## Observations,## Active files in scope,## Canonical decisions;DECISIONS.md ## Locked decisions;IMPLEMENTATION_PLAN.md ## Current gaps,## Risks and mitigations;IMPACT_ANALYSIS.md;EXTERNAL_RESEARCH.md;REFERENCES.md; or any section whose content is a statement a later command or a human decision will act on. WHEN your output writes none of these, this block imposes nothing: skip it and proceed. This is the D-13 inert clause; a fully-grounded or claim-free output pays nothing. - The unit is the load-bearing claim. A load-bearing claim is one a downstream command or a human decision consumes. A passing aside is not load-bearing; a statement someone will act on is. Apply the rest of this block per load-bearing claim, not per sentence.
- Ground it or abstain. Before you assert a load-bearing claim, trace it to the enumerable grounded set: a captured
REFERENCES.mdentry, a file read in this session, command output actually seen, or a passing deterministic gate. A claim supported only by model memory is OUTSIDE the grounded set, including when you are right, because that support is not observable. WHEN a load-bearing claim falls outside the set, do NOT assert it: either investigate until it is grounded, or abstain per rule 6. - Status records provenance, never confidence. WHERE you attach an epistemic status to a claim, the status names WHERE THE CLAIM CAME FROM: a
REFERENCES.mdentry title, a file path plus line, or the gate output it came from. It SHALL NOT express a degree of certainty. Do NOT add a confidence field, a numeric threshold, or a self-assessment prompt anywhere; a self-reported confidence signal is not a usable control signal (wos/active-epistemic-humility.mdPart 1.3). A status whose referent slot is empty is read as UNKNOWN, not as a weak yes. - Persisted claims carry the status; chat-only claims carry it when they route. Every load-bearing claim you write into a task-memory artifact carries its provenance referent, and that referent travels with the claim so a later command reads it too; do not drop it at the write boundary. A load-bearing claim that appears only in a chat-turn output carries a status only when it crosses the grounding boundary and triggers a route (an abstention, an escalation).
- Abstain as a routed continuation, never a bare refusal. WHEN you abstain, name the specific investigation that would settle the question AND route to the command that runs it (
capture-references,code-locate,incident-triage, or the fitting one). A withholding that stalls the work is invalid output. Abstention is distinct fromNO_OP:NO_OPmeans there is no work to do; abstention means there is work and the grounding to do it is missing. - An unfired gate is not evidence. The absence of a fired check does not mean grounding existed. Do not read silence here as a pass.
Grounded-residue termination
Grounded-residue termination. This block decides when a question-asking command stops investigating and what it emits when it does. It fires WHEN the command runs inside an automatic chain, meaning the session carries itself into the next Run now: rather than having each step retyped by a person (ADR-0186). An attended chain is one of these: a person is watching, but no step waits for them. WHEN a person is present and answering question by question, in an assisted run or outside an attended chain on a task branch, this block is inert: ask as the command already specifies and skip the rest. Companion to commands/_shared/claim-grounding.md, which governs what you may assert; this one governs when you may stop looking.
- Build the residue set before the first investigation, not after it. Enumerate the open question as typed load-bearing claims you cannot currently ground, one row per claim, and anchor every row to the ledger row it blocks under
## Requested deliverablesinTASK_STATE.md(ADR-0056). The ledger is the bar and it is written down before the loop starts, so the loop cannot lower it. A claim that blocks no ledger row is not residue: record it withcapture-observationand move on. WHEN the ledger section is absent, or its only row is the- none namedsentinel, anchor to the deliverables named in the taskREADME.mdinstead and say which of the two you used in the stop record. - Type every row by what would settle it. Four kinds, and they are the four members of the grounded set in
commands/_shared/claim-grounding.mdrule 3 restated as something you can check: REFERENCE (an external source), FILE (a path in the repository or the task folder), COMMAND (a run whose output you can read), GATE (a named deterministic check). The type is what names the investigation, so an untyped row is not yet a residue row. - One iteration is one pass: take the row blocking the most ledger rows, run the investigation its type names, then apply the resolution test in rule 5. A row that resolves leaves the set. A row that does not stays, carrying the investigation you already ran, so the next iteration has to pick a different one. Re-running an action that already failed is not an iteration.
- Exit on exactly one of five labeled conditions, evaluated in this order. The first that holds is the exit, and the rest are not evaluated.
- RESOLVED. The residue set is empty. Continue the chain.
- NO_PROGRESS. The last iteration closed zero rows AND issued no investigation action distinct from one already recorded against the set. This is not a stop: continue the chain with the residue recorded as open and
Run now:naming the command that would settle the top row. - BUDGET. The iteration count reached the per-tier cap in rule 6. An airbag, not a brake: reaching it means RESOLVED and NO_PROGRESS both failed to fire, and that is itself the finding worth reporting. This is not a stop either. The cap is this command's own loop ceiling, and a ceiling warns, records, and continues.
- ESCALATED. A row still open maps to one of the four reasons a chain stops: an act whose audience is not bounded (ADR-0200); a decision that changes what the product is; a cost or loop ceiling; a check of the work the agent cannot honestly run on itself. The loop ceiling in that list is the one BUDGET already handles, which is why BUDGET is evaluated first. What happens next depends on the run (ADR-0233): attended, on a task branch (spec
### Adaptive handoff), only reason 1 stops, and so under standing authorization (ADR-0244,wos/cross-cutting-workflow-guardrails.md ### Unattended sessions), where the reason-4 row is anunverified: <check>line inTASK_STATE.md ## Open questions / blockers. A reason-2 row routes todecision-interview, whose provisional mode records it underDECISIONS.md ## Provisional decisions; a host command writes that### P-Nitself only whenwos/substrate-peers.mdnames it on that row. A reason-4 row becomesNot verified: <check>inTASK_STATE.md ## Open questions / blockers. Either way the chain continues. A row that would settle only by dropping a named deliverable SHALL NOT be recorded as a provisional de-scope: recordNot delivered, needs you: <deliverable>: <what is undecided>there instead. Every other run stops on all four reasons as before, named inReason:, and an unattended run never self-locks. - ENVIRONMENT. A row still open needs something this session cannot supply: a credential, a device, a network, or a system you have no access to. Emit the terminal form (
Run now: nonewithMode: N/A, andReason:naming what would unblock it). ENVIRONMENT is not a fifth stop reason. It is the terminal form doing the job it was defined for (ADR-0126).
- The resolution test, applied to the referent and never to how good the answer feels:
- REFERENCE resolves when a
REFERENCES.mdentry for it exists carrying both a URL and an accessed date. - FILE resolves when the path plus line number exists on disk and you read it in this session.
- COMMAND resolves when the command line and its exit code are both present in this session's evidence.
- GATE resolves when a named gate ran and exited 0. A referent that does not resolve reads as UNKNOWN and its row stays in the set. UNKNOWN is not a weak yes, and a check that never fired is not evidence.
- REFERENCE resolves when a
- The cap is a DECLARED PLACEHOLDER, not a measurement. Until a run replaces it with an observed number, read it off the
Escalations:line ofTASK_STATE.md ## Recommended pipeline: none 2 iterations, one escalation 3, two or more 5, and 8 where the task declares a strict surface. Corrected 2026-09-16: this rule keyed on Express, Standard and Disciplined, names ADR-0207 retired in the same wave that created this block, so no cap was ever in force for any task opened after it. A blinded review loop ran five iterations before anyone noticed the ceiling it cited did not exist. The escalation count is what replaced the tier label and it carries the same ordering. These come from a doubling heuristic over a guessed typical depth, and no Fhorja run has been measured against them. Do not cite them as measured, and do not tune them by feel. Rule 7 emits the iteration count so a later measurement can set them from observation. - Emit one stop record on every exit, whichever one fired. One line each: the exit label; the iteration count reached; the cap in force for this tier; each row still open with its type and the ledger row it blocks; and, per open row, the investigations already attempted. On RESOLVED the last two lines are empty. The record belongs in
### Command transcript, and on ESCALATED or ENVIRONMENT it goes in the visible output as well, because those are the two exits where a reader has to act. - What this block does not contain, deliberately. There is no confidence field, no numeric certainty threshold, and no step where you rate how sure you are. Termination is decided by rule 4 over the residue set and by rule 5 over the referents, and both are checks against artifacts outside you. Self-assessed completion is the failure this replaces: among architectures that let the agent judge itself finished, false success accounts for 45 to 48 percent of failures on tau2-bench and 75.8 percent on AppWorld. ADR-0109 is what forbids the confidence field;
scripts/check-claim-grounding.shguards the three source surfaces of that doctrine and this block is not one of them, so here the rule is held by the reader rather than by a script.
Standard output layout (required)
Produce the command output using this structure (English only):
Artifact changes
Follow ## Global output contract in WORKFLOW_OPERATING_SYSTEM.md for APPLIED / PROPOSED / SKIP rules. Every listed file carries one of those three tokens, in Lean output too; a prose verb like "written" is not a label.
Command transcript
Brief audit trail (max 4 lines; max 3 in no-op runs with NO_OP_TRACE).
Handoff
Use the adaptive ending format of WORKFLOW_OPERATING_SYSTEM.md ## Global output contract. Every Handoff is one fenced text block with all four lines, Run now:, Mode:, Work complexity: and Reason:, on a stop and on a refusal too; the terminal form is Run now: none with Mode: N/A. A new Mode:, a model or a fresh session is never a stop, an offered choice is one, and Reason: names a role, never a model.
Definition of done (command output)
- Interview mode (no LOCK picks): Output has three explicit, separated sections:
Decisions already safe to lock,Remaining ambiguities, andTargeted questions. Collapsing these into a single prose block is invalid output. - Provisional mode (attended chain on a task branch or standing authorization, no LOCK picks): every open decision is written as a
### P-NwithEvidence:,Impact:andStatus: provisional, nothing lands under## Locked decisions, no named deliverable is de-scoped, and the Handoff continues the chain. Waiting for a LOCK signal in this mode is invalid output, and so is a P-N with noEvidence:line. - Persist mode (LOCK picks present): Output acknowledges the locked picks by ID + value, lists DECISIONS.md and TASK_STATE.md as
APPLIEDin### Artifact changes, and does NOT re-emit the locked questions or their rationale. Re-proposing already-locked decisions is invalid output. - Each question (interview mode only) states explicitly: why it matters / what is already known / what changes depending on the answer. Question lists without per-question rationale are invalid output.
- No premature canonicalization: in interview mode,
DECISIONS.mdchanges are PROPOSED only. In persist mode, the LOCK signal in the user input authorizes APPLIED. In provisional mode, only## Provisional decisionsis written APPLIED, and it authorizes nothing on its own. - Clear separation between
PROPOSEDdecisions vs locked decisions in interview mode; persist mode does not mix PROPOSED and APPLIED for the same decision. - Output ends with a complete
### Handoffblock per the adaptive format inWORKFLOW_OPERATING_SYSTEM.md## Global output contract. A response that ends without a complete Handoff is invalid output. - Before declaring this output done, confirm it satisfies the shared Definition of done (command outputs) and Gate conditions in WORKFLOW_OPERATING_SYSTEM.md.
Quality bar: Optimize for minimal question count, decision quality, and low ambiguity.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

