Skip to main content

Module jsonl

Module jsonl 

Source
Expand description

Session-transcript (JSONL) classification — the reliable signal for questions and normal turn completion (PoC §3.1–3.4). One JSON object per line.

classify is a PURE function over already-parsed events so it can be unit-tested against captured fixtures. The JSONL lags live state by ~one tool-call (PoC gotcha #3), so the caller ([crate::detect::combine]) layers capture-pane + plan-file on top for TUI-interrupt gates.

Enums§

JsonlState
What the transcript alone says about the session.

Functions§

classify
Classify a turn from the transcript events alone (PoC §3.4, with the later-user refinement).
load
Parse a transcript file into one Value per non-empty line. Unparseable lines are skipped.
parse
Parse newline-delimited JSON, skipping blank and malformed lines.