Sessions
The Sessions screen in the web app and the Desktop app — the list and detail of every AI coding run Closedloop.ai observes, its filters, and its status model.
A session is a single AI coding run — one Claude, Codex, Cursor, Copilot, or OpenCode invocation — that the Desktop app observed and, when you are signed in, synced to the cloud. Open Sessions in the sidebar of either the web app or the Desktop app: both show the same filterable list of runs, and opening a row shows that run's detail page. The agent-sessions MCP tools expose the same data programmatically.
Filters
The filter menu on the Sessions list offers these facets, in both the web app and the Desktop app:
| Facet | What it matches |
|---|---|
| Status | Active, Inactive, Failed (see the status model below). |
| Owner | The user attributed as the run's owner. |
| Autonomy | How autonomously the run operated. |
| Harness | The agent that produced the run. Options are derived from the sessions actually present. |
| Model | The model the run used. |
| Cost | Cost-range buckets (see cost buckets). |
| Repository | The repository the run worked in. |
| Changes | Has changes / No changes. |
| Pull request | Has PR / No PR. |
Cost buckets
The Cost facet buckets sessions by their displayed (2-decimal) cost:
| Bucket | Range |
|---|---|
| ≤ $1 | [0, $1] (inclusive of $1.00) |
| $1 to $10 | ($1, $10] |
| $10 to $50 | ($10, $50] |
| $50+ | > $50 |
| Unknown | No priced cost and no subscription |
A session whose cost is unknown renders — instead of $0.00 and matches only the Unknown bucket, never a numeric one.
The status model
The Status facet and the status badge use three values:
| Status | Label | Meaning |
|---|---|---|
active | Active | The run is in progress. |
inactive | Inactive | The run is over and did not fail. |
error | Failed | The run failed. |
waiting, stale, and unknown are retired. A run awaiting user input, a long-silent run, and a run with an unparseable stored status all display Active.
completed and abandoned were retired. (ISS-4654/ISS-5592, earlier than waiting/stale/unknown above, and retired the same way): ordinary unrecognized values that fail open to active on write, the same fail-open every other unmodelled spelling takes. An API or MCP consumer may still send any non-empty status string — ingest accepts it rather than rejecting the write, but does not persist it verbatim: it folds every other unmodelled or retired spelling onto one of the three lifecycle values before the write, so a new row's stored value is always one of those three, and a read never returns anything else as a display word either.
The detail page
Opening a session row opens its detail page, in both the web app and the Desktop app: the run's Properties, its linked artifacts (PRs, branches, commits, and Closedloop documents), an activity timeline, and its transcript.