--- name: amadeus-bugfix description: > Run the AI-DLC workflow with the bugfix scope baked in — no scope detection. Fix a specific bug. Packaging over `/amadeus --scope bugfix`, which works without this skill. argument-hint: "[description | --status | --stage | --phase ]" user-invocable: true --- # AI-DLC — bugfix scope Drive the AI-DLC engine with the **bugfix** scope fixed. This is the same deterministic forwarding loop the `/amadeus` orchestrator runs, with `--scope bugfix` baked into the first `next` so scope detection is skipped. The engine owns all routing; the conductor persona arrives on the first directive's `conductor_persona` field — adopt it for the whole run. ## The loop 1. `directive = bun .codex/tools/amadeus-orchestrate.ts next --scope bugfix $ARGUMENTS` 2. Act on `directive.kind` exactly as the orchestrator does (run-stage / ask / print / error / done) — see `amadeus-common/protocols/stage-protocol.md`. 3. `bun .codex/tools/amadeus-orchestrate.ts report --stage --result [--user-input ""]` when the directive names a stage; omit `--stage` only for non-stage report round-trips. 4. Repeat from step 1 until `directive.kind == done`. Pass `$ARGUMENTS` through verbatim after `--scope bugfix`; the engine parses any flags (`--status`, `--stage`, …) and the `--scope` from the state file always wins on an existing workflow, so re-running a started workflow resumes it. To run a different scope, use `/amadeus --scope ` instead.