# 3.7 Monitor Orchestrator Staging ## Capability summary When `orchestrator.enabled: true` in `config.yaml`, the application exposes a staging dock that surfaces the live state of the `/` directory. Each staged run has an `ingest.json` that records its current lifecycle state, file count, byte total, and elapsed time since last activity; the dock summarises every staged run as a row, with per-row actions (force sync, clear verified, view log). Action semantics are backend operations defined in design spec section 13.7; the operator sees their effects via the row state and the cleared-verified count. See section 02 §3.7 for the authoritative contract. ## Walkthrough 1. **Open the staging dock.** Either navigate directly to the staging surface (`/staging` in the test app) or open the main window with the orchestrator panel enabled (`/main?orchestrator=1`). 2. **Inspect rows.** Each row (`data-testid="staging-row-"`) surfaces the current ingest state and aggregate counters. 3. **Take action.** Per-row buttons drive the backend operations; force-sync (`data-testid="staging-row--force-sync"`) re-queues the run, clear (`data-testid="staging-row--clear"`) marks the row cleared, and view-log (`data-testid="staging-row--view-log"`) opens the log viewer. ## Screenshots ```{image} ../_static/screenshots/07_orchestrator/01_initial.png :alt: Staging dock with one row in the staging state :align: center ``` ```{image} ../_static/screenshots/07_orchestrator/02_main.png :alt: Main window with the orchestrator staging panel enabled :align: center ``` ## Related material - Design spec section 12 (Orchestrator Mode) -- the architectural contract for orchestrator workstations. - Design spec section 13 (Equipment to Orchestrator Data Flow) -- the end-to-end staging lifecycle and the row-level action semantics. - Design spec section 11 §11.5 (`ingest.json`) -- the underlying per-staged-run state file.