/steer:spec¶
Think a feature through before committing to implementation: shape acceptance criteria, clarify open questions, validate a spec's question state, and record approval evidence.
When to use
Use to think a feature through before implementation ("grill me",
"stress-test this"), shape acceptance criteria, sweep the draft for gaps, validate a spec's question state, or
refine the spine that /steer:audit spec later diffs against the tracker's
intent.
Lite mode - works on any repo, no bootstrap
/steer:spec runs spec-only on an unmanaged repo (no /spec spine, no
toolchain): the feature intent drafts under spec/features/<id>/ and nothing
is scaffolded. Thinking a feature through is the one activity sanctioned
without bootstrap. /steer:setup is surfaced as the follow-up when the team
is ready to build - not a precondition. (Feature code still requires the
bootstrap first.) Lite mode does not extend to every mode: all four folded
modes need a spine - questions would sweep one that does not exist, adr
writes /spec/decisions/, intake writes spec/sources/ and roadmap has
no work-set to lay out - so each stops and routes to /steer:setup instead.
Argument hint: [feature-id | approve <feature-id> | clarify <feature-id> | validate [feature-id | --all] | questions | adr | intake | roadmap]
Modes¶
| Mode | What it does |
|---|---|
/steer:spec <feature-id> |
Open or shape the feature's intent.md + contract.md. The brainstorm asks in rounds: every question whose prerequisites are already settled, numbered, each with a recommended answer that "yes" accepts. A blanket "yes" accepts every recommendation except the questions marked as needing your own answer (anything high-risk, what your data means, scope), which stay open until answered; a question that depends on one still open waits for the next round. Gate decisions (approving the intent, accepting an ADR) are never pre-selected. A question only something concrete can answer (layout, how an interaction feels) is recorded to settle with a prototype rather than talked through. The interview stops when nothing answerable is left unasked. |
/steer:spec clarify <feature-id> |
Structured de-ambiguation sweep, run before approval - interrogates the draft against the classic gap classes (edge cases, error paths, permissions, data lifecycle, non-functional constraints, out-of-scope boundary) and converts each real gap into a Q-NNN open question. Then a fresh reader - one subagent that never saw the conversation, given only the draft and the spine files it links to - paraphrases what the draft proposes and flags what it could not follow; a wrong paraphrase means the draft says something other than what was meant. A gap only a prototype can settle is a non-blocking question gated at required_before: implementation, never blocking approval; the build settles it and its owner confirms on the running change. Never invents an answer. |
/steer:spec validate [feature-id \| --all] |
Check the spec's open-question state and structural completeness - everything the scaffolded ci:spec gate fails on (a bare - [ ] question, a stale seed, a malformed block - no status:, no impact: on an open one, an unknown required_before: or kind:, a bad created: date - a blocking question open past a gate its feature has cleared) is an error here too - plus the cross-artifact analyze pass - intent <-> contract <-> tracker consistency and acceptance-criteria quality (all warnings) - and the contract's ### R-NNN requirement blocks: a duplicate ID fails; a requirement with no Given/When/Then scenario, a test citing a removed ID, or change-oriented wording ("no longer", "previously", ...) warns. |
/steer:spec approve <feature-id> |
Record approval evidence on the intent. One of the three promptable gates: it offers Approve / Reject / Decide later in-session, showing the acceptance criteria and locked scope - plus the fresh reader's paraphrase when clarify ran its fresh-reader pass in the same session - and records the channel alongside the owner + timestamp. A blocking open question gated at required_before: intent-approval is a precondition - a failed question gate means the prompt is never shown; a blocking question gated at a later transition blocks that gate, not this one. |
/steer:spec questions |
Sweep the whole spine's open questions and drive each to an answer - distinct from clarify, which interrogates only the draft in hand. questions needs [--milestone <m>] sweeps the spine, policy/*.yml, ADRs and the wave's issues for what the client still owes before a wave - access to grant, tooling to provision, decisions to make - and proposes one kind:-tagged Q-NNN per gap with its evidence, written only on the dev's confirmation. questions bundle [<feature-id>] renders the PO-answerable ones as one fillable questionnaire - a Claude Doc the PO answers in place, or Markdown when asked - grouped by kind:; every access field says never to paste a secret. Each question shows a recommended answer the PO accepts by writing "yes" - or options to choose from for anything high-risk, about what data means, or about scope, where "yes" answers nothing. Needs the spine. |
/steer:spec adr [<slug>] |
Record a hard-to-reverse or cross-cutting choice as a numbered ADR - skipping a number the default branch or an open PR already uses - ground the draft against the repo and the spine (every place a setting, secret or permission it changes is set or read; every cited path and fact; every cited ADR's status), then offer its Deciders in-session ratification. adr accept <n> is the single writer of Proposed -> Accepted. See Decisions. Needs the spine. |
/steer:spec intake <path-to-doc> |
Absorb a PO office document (docx/pptx/xlsx/pdf) into the spine by diffing it against the last absorbed version. intake clarify <path-to-doc \| doc-link> folds a client's answers document - a different job from clarify <feature-id>, which interrogates the draft in hand. intake status prints the read-only ledger of every absorbed source - not the client-facing /steer:status report. See Intake. Needs the spine. |
/steer:spec roadmap |
Lay unshipped intent on a release timeline as milestone-grouped issues - no argument is a read-only preview, then roadmap from-features / roadmap from-gap / roadmap sync (milestones, not /steer:setup sync's scaffold). GitHub-only: it stops when /spec/tracker.md declares another tracker. |
Approval evidence¶
Approving a spec stamps owner + timestamp on the intent. The fixture suite asserts the intent template keeps the approval-evidence fields:
This makes approval an auditable event, not an implicit state - the Authorization model draft -> approved transition has a named owner.
Approval is sign-off on intent, not technical validation
Status: approved means the owner has signed off on what the feature
should do - the acceptance criteria are agreed and the blocking questions are
resolved. It does not assert that any implementation is correct, safe, or
production-ready. A non-technical owner's approval can't carry that assurance,
and steer deliberately doesn't pretend it does: the technical gate is a human
dev reviewing the PR ("review is productionization"). That review is the
quality gate, and it writes no spec state at all: Status: does not move
through the build, so an approved feature may be unstarted, mid-build,
or merged, and a draft one may already be mid-build (approval gates the
merge, not the build) - only its tracker issue (in-progress -> validate -> done) says
which. Status: advances again only at the release, to live. Treat an
approved spec as a vetted target, not a vetted build. In
solo-trunk mode there is no separate dev
PR gate, so that assurance rests on whoever commits to trunk - read approved
accordingly.
Where it fits¶
flowchart LR
issue["/steer:work issues<br/>captured idea"] --> spec["/steer:spec<br/>shape + approve"]
spec --> decompose["/steer:work issues decompose"]
decompose --> work["/steer:work"]
work -. compare later .-> drift["/steer:audit spec"]
spec -. is the as-built side of .-> drift
The spine is the as-built side - a faithful description of what the product
actually does. /steer:audit spec diffs it against the tracker spec (what it
was supposed to do, exported from the issue tracker) and surfaces every divergence.