AI-DLC Stage Runner — code-generation
Run the code-generation stage on its own. This is opt-in packaging over
/aidlc --stage code-generation --single; the same stage is always reachable via
that flag without this skill.
Steps
Ask the engine for the single-stage directive:
bun .kiro/tools/aidlc-orchestrate.ts next --stage code-generation --singleThe engine emits one
run-stagedirective forcode-generation(carrying the lead agent, the resolved consumes/produces paths, the rules and sensors in context, and — on this first directive — the conductor persona). Run the stage exactly as the directive describes; do not load the conductor persona by hand, the engine delivers it.When the stage's work is done, commit the single-stage record:
bun .kiro/tools/aidlc-orchestrate.ts report --single --stage code-generation --result completedThis records a STAGE_STARTED / STAGE_COMPLETED pair under a synthetic workflow id and stops. It NEVER writes the main workflow's
Current Stage— a single-stage run is isolated by design (the tool refuses to advance the main workflow).