SDD Next
Advance the active change set to the next phase only after verifying current-phase artifacts exist.
ae-sdd-next is the single versatile phase-transition command. For full-lane work, use it for both directions between plan and implement by delegating transition decisions to CLI guards.
Required Skills
spec-driven-development(state management, phase sequencing, guardrails)
Inputs
[!IMPORTANT] Resolve the active change set from workspace state first. Ask the user only when multiple change sets are present.
Instructions
Load
spec-driven-developmentand runae sdd status [name].Identify lane and current phase.
Verify required artifacts for the current phase before advancing:
- full/proposal:
changes/<name>/proposal.mdexists. - full/specs:
changes/<name>/specs/exists and contains at least one.mdspec. - full/discovery:
changes/<name>/thoughts/exists and contains at least one discovery note. - full/tasks:
changes/<name>/tasks.tomlexists and contains at least one task entry. - full/plan:
changes/<name>/plans/exists and contains the current task plan. - full/implement:
changes/<name>/tasks.tomlexists and task state is valid (no more than onein_progresstask). - full/reconcile:
changes/<name>/reconciliation.mdexists. - vibe/context and bug/triage:
changes/<name>/context.mdexists. - vibe/plan and bug/plan:
changes/<name>/plan.mdexists. - vibe/reconcile and bug/reconcile:
changes/<name>/reconciliation.mdexists.
- full/proposal:
If artifacts are missing, do not advance. Report exactly what is missing and suggest the command to produce/fix it.
Full-lane transition behavior between
planandimplementmust be deterministic and delegated to CLI guards:- From
plan, runningae sdd phase complete --next [name]advances toimplement. - From
implement, runningae sdd phase complete --next [name]is versatile:- tasks remaining: loop back to
plan - tasks complete: advance to
reconcile
- tasks remaining: loop back to
- Always use this single CLI transition path; do not manually branch phases in workflow command logic.
- From
If artifacts are present, advance phase by running:
ae sdd phase complete --next [name]Report the transition result and the new phase from status output.
Success Criteria
- Phase progression happens only after artifact checks pass.
- Missing artifacts block progression with actionable guidance.
- Successful progression is explicit and visible in status output.