Closedloop.ai
Reference

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:

FacetWhat it matches
StatusActive, Inactive, Failed (see the status model below).
OwnerThe user attributed as the run's owner.
AutonomyHow autonomously the run operated.
HarnessThe agent that produced the run. Options are derived from the sessions actually present.
ModelThe model the run used.
CostCost-range buckets (see cost buckets).
RepositoryThe repository the run worked in.
ChangesHas changes / No changes.
Pull requestHas PR / No PR.

Cost buckets

The Cost facet buckets sessions by their displayed (2-decimal) cost:

BucketRange
≤ $1[0, $1] (inclusive of $1.00)
$1 to $10($1, $10]
$10 to $50($10, $50]
$50+> $50
UnknownNo 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:

StatusLabelMeaning
activeActiveThe run is in progress.
inactiveInactiveThe run is over and did not fail.
errorFailedThe 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.

On this page