Docs > Automations
Runs and troubleshooting
# Runs and troubleshooting Every automation dispatch creates a durable run record in `/nexus/automations/runs` (and via `dex agents runs <agent-id>` / `dex runs get <run-id>`). On a [shared agent](/agents/shared-agents/), each scheduled or Admin dispatch creates a **parent run** with nested **child runs**—one per member in fan-out mode, or one coordinator run plus its invoked member child runs in coordinator mode. ## Run statuses | Status | Meaning | What to check next | | --- | --- | --- | | **`queued` / `running`** | Dispatched and executing under a durable worker lease (or waiting on per-user concurrency slot) | Open the run detail page to follow live progress and tool calls | | **`needs_action`** | The agent completed its reasoning and created one or more Pending Action cards awaiting human review | Open `/nexus/inbox` or the configured Slack channel to review, edit, approve, or reject | | **`succeeded`** | Execution finished cleanly and any auto-approved outcomes applied | Inspect final output, skill attribution, and any linked records created | | **`skipped`** | Admission, `requires`, `condition`, or eligibility stopped the run before execution | Read the recorded skip reason on the run (or child run) | | **`failed`** | An error prevented completion (for example, `coordinator_unset`, expired OAuth token, or runtime error) | Inspect the error code and transcript in `/nexus/automations/runs/[runId]` or `dex runs get <run-id>` | ## Diagnosing common issues ### A shared agent ran, but one teammate was `skipped` Run `dex agents get <agent-id>` (or check the member's child run). Common causes: - **Unmet `requires`** — The teammate has not connected a required app or excluded it from their assigned Access Scope. Have them connect the missing app or update their Scope, then run `dex agents on <agent-id>`. - **Disabled Access Scope** — The member's assigned Scope is disabled or missing; rebind a valid Scope or revert to Default. - **Admin pause** — An Admin paused the member (`status: inactive`). Only an agent Admin can resume a paused member. ### A coordinator run failed with `coordinator_unset` `TEAM.md` contains coordinator instructions in its Markdown body, so scheduled triggers and Admin `Run now` dispatches require an assigned coordinator runner and Scope—Dex never silently falls back to fan-out. Fix: An Admin of the shared agent assigns themselves with one of their own Scopes: ```bash dex agents coordinator <agent-id> --scope <scope-id> ``` ### An edit was pushed to Factory, but the schedule did not update Commit success and **Apply** success are separate steps. Check whether Apply failed: 1. Check the output of `dex factory push` or inspect `/nexus/settings/factory` for an apply error (`last_apply_error`). 2. Fix any validation issue, or trigger **Retry apply** if the failure was transient. 3. Confirm the live automation schedule with `dex agents get <agent-id>`. ### A Pending Action card failed or paused on drift - **Drifted target** — The external record (such as an Attio deal or Notion page) changed between when the agent drafted the card and when a reviewer clicked Approve. Inspect the highlighted diff on the card and explicitly confirm the override if the write is still valid, or reject with feedback to trigger a follow-up run. - **Expired provider token** — Reconnect the integration in **Connectors** under the **card owner's** account (not an approving Admin's account), then retry the failed card (`failed -> approved`). ### An event-triggered automation never fired 1. Verify the automation is on a **personal** agent (`event` triggers are rejected on workspace shared automations). 2. Confirm `enabled: true` and Apply succeeded. 3. Check whether recent runs appear as **Skipped** because `condition` filtered out the event payload. 4. Confirm the connected integration's webhook authorization is healthy in `/nexus/connectors/[integration]`. ## Related pages - [Runs, dry runs, and self-improvement](/factory/measure-and-improve/) - Transcripts, ATIF exports, dry runs, and Agent Issues - [Tools, scopes, and approvals](/agents/tools-and-approvals/) - Pending Action state machine and drift detection - [Shared agents](/agents/shared-agents/) - Membership states (`off`, `needs_setup`, `on`) and coordinator setup - [Triggers](/automations/triggers/) - Admission rules and pre-run conditionsInterpret Dex automation run states, inspect coordinator and member child runs, and diagnose skipped or failed executions.
Every automation dispatch creates a durable run record in /nexus/automations/runs (and via dex agents runs <agent-id> / dex runs get <run-id>). On a shared agent, each scheduled or Admin dispatch creates a parent run with nested child runs—one per member in fan-out mode, or one coordinator run plus its invoked member child runs in coordinator mode.
Run statuses
Section titled “Run statuses”| Status | Meaning | What to check next |
|---|---|---|
queued / running | Dispatched and executing under a durable worker lease (or waiting on per-user concurrency slot) | Open the run detail page to follow live progress and tool calls |
needs_action | The agent completed its reasoning and created one or more Pending Action cards awaiting human review | Open /nexus/inbox or the configured Slack channel to review, edit, approve, or reject |
succeeded | Execution finished cleanly and any auto-approved outcomes applied | Inspect final output, skill attribution, and any linked records created |
skipped | Admission, requires, condition, or eligibility stopped the run before execution | Read the recorded skip reason on the run (or child run) |
failed | An error prevented completion (for example, coordinator_unset, expired OAuth token, or runtime error) | Inspect the error code and transcript in /nexus/automations/runs/[runId] or dex runs get <run-id> |
Diagnosing common issues
Section titled “Diagnosing common issues”A shared agent ran, but one teammate was skipped
Section titled “A shared agent ran, but one teammate was skipped”Run dex agents get <agent-id> (or check the member’s child run). Common causes:
- Unmet
requires— The teammate has not connected a required app or excluded it from their assigned Access Scope. Have them connect the missing app or update their Scope, then rundex agents on <agent-id>. - Disabled Access Scope — The member’s assigned Scope is disabled or missing; rebind a valid Scope or revert to Default.
- Admin pause — An Admin paused the member (
status: inactive). Only an agent Admin can resume a paused member.
A coordinator run failed with coordinator_unset
Section titled “A coordinator run failed with coordinator_unset”TEAM.md contains coordinator instructions in its Markdown body, so scheduled triggers and Admin Run now dispatches require an assigned coordinator runner and Scope—Dex never silently falls back to fan-out.
Fix: An Admin of the shared agent assigns themselves with one of their own Scopes:
dex agents coordinator <agent-id> --scope <scope-id>An edit was pushed to Factory, but the schedule did not update
Section titled “An edit was pushed to Factory, but the schedule did not update”Commit success and Apply success are separate steps. Check whether Apply failed:
- Check the output of
dex factory pushor inspect/nexus/settings/factoryfor an apply error (last_apply_error). - Fix any validation issue, or trigger Retry apply if the failure was transient.
- Confirm the live automation schedule with
dex agents get <agent-id>.
A Pending Action card failed or paused on drift
Section titled “A Pending Action card failed or paused on drift”- Drifted target — The external record (such as an Attio deal or Notion page) changed between when the agent drafted the card and when a reviewer clicked Approve. Inspect the highlighted diff on the card and explicitly confirm the override if the write is still valid, or reject with feedback to trigger a follow-up run.
- Expired provider token — Reconnect the integration in Connectors under the card owner’s account (not an approving Admin’s account), then retry the failed card (
failed -> approved).
An event-triggered automation never fired
Section titled “An event-triggered automation never fired”- Verify the automation is on a personal agent (
eventtriggers are rejected on workspace shared automations). - Confirm
enabled: trueand Apply succeeded. - Check whether recent runs appear as Skipped because
conditionfiltered out the event payload. - Confirm the connected integration’s webhook authorization is healthy in
/nexus/connectors/[integration].
Related pages
Section titled “Related pages”- Runs, dry runs, and self-improvement - Transcripts, ATIF exports, dry runs, and Agent Issues
- Tools, scopes, and approvals - Pending Action state machine and drift detection
- Shared agents - Membership states (
off,needs_setup,on) and coordinator setup - Triggers - Admission rules and pre-run conditions