Skip to Content
ReferenceSpecification States

Specification States

State machine reference for specifications — all 10 states, transitions, and rules.

Every specification moves through a lifecycle of 10 states. Transitions are triggered by user actions, tool calls, and automatic evaluations.

Quick Reference

StateYou should…
draftStart planning — create your first epic or ticket
planningKeep building structure (epics, tickets)
specifyingKeep linking (dependencies, blueprints)
validatingReview findings, fix gaps
readyStart implementation — launch your agent
in_progressMonitor dashboard, resolve blocks
ready_for_reviewTrigger Implementation Review
in_reviewWait for results, address findings
reviewedConfirm completion
completedDone 🎉

States

StatePhaseDescription
draftPlanningInitial state. Specification created but no planning started.
planningPlanningEpics and tickets are being defined. Structural work in progress.
specifyingPlanningDependencies, blueprints, and cross-epic links are being established.
validatingPlanningQuality checks running. Reports evaluating completeness and consistency.
readyPlanningPlanning complete. Specification passed the Planning Review gate.
in_progressImplementationWork sessions active. Tickets being implemented.
ready_for_reviewImplementationAll tickets completed. Specification awaiting review.
in_reviewImplementationImplementation Review in progress. Quality gates being evaluated.
reviewedImplementationReview passed. All quality checks satisfied.
completedImplementationAll work finalized. Specification is closed.

Transition Table

TriggerFromToCondition
Epic createddraftplanningFirst epic added
Ticket createddraftplanningFirst ticket added
Dependency addedplanningspecifyingDependency or blueprint operation performed
Blueprint linkedplanningspecifyingBlueprint attached to an epic
Report requestedspecifyingvalidatingReport or quality check triggered
Epic createdspecifyingplanningStructural change during specifying
Epic createdvalidatingplanningStructural change during validating
Ticket createdspecifyingplanningStructural change during specifying
Ticket createdvalidatingplanningStructural change during validating
Dependency addedvalidatingspecifyingLinking change during validating
Planning review passedvalidatingreadyPlanning gate passes threshold
Planning review passedplanningreadyPlanning gate passes (if invoked directly)
Planning review passedspecifyingreadyPlanning gate passes (if invoked directly)
Work session startedreadyin_progressFirst start_work_session call
All tickets completedin_progressready_for_reviewEvery ticket reaches done
Review startedready_for_reviewin_reviewstart_review_session called
Review passedin_reviewreviewedImplementation gate passes
Completion confirmedreviewedcompletedFinal confirmation
All tickets completed (no review)in_progresscompletedAll tickets done and requireImplementationReview is false
Specification reopenedcompletedin_progressreopen_specification called
Specification reopenedreviewedin_progressreopen_specification called

The Planning Corridor

The three states planning, specifying, and validating form the planning corridor. Transitions within this corridor happen automatically based on the type of operation you perform:

planning <---> specifying <---> validating
  • Structural operations (create epics, create tickets, delete epics) → move to planning
  • Linking operations (add dependencies, link blueprints) → move to specifying
  • Evaluation operations (request reports, run checks) → move to validating

You don’t manually advance through these states. SpecForge tracks the nature of your operations and transitions accordingly. The corridor is designed for iterative refinement — freely alternate between creating structure, linking dependencies, and checking quality.

ℹ️ You can call Planning Review from any state in the corridor. If it passes, the specification exits the corridor to ready regardless of whether it was in planning, specifying, or validating.

Auto-Transitions

Several transitions happen automatically without explicit user action:

EventTransitionDescription
First epic or ticket createddraftplanningSpecification enters the planning corridor
Planning review passedcorridor → readySpecification cleared for implementation
All tickets reach donein_progressready_for_reviewTriggered when the last ticket completes
All tickets done (review disabled)in_progresscompletedWhen requireImplementationReview is false

Protected States

Once a specification reaches ready, it does not automatically regress to a planning state. This protection ensures validated plans remain stable during implementation.

To make structural changes to a ready specification, you must explicitly reopen the planning session — a deliberate action that acknowledges the specification needs revalidation.

⚠️ Reopening a specification past ready requires reopen_specification. Any in-progress work sessions must be completed or reset first.

See Also

  • Ticket States — Ticket state machine and auto-calculation rules
  • Lifecycles — The three cycles that drive these transitions
  • Quality Gates — The gates that trigger state advances