name: spk-run-next description: "Drive the canonical spec-kitty next control loop and route query, step, blocked, decision_required, and terminal results."
spk-run-next
Use this skill when advancing an active mission, asking what to do next, or recovering from a runtime decision.
Flow
- Query state with
spec-kitty next --mission <handle> --jsonor advance withspec-kitty next --agent <name> --mission <handle> --result <success|failed|blocked>. - Read the returned decision kind.
- For
query, inspect only; do not execute a prompt or mark a result. - For
step, execute the generated prompt file. - For
decision_required, answer with--answer,--result,--agent, and--decision-idwhen multiple decisions are pending. - For
blocked, fix guard failures before retrying. - For
terminal, route tospk-gate-accept.
Legacy Alias
For detailed runtime semantics, use spec-kitty-runtime-next when available.