Skip to main content

Module model

Module model 

Source
Expand description

Pure projections of saved state for the monitor screens.

Structs§

Card
An eval at a glance: what it checks, its result once it has one, and what running it cost. For a reused result, took and tokens are what reuse saved. Everything else about the request stays in its Detail’s fields.
Clock
When a timed eval started and, once settled, ended.
Detail
Graph
GraphEdge
to’s evals depend on from.
GraphNode
Node
NodeId
Progress
RunRow
Segment
Status text; a toned segment (an X token) keeps its colour inside a dimmed row.
Strip
The Run headline: one status line, then what needs attention.
Upstream
One Artifact an eval depends on, with its current completion.
Waits
The Artifacts an eval waits for, most actionable first, and one level of root cause when every one of them is itself waiting: (via, root) reads “via waits for root”.

Enums§

Activity
Busy
The most urgent kind of activity in an in-progress Artifact.
Completion
An Artifact’s evaluation as a whole, as shown where another eval waits for it.
EvalView
Kind
Light
How a graph node or edge is lit. Declared in precedence order: an Artifact takes the first light any of its evals has (RED before ERROR before in progress before blocked before waiting before GREEN).
NotRun
Queue
Why a queued eval has not started although nothing upstream holds it.
Section
Where a Detail field goes, in display order. Technical is folded by default.
Source
Where a done eval’s GREEN came from.
Status
A shown status. The variants are declared most urgent first, so the derived order is the urgency order the header, Scope, Runs and headline counts use.
Target
What a tree node shows in the detail pane, parsed from its stable tree identifier.
Tone
Colour classes; the renderer maps them to terminal colours.
Weight
In-progress rows are bold; rows that wait or did not run are dimmed.

Functions§

card
completion
Glyph, colour and word of an Artifact’s completion where another row names it.
counts
Status counts as glyphs, most urgent first and zero counts left out: !2 ✓1.
detail
duration
glyph
The mark for status, or - for an eval without one.
graph
The graph of the Artifact rows of a Run’s tree, lit upstream first in the tree’s order.
progress
run_node
The row above the Artifacts; Enter on it opens the Run detail.
run_rows
strip
The Run headline from its progress: snapshot verdict, counts, time and token total.
tokens
Token totals for a headline: 950, 12.3k, 3.9M.
tree
Every saved or requested Artifact appears exactly once, upstream first where the graph allows: dependency-first component order, cycle peers by name.
upstream_index
Every eval’s direct dependency Artifacts, from the Run’s saved definitions.