ECC records every agent session, skill run, governance event, and linked work item in a local SQLite state store. The commands on this page let you query that store, inspect Claude transcript files for loop health, and emit canonical session snapshots — giving operators a complete picture of what the AI harness is doing and has done.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/affaan-m/ECC/llms.txt
Use this file to discover all available pages before exploring further.
ecc sessions
List recent ECC sessions from the SQLite state store, or drill into a single session to see its workers, skill runs, and decisions.
Usage
Flags
When provided, show full detail for a single session: workers, skill runs,
and decisions. When omitted, the command lists recent sessions.
Path to the ECC SQLite state database. Defaults to the standard location
under the user’s home directory.
Emit machine-readable JSON instead of the human-readable summary.
Maximum number of recent sessions to list. Default:
10.Session list output
Session fields
| Field | Description |
|---|---|
id | Unique session identifier |
harness | AI harness that created the session (e.g. claude, codex) |
adapterId | Target adapter used (e.g. claude-global, cursor-project) |
state | active, completed, or error |
repoRoot | Filesystem path of the repository root for the session |
startedAt | ISO timestamp when the session began |
endedAt | ISO timestamp when the session ended, or (active) |
workerCount | Number of worker agents in the session |
Session detail output
When asession-id is provided:
ecc status
Query the ECC SQLite state store for a full system snapshot. ecc status is the operator’s quick-health command — it summarises active sessions, recent skill run success rates, install health across all targets, pending governance events, linked work items, and GitHub epic coordination state.
Usage
Flags
Path to the ECC SQLite state database. Defaults to the standard home-directory
location.
Emit the full status payload as JSON. Cannot be combined with
--markdown.Render the status report as Markdown. Cannot be combined with
--json.Write the formatted output to a file at the given path. Requires
--json or
--markdown; cannot be used with plain text output.Maximum number of items to show in each section (active sessions, recent skill
runs, pending governance events, work items). Default:
5.Return exit code
2 when the readiness status is not ok, enabling use as
a CI gate.Status sections
| Section | What it shows |
|---|---|
| Readiness | Overall status (ok / attention), attention item count, and per-dimension counts |
| Active sessions | Sessions currently in active state with harness, adapter, repo, and worker count |
| Skill runs | Success/failure/unknown counts and rates over the recent window |
| Install health | Per-target install status, profile, module count, and source version |
| Governance | Pending governance events with type and session association |
| Work items | Open, blocked, and closed item counts with source, status, and owner |
| GitHub epic coordination | Available, claimed, ready, blocked, validated, and published epic counts |
Examples
ecc work-items
Track linked Linear issues, GitHub issues and PRs, handoff items, and manual roadmap items in the ECC SQLite state store. Work items surface in ecc status as blocked operator follow-up and are visible in the control pane.
Usage
Subcommands
list
list
Print recent work items from the state store.
show
show
Print full detail for a single work item by its local ID.
upsert
upsert
Create or update a work item. The local
<id> is optional — one is
generated when omitted. All --source, --source-id, --status,
--priority, --url, --owner, --repo-root, and --session-id flags
are optional and can be provided individually.close
close
Mark a work item as closed. Defaults to
--status done.claim
claim
Assign a work item to an owner, recording whether the claimant is an
agent or human.sync-github
sync-github
Fetch open issues and PRs from a GitHub repository and upsert them as
github-source work items in the state store.Work item fields
| Field | Description |
|---|---|
source | Source system: linear, github, handoff, manual, github-epic |
sourceId | Source-local identifier, e.g. ECC-20 or a PR number |
title | Human-readable description of the work item |
status | open, in-progress, blocked, done, or custom |
priority | Optional priority label |
url | Optional link to the source issue or PR |
owner | Optional owner label (agent name or human handle) |
repoRoot | Filesystem path associating the item with a specific repository |
ecc session-inspect
Emit canonical ECC session snapshots from dmux orchestration plan files or Claude session history targets. Also supports skill health and amendment workflows via the skills:* target namespace.
Usage
Targets
| Target | Description |
|---|---|
<plan.json> | Path to a dmux/orchestration plan file |
<session-name> | Dmux session name when the coordination directory exists |
claude:latest | Most recent entry in ~/.claude session history |
claude:<id|alias> | Specific Claude session by ID or alias |
<session.tmp> | Direct path to a Claude session file |
skills:health | Inspect skill failure/success patterns from observations |
skills:amendify | Propose a SKILL.md patch from failure evidence |
skills:evaluate | Compare baseline vs amended skill outcomes |
Flags
Override the session adapter ID used to inspect the target.
Override automatic target type detection (e.g.
claude-history).Write the JSON snapshot to a file at the given path instead of (or in
addition to) printing to stdout.
Print all registered session adapter IDs.
When using
skills:amendify or skills:health, specify the skill ID to
focus on.Examples
ecc loop-status
Inspect Claude transcript .jsonl files under ~/.claude/projects/ for stale loop wakeups and pending tool results. Surfaces two signal types: schedule_wakeup_overdue (a ScheduleWakeup tool call whose due time has passed without assistant progress) and pending_bash_tool_result (a Bash tool call with no matching result entry and an age exceeding the timeout threshold).
Usage
Flags
Emit machine-readable status JSON instead of the human-readable text report.
Override the home directory to scan. Defaults to
$HOME.Inspect a single transcript file directly instead of scanning
~/.claude/projects/. Repeatable.Maximum number of recent transcripts to inspect (by modification time).
Default:
10.Age in seconds before a pending
Bash tool call is considered stale.
Default: 1800 (30 minutes).Grace multiplier applied to the scheduled delay before a
ScheduleWakeup is
considered overdue. Default: 2.Override the current time for testing. Accepts ISO 8601, epoch milliseconds,
or the literal string
now.Return exit code
2 when any session has an attention signal, 1 on scan
errors. With --watch, requires --watch-count.Continuously refresh status until interrupted with
Ctrl-C. Use
--watch-interval-seconds to control the refresh rate.Stop after N watch refresh cycles. Required when combining
--watch and
--exit-code.Seconds between watch refreshes. Default:
5.Write
index.json and per-session snapshot files to the given directory for
external dashboards or CI artifact collection.Signal types
| Signal | Trigger condition |
|---|---|
schedule_wakeup_overdue | A ScheduleWakeup tool call is past its due time (including grace period) with no subsequent assistant progress |
pending_bash_tool_result | A Bash tool call has no matching result entry and its age exceeds --bash-timeout-seconds |
transcript_parse_errors | One or more JSONL lines in the transcript could not be parsed |