What problem does it solve?
When running spec-driven missions with spec-kitty, agents need a deterministic way to know what to do next, how to advance work packages, and how to recover from blocked or decision-pending states without guessing.
Core Features & Use Cases
- State Querying: Inspect the current mission state with
spec-kitty next --mission <handle> --json without executing anything.
- Step Advancement: Advance a mission by reporting agent results (
success, failed, blocked) and executing the generated prompt file for step decisions.
- Decision & Error Routing: Answer pending runtime decisions with
--answer and --decision-id, fix guard failures on blocked results, and route terminal results to the acceptance gate.
- Use Case: An agent finishes a work package in an isolated git worktree and asks what to do next; this skill queries the mission, receives a
step decision, executes the generated prompt, and reports the result back to the control loop.
Quick Start
Ask the agent to check what comes next for the active mission by running the spec-kitty next command with the mission handle and then follow the returned decision kind.