Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Status and live state

flume status reports every place flume runs on its host, as each stands now. flume status --json gives the same to callers: millpond, crew, sounding and flume’s own plugins read it.

What status gives

For each placeWhat it says
kindfix, change, question, or a kind the repository declares
stagethe stage running, or the last one run
agentworking, waiting or stopped
deliverablewhether the stage’s deliverable exists
submissionthe place’s submission to sluice, and sluice’s outcome
tasksfor a change, how many of its tasks are ticked, of how many

Beside these, status names what an agent that stopped short needs, and a stage reported stuck or never started. It names a readying step that failed, with its words, and a place tidying kept, with the reason.

read from flume status --json, for each place flume's own launch what it launched, where herdr and the transcript the pane, the agent's record The place's branch read once, at its head The change's own files agreeing with openspec sluice's record of the place's branch kind, stage change, at code agent working, waiting or stopped deliverable exists, or not yet tasks 5 of 8 ticked submission none yet, or sluice's state of it
Status reads each field where it lives, so it never disagrees with the place, the transcript, the change or sluice.

A change’s tasks

For a change, flume reads the OpenSpec change’s own files in the place. Its tasks show ticked as code ticks them: three of eight, then eight of eight, and the stage ends once the last tick is committed. flume reads the files directly, and what it reads agrees with what openspec reports on the same worktree (plan.12).

Live state, and the records that outlast it

flume keeps only the live state of the places it runs. Once it tidies a place, the place leaves its status.

An item’s record outlives its place, so the record belongs to whoever keeps the item:

  • millpond keeps an item’s send and its landing, written from sluice’s record (millpond’s items).
  • crew keeps its plans, its bolts and each unit’s stage.
  • sluice keeps every submission and every landing.
  • git keeps the commits, and a branch tidying kept.

flume holds no history a caller needs later, and no caller reads one from it.

What flume reports off the host

Where the host’s managed configuration turns it on, flume reports each place to a collector on the host as one trace (216, 217). The trace holds a span for each start of a stage and a span for each wait. A wait names whom the place waited on: its caller for an answer or a review, the host for room, the merge queue, or a person the agent is asking. A record goes at each change, so a backend shows a place as it stands before its spans end.

place  a-deploy-…-request   intent accounts
├─ construct, start 1   1h02   ended short, needs an answer
├─ wait: caller, answer 0h40
├─ construct, start 2   0h38   delivered
└─ wait: merge queue    0h50   landed

flume hands each agent it starts the place’s facts and its start’s trace context (219). The agent program’s own turns and token counts so name the place, and a test run the agent starts through sluice nests under the start. A backend joins a session, an intent or the merge queue from these alone.

No word of a brief, prompt, stop-short or answer leaves the host. No metric names a place, so the metrics grow with the kinds a host runs and never with its places (218, 220). flume reads nothing back: a collector that is down loses the signals and changes nothing flume does (216).

One reading per repository

A flume command reads each repository once, however many of its places it reports (plan.12). A status of twenty places in one repository costs one reading of that repository, so the herdr sidebar and crew can read status as often as they need.