groom
A local, single-process web dashboard for workhorse agent-workflow operator
gates. Run groom serve on your host while author/coder (or any other
workhorse-based workflow) runs in the background. groom shows every running
workflow, pages you the moment one blocks on an operator gate, and lets you answer
the gate from the browser. The shared await_operator node blocks in place rather
than exiting, so the run keeps running. The answer travels over the run's own
workhorse control socket and the run wakes at once. The gate file stays the durable
record, and the fallback channel when nothing is listening.
Beyond the gates, the same dashboard is the fleet's telemetry reader — every run's spans, per-node timings and error status, filterable without leaving the browser:
How it works
Changing groom's code? Read docs/ARCHITECTURE.md first. It holds the stack constraints, the accessibility contract and the package layout.
- Each run pushes its telemetry to
groomover OTLP. A run on groom's own host also advertises its run directory, workspace and pid.groomreads both from local disk to answer the run's gates and to show its checkout path. A container run whose sidecar is connected also gets Files and Diff tabs in its detail. A native run has neither tab. A run with nogroomlistening behaves the same. groomholds live fleet and browser state in memory and pushes JSON state to open browser tabs over a websocket; the browser renders it with Preact + htm (the vendoredhtm/preactstandalone build — no build step, nonode_modules). Every shape the socket pushes is also fetchable over HTTP, so a tab whose socket has gone quiet resyncs instead of going stale. Those pushes are edge-triggered: a source marks the fleet dirty, and one flush everyGROOM_FLUSH_S(0.1s) sends arunframe for each row whose content changed, arun_removedframe for each row that left, and afleet_metaframe when the status bar or attend summary moved. A quiet fleet sends nothing. The half of a row that depends on the clock is not pushed. Groom keeps one deadline per run, which fires when the run's silence passesGROOM_LIVE_AFTER_Sand turns its row dead. The browser and the terminal client drawsilent 4mandin node 12mthemselves fromlast_seen_tsandclock.since_ts. Each tab queue holds 256 frames. A tab that falls behind gets one freshstateframe instead. The open run's detail goes out in the same flush, only when it changed. Activity and Raw fetch again when itsactivity_revormetrics_revmoves. EveryGROOM_HEARTBEAT_S(5s) groom sends each tab a{"type": "ping"}frame so a quiet fleet does not read stale. Clients count it as a received frame and draw nothing from it. The/feedsocket is the one socket meant for a program rather than a tab: it carries one run's events and a periodic digest, andgroom waitandgroom feedread it. A selected run loads its head, gates and metrics from SQLite once when its watch subscription opens. A loading indicator covers that initial read. Committed OTLP batches update the detail in memory and push it immediately to the watching tabs; the clock tick only refreshes elapsed labels, with no database reads. Tabs share the watched detail, which is released when the last tab leaves. Reopening the run loads a fresh snapshot, and reconnecting restores the subscription automatically. The Activity tab reads every stored record of the run on demand. Its Raw view lists spans, logs, turn events and churn alerts newest first, 200 at a time with Load older records, and hides metric samples until Metric samples asks for them.GET /api/run/{run_id}/recordsserves the pages.- Fleet rows and the detail pane project the same received telemetry. Operator and
machine wait gauges carry their gate path and question; node, activity, elapsed
time and terminal state come from the run's exports. The freshness label shows
how old that evidence is. Silence leaves the last reported state visible; groom
does not infer completion by reading checkpoints,
run.json, or the host PID. A resumed process exports a new session identity, replacing the prior session's live values as its telemetry arrives. The gate pane shows only the latest question set, in full, including nested headings. Questions render as Markdown (marked, sanitized withDOMPurifybefore insertion since the content is LLM-authored). The automatic attendant receives that same latest question set. Earlier exchanges stay in the gate file; the pane has no additional context disclosure. A container run with a connected sidecar has a Diff tab that shows itsgit diffby file (rendered withdiff2html), either uncommitted or since the branch started. All front-end assets are vendored locally; nothing is loaded from a CDN at runtime. - Gates travel over the run's control socket, with the file as the record. An
answer goes socket-first —
groomasks the run what it is waiting on and delivers the answer on the run's own path spelling; the run persists it into the gate file before acknowledging — and falls back to writing the gate file from outside only when nothing answers on the control socket. Wait telemetry updates native gate discovery, including after groom reconnects. Socket questions are queried when submitting an answer so the write uses the waiting process's exact path. Machine waits show their pending result without an operator answer form.
Install
groom will publish to PyPI as stablemate-groom, because the name groom belongs to an
unrelated project. Until that release, install it from a checkout of the
stablemate workspace:
pipx install ./groom # isolated CLI on your PATH
Requires Python ≥ 3.12. groom is an optional add-on — no base workflow requires it — and
nothing has to be configured on the workflow side: workhorse probes for a collector at
the default port when a run starts.
Usage
groom serve # binds 127.0.0.1:8787 — loopback only, the default
groom serve --host 0.0.0.0 # all interfaces: for runs on another machine (see note)
From a checkout of this workspace, prefix each command with uv run (uv run groom serve)
to use the working tree instead of the installed copy.
Binding. groom binds loopback by default because it has no authentication, and it answers operator gates. A run on another machine needs
--host 0.0.0.0. That choice prints a one-line exposure warning, and--allow-non-loopbackacknowledges it. Only do that on a trusted network.
Attach a run that is not in a container
A run on another machine, with no Docker around it, can still show its Files and Diff tabs. Reach groom from that machine, then start the sidecar next to the run:
GROOM_HOST=127.0.0.1 GROOM_PORT=8787 \
GROOM_RUNS_DIR=/path/to/runs GROOM_WORKSPACE_DIR=/path/to/workspace \
groom-sidecar
GROOM_HOST and GROOM_PORT name the groom the sidecar dials, for example the local end
of an ssh tunnel. GROOM_RUNS_DIR holds the run directories and GROOM_WORKSPACE_DIR holds
the checkout.
The sidecar takes the run id, the workflow, the repo name and the branch from the latest
run directory's run.json. It says hello again when that record appears or changes, so
you can start it before the run. Outside Docker it sends no container id, and groom keys
the row by the run id. Two sidecars on one host with different runs make two rows. Set
GROOM_CONTAINER_ID to name a container yourself.
A run that also pushes telemetry to this groom is one row, not two. When the sidecar drops, a row it made alone goes with it. A row built from telemetry stays.
Telemetry collector (OTLP) + AFK alerting
groom is also the default local OpenTelemetry collector for workhorse
runs. The same uvicorn process
and port expose standard OTLP/HTTP receivers — POST /v1/traces,
POST /v1/metrics and POST /v1/logs — so an ordinary run
workhorse-coder run # probes the endpoint at start; exports if groom answers
(No env var is needed while groom serve is up on the default port — workhorse
enables telemetry when it finds a collector listening. Point elsewhere with
OTEL_EXPORTER_OTLP_ENDPOINT, or opt out with WORKHORSE_OTEL=0.)
It streams node/agent-turn spans, gas/heartbeat metrics, and the log records of the
engine and every node it runs in-process into groom. Because a
pushed span carries its own identity, every run appears with no discovery
step. Spans and metrics persist in an embedded SQLite file
(groom.db in the platform data dir; override with GROOM_DB), searchable
from the Activity tab's Raw view or with raw sqlite3 queries. Rows older than
GROOM_RETENTION_DAYS (30) are pruned at startup and on a periodic tick — but
only for a run whose telemetry is already archived to disk (below), so the
window bounds the database, not the evidence.
A batch the store cannot take is answered 503 with a Retry-After, not 500: the
exporter re-sends it, where an unhandled error would have said "stored" by omission.
That is a deliberate trade of duplicates for losses — spans and turns are keyed and
absorb a re-send, metrics and logs are plain appends and a retried batch can land
twice. Duplicate rows are cosmetic in tables read by recency; a dropped batch is gone.
The connection behind it recycles itself on a SQLite error and retries once, so a
wedged handle heals on the next request instead of at the next restart. Whether any of
that has happened is in GET /api/state under store — reopens, failures,
last_error, and ok, which is false only while a failure is newer than the last
statement that worked.
The liveness counters — workhorse.run.heartbeat, workhorse.turn.heartbeat,
workhorse.cap_wait.heartbeat — are never stored at all: insert_metrics
drops them at the door. They tick every ~10s for every open node, so
on long runs they outgrow everything else combined: in one real store the run
heartbeat alone was 1.77M of 2.21M metric rows, and a later one hit 2.8 GB with
heartbeats ~80% of 18M rows. Nothing reads their history — the alert rules fold
them into memory at ingest, and groom status asks the running server for that
in-memory picture over HTTP (/api/live) — so persistence bought nothing and
cost most of the file. Rows written before this change drain on age alone: the
never-archived series are swept by the ordinary prune without waiting for an
archive behind them, because there is none. The seven liveness gauges
(turn.active, turn.idle_s, turn.elapsed_s, wait.active, wait.elapsed_s,
node.active, node.elapsed_s) are stored and read live but not archived, on the
same reasoning: climbing idle on an active turn diagnoses a wedged agent now,
while an explicit wait is expected parked work, and neither question is asked of a
run that ended a month ago. models.UNARCHIVED_DELETABLE_METRICS names them, in
one place, because what may be deleted without a copy is a rule that has to be
readable rather than inferred.
Archival: SQLite is the live tier, disk is the permanent one
A run's spans and logs are not lost when they age out. Once a run has been quiet
longer than GROOM_RETENTION_DAYS, an archival pass writes everything it holds —
every span, every log, and the four budget metric series — as one
telemetry.jsonl beside that run's transcripts, and only then does prune delete
the rows. Write, move, delete, in that order: prune is fail-closed and refuses to
touch a run the archive has not reported back.
<data dir>/transcripts/<run-id>/… live runs, the harvester's only target
<data dir>/archives/<run-id>/ frozen: transcripts + telemetry.jsonl
Two roots on one filesystem, so promotion is a single os.rename. An archived
run is frozen — never re-archived, never resumed, never written again. A second
run claiming a name already under archives/ is archived under a derived name
(R-a1b2c3d4) rather than overwriting it.
The file is one JSON object per line, ordered by ts, discriminated by kind
(span / log / metric), with line 1 a manifest naming the run and its row
counts. Records carry run_id, node, generation and seq, which is exactly
the key the per-node transcripts are classified by — so the telemetry joins the
transcripts with no correlation step. The heartbeats and the liveness gauges never
reach it; they are for the in-memory picture, not for history.
The archive has no automatic retention and no index table: the set of
archived runs is what is on disk under archives/, read by listing it. A sweep
interrupted halfway resumes from the manifest rather than rewriting the file.
Nothing leaves the archive until you run groom purge (below).
groom cost --run, groom loops --run and groom profile answer for an archived run
through telemetry.db, a derived index in the run's archive folder. Groom builds it from
telemetry.jsonl on the first query and reuses it until the jsonl is newer. The jsonl stays
the source, so the index is safe to delete and costs one rebuild.
groom archive status # root, frozen runs, pending, held, last sweep
groom archive ls # what is frozen (--long for the manifests)
groom archive show RUN # stream one run's telemetry.jsonl
groom archive now --dry-run # force a pass; --dry-run writes nothing
The pass runs in its own task at groom serve launch, seeded already-expired so
a restart archives immediately, then every GROOM_ARCHIVE_EVERY_S (6h) for at
most GROOM_ARCHIVE_RUNS_PER_PASS (25) runs — oldest first, the rest reported as
pending. Nothing in it may raise into groom's tick.
Purging old runs
groom purge deletes every run whose latest record is older than a number of
days, wherever groom keeps it: its archive folders, its transcripts folder, its
spans, logs, metrics and turn index rows, and its History row. There is no undo,
so preview first:
groom purge --older-than 30 --dry-run # which runs, and how much disk they hold
groom purge --older-than 30 # delete them, then VACUUM groom.db
The run is the unit. A run's age is its latest record across the database, the turn index, its History row and its archive manifests, so a run resumed last week keeps the archive it wrote two months ago. A transcripts folder that no record names is as old as the folder. A run the database still holds is purged without being archived first.
The same cutoff removes the attendant's transcripts that nothing running still names, and the attendances and dispatch items that ended before it.
A purge moves each folder to <data dir>/purging/ before it deletes any row, so
the dashboard never reads half a run. A purge that stops halfway leaves that
folder behind, and the next purge empties it. --no-vacuum skips the VACUUM,
which needs free disk about the size of groom.db while it runs.
Native runs are first-class dashboard rows, not just telemetry. A run on
groom's own host advertises its run_dir, workspace path, pid, and per-node
activity label on the OTLP resource; groom materializes a fleet row from that
(keyed by run_id), shows what it is doing ("coder · reviewing ACME-A2JX"), and —
because it shares the host — shows the row's checkout path and answers its
operator gates straight from the local filesystem (groom.localfs). A native row
has no Files or Diff tab. Those tabs belong to a container run with a connected sidecar. The native test
is self-validating. groom draws the row only for a run whose run_dir it can read
locally, so a run whose paths don't resolve on this host never double-lists.
Alert rules run on every ingest plus a periodic tick, and page you through
browser notifications and an away-from-keyboard push — configure
GROOM_NTFY_TOPIC (posts to https://ntfy.sh/<topic>; override the server
with GROOM_NTFY_URL) and/or GROOM_WEBHOOK_URL (JSON {"title","message"}):
| Rule | Fires when | Knob (default) |
|---|---|---|
| STALL | a live run emits nothing — no span, no heartbeat | GROOM_STALL_MIN (90) |
| STUCK | a live agent turn is silent too long, or deterministic work has sat in one node too long; explicit waits are excluded | GROOM_STUCK_MIN (75) |
| CHURN | the same node span completes again and again under an unchanged labels() signature — i.e. on the same unit of work. A visit a live reload cut short (workhorse.cut) is an interruption, not a repeat, and does not count |
GROOM_CHURN_REPEATS (5) |
| COMPACT-LOOP | one agent turn reports GROOM_COMPACT_LOOP_AT or more auto-compactions (workhorse.turn.compactions); it re-arms when the turn ends |
GROOM_COMPACT_LOOP_AT (4) |
| WATCHDOG | a watchdog_kill span event arrives |
— |
| GAVE-UP | a give-up node's span arrives | GROOM_GIVEUP_NODES (qa_give_up,fix_give_up) |
| ENDED | the run's root span arrives — the run is over, whatever the verdict, and nothing is executing for it now | — |
| BLOCKED | an operator gate opens — the run is parked until someone answers it. A cap wait does not count | — |
| WAITING | that gate is still unanswered later | GROOM_WAIT_MIN (30) |
Groom deliberately does not alert on total run age: resumptions reuse a run identity and multi-day
runs are normal. Use workhorse's WORKHORSE_MAX_RUNTIME_S when a run needs a hard wall-clock limit.
The crux: workhorse heartbeats for as long as its process lives, so silence
and slowness are different observations. STALL means the run stopped emitting
(dead/killed/frozen); STUCK means it is alive and parked. Alerts dedupe per
(run, rule).
ENDED covers the case neither absence rule can, because a terminal is precisely what retires a run from both of them: the run finished. That is the loudest event on a queue — nothing is executing until someone launches the next run — and until it existed it was the only one that paged nobody. It fires on every ending, naming the terminal and the error class, because from outside "it crashed" and "it succeeded" are the same silence. A resume reuses the run id and clears the fired set, so the next session's ending pages on its own.
A process killed before it exports its terminal remains in its last reported state with an aging freshness label. STALL reports the missing telemetry; completion requires the run's terminal export.
BLOCKED and WAITING cover the mirror image: a run parked on an operator gate is
behaving correctly, so no rule described it, and STUCK skips an open wait by
design. Yet it is the only alert whose subject can end it — the human reading the
page is the missing input. Answering the gate closes the wait and retires both.
Run groom serve under nohup/systemd as the always-on collector
(the consuming repo's make groom-serve target does exactly that).
Where is my run right now?
Spans export on completion, so a run's current node — the only one that
matters when it will not finish — has no row in spans and never will while it
hangs. The live picture therefore comes from metrics, which ship on a timer
regardless of span state:
uv run groom status # every live run: open node, node age, agent idleness
uv run groom status --run <id> # one run
uv run groom status --json # same data, machine-readable
Read it like this:
| Reading | Means |
|---|---|
alive, node age small |
working normally |
alive, explicit wait |
operator/cap/retry wait — parked deliberately |
alive, active turn age large, agent idle small |
a long but streaming turn — healthy |
alive, active turn, agent idle large |
wedged agent/tool/API inside the node |
alive, no turn or wait, node age large |
wedged deterministic work inside the node |
no heartbeat (DEAD?) |
the process is gone — SIGKILL, OOM, crashed host |
Follow a run: events and a periodic digest
uv run --all-packages groom feed --run RUN --every 30m
uv run --all-packages groom feed --run RUN --json --since 1792339000.5
uv run --all-packages groom wait --run RUN --json
uv run --all-packages groom wait --run RUN --until blocked,ended
/feed is a WebSocket on groom serve for one run. It carries two kinds of
frame and works with no dashboard tab open. A program or an agent session reads
it. A tab reads /ws.
| Query parameter | Meaning |
|---|---|
run |
Required. The exact telemetry run ID. An unknown ID is allowed: the feed waits for the run to appear. |
every |
Digest interval in seconds. Default 1800. Values below 60 are raised to 60. |
since |
Optional replay cursor, a timestamp. Use the ts of the last frame received before a reconnect. |
Every frame carries type, seq and ts. seq counts from 1 on each
connection. ts is the wall clock when the server sent the frame.
An event frame arrives the moment an alert fires. Its event field holds
run_id, event, node, question, gate_path, terminal and message.
event is one of blocked,ended,stuck,stalled,gave-up,churn,watchdog,died,waiting,compact-loop.
Machine, capacity and retry waits do not count as operator gates.
A digest frame arrives every every seconds, even when nothing happened.
Silence is not success: a run that stopped emitting and a run that has nothing
to report look the same without it. Its fields:
sinceanduntil: the window the digest covers.known: false when groom has no telemetry, stored row or event for the run. The summary then says there is no such run yet, and the feed keeps waiting for it to appear.quiet: true when the window holds no spans, no events and no log line at WARNING or above. A quiet digest needs no action.summary: one line to read first, such asquiet 14:30-15:00 · in reground-file 47m 00s · turn streaming, idle 3.0s · +$1.20.standing: where the run is now. It holds the node and its age, the turn state and idle time, the wait kind and age, gas, liveness, the terminal state, and the open gate's path and question.window: what happened betweensinceanduntil. It holds per-node visits, turns, cost and output tokens, laps per work item, operator gates with their outcome, the events that fired, up to ten warnings, and the totals.
On connect the feed sends the conditions already active for the run as event
frames, so a run that is blocked before anyone listens is reported at once. It
then sends a digest for the last every seconds. With since, it sends instead
every event recorded after the cursor, then any condition still active that the replay did not carry, then a digest from the cursor to now. The
server keeps the last 200 events per run in memory. A restart of groom serve
empties that history. A failure while building a frame is logged by the server and closes the socket with code 1011 and a reason, so groom feed prints it and exits 1.
groom feed prints one line per frame and never exits on its own. --json
prints each frame as one JSON line. --every accepts 30m, 10m, 3600s or a
bare number of seconds. --since takes a timestamp.
groom wait is a second client of the same feed. It stays silent during normal
progress and ignores digest frames. It returns one event and exits when the
named run is blocked, ended, stuck, stalled, gave up, or is stuck compacting. --until selects a
comma-separated set from blocked,ended,stuck,stalled,gave-up,churn,watchdog,died,waiting,compact-loop.
There is no timeout. Ctrl+C cancels the monitor without stopping the workflow.
A run not yet known to the server is watched until it reports a matching
condition. This uses the server's current cache, not an archive search: an
ending evicted from that cache is no longer available. Starting a new waiter
while the same condition remains active returns that condition again.
--run takes the exact telemetry run ID. GROOM_URL selects the collector, as
for groom status. Both CLI and server must support the feed protocol. An older
server is reported as a monitoring error. JSON output of wait contains
run_id, event, node, question, gate_path, terminal, and message;
unavailable context is an empty string.
wait exit |
Meaning |
|---|---|
0 |
A matching event arrived, even if the workflow failed. |
1 |
The connection or protocol failed. |
2 |
Invalid arguments. |
130 |
Cancelled. |
Neither command reconnects on its own. A disconnection is reported instead of
silently crossing a gap in monitoring. feed --since is how a caller closes
that gap.
Talk to a run from a Claude Code session (groom channel)
groom channel is a stdio MCP server that Claude Code runs as a channel. It
makes a Claude Code session the operator of the runs it watches. Everything a
run sends its operator reaches the session: the question of the gate it is
parked on, from its outbox, and each message it leaves in its inbox. The
session answers through the same channel. A message wakes a session that sits
idle. The session polls nothing, and no monitor expires under it.
The channel offers two tools:
watchfollows a run. A session calls it with arun_id, and the channel follows that run's/feedfrom then on.replysends text to a run. Withgate_path, it answers that gate, the same ascontrol answer, and the parked run resumes. Withoutgate_path, it leaves a message in the run's inbox, the same asPOST /api/run/{run_id}/inbox. The run reads the message at its next poll point.
The home config that farrier install --user writes registers the server as
groom in every directory. Channels are a research preview, so a custom
channel loads only with the development flag:
claude --dangerously-load-development-channels server:groom
Claude Code shows a warning first. Pick "I am using this for local
development". The flag works in an interactive claude session only. A -p
run or an Agent SDK run ignores it.
A message arrives as <channel source="groom" run_id="..." kind="...">:
kind |
Body | Other attributes |
|---|---|---|
event |
the line groom wait prints |
event, plus node and gate_path when known |
inbox |
a message the run left, or the run's reply to a session message | message_id and inbox_kind for the first, in_reply_to for the second |
digest |
the digest summary |
quiet |
connection |
groom became unreachable, or came back | state is lost or back |
A blocked event carries the gate's gate_path, which reply takes to
answer it. When the run's telemetry names no gate, the channel reads the path
from the run's outbox.
The channel reads the run's inbox after each frame. A message the run left,
such as a failure handoff, arrives once. The run's reply to a message arrives
once the run writes it. When a watch starts, the messages the run left with no
reply yet arrive, and replies written before the watch do not.
watch takes every_minutes for the digest interval, 30 by default and at
least 1. A second call on the same run replaces the first. stop: true ends
the watch. A session can watch several runs at once.
The channel reconnects on its own and says so once with a connection
message. It reconnects with since set to the last frame it received, so the
events fired during the gap arrive after the back message. A restart of
groom serve loses the events it held in memory. The next digest's
standing still shows an open gate.
Claude Code drops a channel message without an error when the session was
started without the flag. The tool still answers, so a session cannot tell from
the tool result. The first digest arrives right after watch. A session that
sees none was started without the flag.
What was it saying? (groom logs)
status says where a run is; logs say what it was doing on the way there.
uv run groom logs --run <id> # everything, oldest-first
uv run groom logs --run <id> --node select_item
uv run groom logs --level WARNING # a FLOOR: WARNING + ERROR + FATAL
uv run groom logs --contains "over budget"
Deterministic (non-agent) nodes appear here because workhorse runs them in-process
and hands each one a per-node logger, preserving the node's decisions alongside its
spans and artifacts.
Records carry the same run_id/run_dir resource as the spans, so a log line
joins to its node span and its on-disk artifacts with no correlation step. They
are correlated by an explicit node attribute rather than trace_id, which is
zeroes: workhorse never makes its node spans current, so there is no ambient
context for the SDK to attach.
No alert rule fires on logs, deliberately — liveness is already answered by the heartbeat metrics, and paging on log content would mean guessing which strings are worth waking someone for, per workflow. Logs are for reading once a metric has told you where to look. They expire on the same window as everything else and are archived with it — one signal, one clock, one file.
Test runs are not telemetry
A test suite is not a run anyone comes back to, and on a machine where
groom serve is up it is by far the loudest producer: one make test of the
workflows suite wrote a six-figure number of spans, burying every real run in
the fleet view. So test telemetry is kept out at both ends — workhorse declines
to auto-enable export from a test process (WORKHORSE_OTEL=1 still forces it
on), and the receivers drop any record whose run_dir is certainly a test
dir — one containing pytest-of- or .workhorse-test/. Neither undoes what an
older producer already wrote:
uv run groom purge-tests --dry-run # what would go
uv run groom purge-tests # delete it, then VACUUM to shrink the file
purge-tests casts the wider net: it also evicts runs whose dir is a
tempfile.mkdtemp scratch dir (/tmp/tmpXXXXXXXX/…), which is how the largest
single junk run in a real store got there. That one is a guess — a genuine run
launched from a mkdtemp directory matches too — so it is confined to a command
you run deliberately and can preview with --dry-run, rather than to the ingest
path, where the same guess would discard evidence unasked. Runs are identified
by their run dir in both cases, never by name.
Reading the store afterwards
The same file the dashboard reads answers the after-the-fact questions — what a run cost and where it looped, what it would have cost on another model set, what a node actually said, and where the wall clock went:
uv run groom cost --run <id> # money and rework per node, with /work turns-per-item
uv run groom prices --run <id> # re-price the same turns against another model set
uv run groom loops --run <id> # which review→rework loops converge, and which do not
uv run groom transcript --run <id> # the reasoning and tool trace prompt.md omits
uv run groom profile --run <id> # what occupied the wall clock
uv run groom db-path # …and the SQLite file, for anything the CLI does not ask
Cost coverage is not uniform — it is harness × provider, and the two ways of not pricing
a turn (nothing reported, versus a reported 0) differ in how visible they are. Every
command above says how much of itself is real rather than presenting a partial sum as a
complete one.
Those commands, the schema and its one footgun, and worked SQL are in docs/STORE.md.
Run ostler book files services.stablemate.groom.http for the full design, groom's own book.
The sidecar waits for GROOM_RUNS_DIR and GROOM_WORKSPACE_DIR when they do not exist
yet, and watches each one once it appears. The /push/progress, /push/blocked and
/push/exited routes take run_id as the key when container_id is absent or empty. The
run page names where the run lives in its header chip: docker, host or sidecar.
Metadata
Release files for stablemate-groom 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stablemate_groom-2.4.0.tar.gz | 424.4 kB | With provenance | Details for stablemate_groom-2.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stablemate_groom-2.4.0-py3-none-any.whl | Python 3 | none | any | Details for stablemate_groom-2.4.0-py3-none-any.whl |
Total release size: 883.4 kB
Release files / stablemate_groom-2.4.0.tar.gz
| Download URL | stablemate_groom-2.4.0.tar.gz |
|---|---|
| Size | 424.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6c6239b180b182f741f79dd6638906ebeab1cf154fad3714c0075011d4191eb
|
|
BLAKE2b-256 checksum How to use checksums |
9e06682f072178c44169c4a6ff6c94804031bd2215b3734ec1d094f55a0bd6f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / stablemate_groom-2.4.0-py3-none-any.whl
| Download URL | stablemate_groom-2.4.0-py3-none-any.whl |
|---|---|
| Size | 459.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42f44a36bfcf8f6695b250ab9fa5105aaf9442ef5a429f1bf38033b3e0182f3c
|
|
BLAKE2b-256 checksum How to use checksums |
9b15575d2abec694c55962feabb60cdf512ab1b22f379cf6e615d25439b36d01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for stablemate-groom 2.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for stablemate_groom-2.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.