Skip to main content

Module report

Module report 

Source

Modules§

agent_report
Agent-oriented compact run report (NAZ-412).
compact
Compact one-file-per-line output format (NAZ-240).
concise
Concise, grep-friendly renderer for persisted run artifacts (NAZ-404).
curl
diff
tarn diff — compare two runs’ summary + failure sets (NAZ-405).
event_stream
Append-only NDJSON stream of run lifecycle events (NAZ-413).
failure
Shared rendering helpers for compact and llm formats.
failures_command
Root-cause grouping for a run’s failures.json (NAZ-402).
fixture_writer
Per-step fixture writer used by the runner after every HTTP round trip. Companion to crate::fixtures, which owns the on-disk path layout this module writes into.
html
human
inspect
tarn inspect — drill-down into a run’s report.json (NAZ-405).
json
json_parse
Reverse direction of report/json.rs: parse a previously-emitted Tarn JSON report back into a RunResult so other formatters can re-render it.
junit
llm
LLM-friendly output format (NAZ-349).
pack_context
tarn pack-context — minimum remediation bundle (NAZ-414).
progress
Streaming progress reporters for tarn run.
redaction
rerun
Rerun-target resolution from a prior run’s failures.json (NAZ-403).
run_dir
Immutable per-run artifact directories under <workspace-root>/.tarn/runs/<run_id>/.
shape_diagnosis
Response-shape drift diagnosis (NAZ-415).
state_writer
Writer for <workspace-root>/.tarn/state.json, the human-readable sidecar LLM tooling consumes to answer “what just happened?”.
summary
Triage-sized artifacts a run emits next to the full JSON report.
tap

Structs§

OutputTarget
RenderOptions
Options that tweak how test results are rendered.

Enums§

OutputFormat
Output format for test results.

Functions§

compute_exit_code
Derive the process exit code the CLI (and MCP) should return for a finished run. Extracted from main.rs so both the CLI binary and the MCP server agree on exit-code semantics — an agent reading the MCP tarn_run response must see the same code the CLI would print.
render
Render test results in the specified format.
render_with_options
Render test results in the specified format with rendering options.