Component test reference
verifier results
The results subcommand and its TUI
Read a run’s test results from results.json.
Synopsis
verifier results [--results FILE]
verifier results passed [--results FILE] [--protocol NAME]
[--attempt N] [--trace N]
verifier results iter N [--results FILE] [--protocol NAME]
[--attempt N] [--json]
verifier results iteration N [--results FILE] [--protocol NAME]
[--attempt N] [--json]
verifier results prot NAME [--results FILE]
[--attempt N] [--trace N] [--json]
verifier results protocol NAME [--results FILE]
[--attempt N] [--trace N] [--json]
verifier results tui [--results FILE] [--choose]
Description
verifier results prints the summary verdict for each
protocol in every iteration, followed by the attempt counts behind each
verdict. With no subcommand it reads the newest
results.json under .verifier and prints the
same summary the run produced when it finished.
Subcommands let you narrow output to one iteration
(iter), one protocol (prot), gate a script on
pass or fail (passed), or browse the full tree
interactively (tui). Every subcommand accepts
--results to read a specific file; the flag can appear
before or after the subcommand name.
Subcommands
passed
Exits 0 if every protocol passed, 1 otherwise. Prints nothing. Use as the gate in a CI step or script:
verifier results passed
Narrow the check to one protocol:
verifier results passed --protocol example.sensor.sampleFlow
Narrow further to one attempt or one trace within that protocol:
verifier results passed \
--protocol example.sensor.sampleFlow --attempt 0
verifier results passed \
--protocol example.sensor.sampleFlow --attempt 0 --trace 14
iter / iteration
Print full results for one iteration, identified by its 0-based index:
verifier results iter 0
verifier results iteration 0
Restrict to one protocol within that iteration:
verifier results iter 0 --protocol example.sensor.sampleFlow
Emit the raw JSON instead of formatted text:
verifier results iter 0 --json
prot / protocol
Print full results for one protocol across all iterations:
verifier results prot example.sensor.sampleFlow
verifier results protocol example.sensor.sampleFlow
Restrict to one attempt number:
verifier results prot example.sensor.sampleFlow --attempt 0
Restrict to one trace id:
verifier results prot example.sensor.sampleFlow --trace 14
Emit raw JSON:
verifier results prot example.sensor.sampleFlow --json
tui
Browse the full result tree interactively:
verifier results tui
Pick a results file from .verifier before opening:
verifier results tui --choose
Options
--attempt N: Optional Restrict to one attempt number. Onpassedanditerit requires--protocol; onprotthe protocol is already named by the positional argument.--choose: Optional Pick a results file interactively before opening the TUI. Available ontui. Mutually exclusive with--results.--json: Optional Emit the selected result as JSON instead of formatted text. Available oniterandprot.--protocol NAME: Optional Restrict output to one protocol. Available onpassedanditer.--results FILE: Optional Path to aresults.jsonfile. Defaults to the newestresults.jsonunder.verifierin the current directory.--trace N: Optional Restrict to one trace id. Available onpassed, where it requires--protocol, and onprot. A trace id is unique only within a protocol.
The (N/M attempts passed) Summary
The bare verifier results command prints a line for each
protocol:
1/3 attempts passed for example.sensor.sampleFlow
N is the number of attempts that produced at least one valid trace. M
is the count of distinct attempts that targeted this protocol — attempts
where this protocol was the one under test. Accidental qualifications
(attempts made while a different protocol was under test) are not
counted. With attempts: 3 configured, M is 3.
For example: 1/3 attempts passed means the protocol was
tested three times and passed on one of them.
0/1 attempts passed means one attempt was made and the
protocol failed.
The iter and prot subcommands carry the
same counts on their protocol header line:
✔ Protocol example.sensor.sampleFlow: passed (1/3 attempts passed)
TUI Navigation
verifier results tui opens a two-pane terminal browser.
The left pane shows the result tree; the right pane shows the event
timeline for the selected trace.
The tree opens with all iterations and protocols expanded. Each row carries a status marker (✔ passed, ✘ failed, ? inconclusive) and a label. Iterations expand into protocols, protocols expand into attempts, and attempts are leaves whose trace detail appears in the timeline pane.
Keybindings:
j/ down arrow — move selection downk/ up arrow — move selection upSpace/Enter— expand or collapse the selected rowl/ right arrow — move focus to the timeline pane; if the timeline pane already has focus, expand the selected timeline row insteadh/ left arrow — move focus back to the tree panee— expand all rows in the focused panec— collapse all rows in the focused panef— copy the absolute path of the results file to the clipboard (OSC 52)y— copy the selected trace as JSON to the clipboard (OSC 52)q/Esc— quit
The timeline pane shows the event sequence of the trace under the selected attempt: messages with direction (← incoming, → outgoing) and elapsed timestamp, non-message events (program start, exit, timeout, trigger), and any failed constraints at the end. Message payloads expand inline when the row is expandable.
Navigation in the timeline pane uses the same
j/k and Space/Enter
keys as the tree, and e/c expand or collapse
all payload rows.