---
name: amadeus-observability-setup
description: >
  Run the AI-DLC `observability-setup` stage (operation phase) in isolation, without
  advancing the main workflow. Packages `/amadeus --stage observability-setup --single`:
  the engine emits one run-stage directive for observability-setup and its gate, the
  conductor runs it, then the single-stage run commits a synthetic-id pair and
  stops. The main workflow's Current Stage is never touched.
argument-hint: ""
user-invocable: true
---

# AI-DLC Stage Runner — observability-setup

Run the `observability-setup` stage on its own. This is opt-in packaging over
`/amadeus --stage observability-setup --single`; the same stage is always reachable via
that flag without this skill.

## Steps

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

   ```bash
   bun .codex/tools/amadeus-orchestrate.ts next --stage observability-setup --single
   ```

   The engine emits one `run-stage` directive for `observability-setup` (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.

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

   ```bash
   bun .codex/tools/amadeus-orchestrate.ts report --single --stage observability-setup --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).
