Expand description
Widget library.
stat is the honesty primitive — every number in the TUI
passes through it. statusbar, prompt, conversation, and
pane compose the M1 shell; verdict blocks, position-row
widgets, calibration bars, and scar cards land later.
Modules§
- calibration
- Calibration bar — a single-row gauge showing how closely the engine’s stated confidence tracks realized outcome.
- conversation
- Conversation pane — scrollback of log entries with an explicit offset-from-bottom cursor.
- live_
stream - Live-stream pane — a compact tail of the engine’s WS push
surface. Sourced from
crate::app::event_ring::EventRing; rendered as one row per event in chronological order (newest at the bottom so the pane reads like a log). - overlay
- Full-screen-ish modal overlays painted on top of the mode pane.
- pane
- Stub panes for Positions, Decisions, Heat.
- picker
- Slash-command picker widget — small popup above the prompt listing fuzzy-matched commands with their risk badge and summary.
- position_
row - Single-position row — the reusable primitive behind the Positions pane and any future verdict overlay that embeds an open-position snapshot.
- prompt
- Prompt widget — renders the
PromptBufferas N rows. - stat
<Stat>widget — the honesty primitive.- statusbar
- Status bar widget — always visible, single row at the bottom of the screen (above the prompt).
- verdict
- Verdict block — card-style widget that renders a single
Evaluationas a compact, scannable decision surface.