Workflows status

From SteveGJones/ai-first-sdlc-practices · View interactive version

Workflows status is an AI agent skill from the GitHub repository SteveGJones/ai-first-sdlc-practices. Check the status of running or recent SDLC delegated workflows.

How to use this skill

Skill file

SDLC Workflow Status

Query Archon workflow runs — live + historical — without depending on

archon being on PATH.

Arguments

event in order

Steps

1. Query the Archon state

The archon CLI only exposes archon workflow status (active runs, no

run-id filter) and archon workflow list (available workflows, not runs).

Neither covers the ask. Use the query helper instead — it prefers the

REST API on archon serve (if running) and falls back to reading the

SQLite state DB at ~/.archon/archon.db:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/workflows_status_query.py \
    [--running | --recent <N> | --run-id <id>]

Additional flags:

Behaviour matrix:

| archon serve running? | Output source |

|-------------------------|---------------|

| Yes | REST API — live + historical, richest |

| No | SQLite read — historical + most-recent, read-only |

If neither is available (fresh machine, no Archon state yet), the script

returns (no workflow runs found) cleanly — this is not an error.

Important — Archon UI clickthrough is degraded for CLI-launched runs.

archon serve only renders the rich UI (DAG graph, conversation thread,

live events) for workflows launched through the server. Workflows

started by /sdlc-workflows:workflows-run use the CLI path — they write

to the same SQLite DB and show up in archon workflow status and in

this skill, but the web UI's per-run detail pages will render empty for

them. This is how Archon 1.x scopes the server — not a bug on our side.

For CLI-launched runs use this skill (REST or SQLite), the CLI's own

stderr stream, or docker logs -f.

Prefix matching on --run-id: the --recent table only prints

the first 8 characters of each id. The helper accepts any unique

prefix — no need to look up the full 32-char UUID. If two runs share

a prefix you will get an "ambiguous" error; paste more characters.

2. Present results

Default output is a table:

Source: rest  (archon serve)
RUN ID     WORKFLOW                       STATUS       STARTED              STEP
---------------------------------------------------------------------------------
bbdfce69   feature-pipeline               completed    2026-04-19 20:26:10
a1b2c3d4   parallel-review-pipeline       running      2026-04-19 20:30:02  2

Report to the user:

archon serve in another terminal gives live event data **and

opens the Archon web UI at http://localhost:3090**, which

visualises every run, every node, every event.

user asked for a narrative.

node_completed / node_failed events in order — highlight any

failures.

archon workflow run <name> --resume picks up the most recent

failed run from where it stopped.

3. Companion skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.