Skip to content

sdtk-code — Command Reference

Governed implementation CLI. Guide: SDTK-CODE.

bash
npm install -g sdtk-code-kit   # included in sdtk-kit
sdtk-code --help

Core flow

bash
sdtk-code start --feature-key <KEY> --lane <lane>
sdtk-code plan
sdtk-code build
sdtk-code verify --evidence
sdtk-code ship --decision <ship|finish>
CommandDescription
start --feature-key --laneOpen a governed feature workspace on a lane
planProduce the implementation plan artifact
buildImplementation stage (runtime session under installed skills)
verify --evidenceCollect verification evidence
ship --decision <ship|finish>Close the flow; produce review packet + OPS_HANDOFF

Status & recovery

bash
sdtk-code status    # current position in the flow
sdtk-code resume    # pick up an interrupted feature
sdtk-code doctor    # workspace health check

Trust layer

bash
sdtk-code guardrails init     # set up guardrails for a feature
sdtk-code guardrails check    # validate against them
sdtk-code guardrails scope    # inspect/adjust allowed scope
sdtk-code guardrails trace    # touched vs. allowed
sdtk-code readiness --feature-key <KEY>

Sleep Mode Shipped · Sleep Execute Pro

bash
sdtk-code sleep plan      --feature-key <KEY>   # free: assemble a bounded plan
sdtk-code sleep report    --feature-key <KEY>   # free: grade READY_TO_SLEEP / NOT_READY
sdtk-code sleep authorize --feature-key <KEY>   # Pro: attended — write a bounded authorization
sdtk-code sleep execute   --feature-key <KEY>   # Pro: headless — run the authorized doc-class session

Shipped preflight assessment and reporting. Sleep Execute — real unattended execution — is Pro and shipped: after one attended sleep authorize, sleep execute runs a bounded doc-class agent session headless within hard ceilings (10 iterations / $10 / 24h TTL), with a per-iteration readiness re-check, pinned scope, and worktree isolation. It uses your own provider API key (not SDTK-hosted) and is entitlement-gated.

agent-team

Bounded multi-agent coordination (the layer SDTK-AGENT orchestrates):

bash
sdtk-code agent-team --help

Verbs include plan, preview, export, and evidence, plus execute / author / sleep-execute — the execution verbs are bounded to docs/governance Markdown authoring, not arbitrary code.

Setup & maintenance

bash
sdtk-code init
sdtk-code runtime install
sdtk-code runtime status
sdtk-code runtime uninstall
sdtk-code update

SDTK — governed, auditable, resumable AI-assisted engineering.