aidlc-feedback-optimization

Run the AI-DLC `feedback-optimization` stage (operation phase) in isolation, without advancing the main workflow. Packages `/aidlc --stage feedback-optimization --single`: the engine emits one run-sta

SKILL.md

GitHub

AI-DLC Stage Runner — feedback-optimization

Run the feedback-optimization stage on its own. This is opt-in packaging over /aidlc --stage feedback-optimization --single; the same stage is always reachable via that flag without this skill.

Steps

  1. Ask the engine for the single-stage directive:

    aidlc engine orchestrate next --stage feedback-optimization --single
    

    The engine emits one run-stage directive for feedback-optimization (carrying the lead agent, the resolved consumes/produces paths, the rules and sensors in context, and the conductor persona on the workflow's first run-stage). When the stage's rules do not fit beside it (most stages on GitHub Copilot, and any stage whose memory files have grown large), load-steering parts come first instead. For each part, apply directive.rules_content in array order and keep it as this stage's rules, and adopt conductor_persona when the part carries it. Then run aidlc engine orchestrate continue <directive.receipt> (the receipt is the 8-character string printed at the top of the directive; copy it, never rebuild it) and act on the directive that comes back. Do not call report for a part or tell the user about it. Repeat until the run-stage arrives, show its stage_validity and change_notices once, and run the stage exactly as it describes; do not load the conductor persona by hand, the engine delivers it.

  2. Before acting on the directive, read .claude/aidlc-common/protocols/stage-protocol.md. Then read every .claude/aidlc-common/protocols/stage-protocol-<module>.md named by directive.protocol_modules. Load every listed module before reading the stage body or running its topology; skip only a module already loaded earlier in this session.

  3. When the stage's work is done, commit the single-stage record:

    aidlc engine orchestrate report --single --stage feedback-optimization --result completed
    

    This 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).