Skip to main content

Crate tailtriage_cli

Crate tailtriage_cli 

Source
Expand description

§tailtriage-cli

Command-line triage analyzer for one tailtriage run artifact.

For the public repo launch, the primary path is running the CLI from source in this workspace. cargo install is post-publish guidance.

§Use from this repo now

cargo run -p tailtriage-cli -- analyze tailtriage-run.json --format json

§Post-publish install (when released)

cargo install tailtriage-cli
tailtriage analyze tailtriage-run.json --format json

§Output shape to inspect first

  1. primary_suspect.kind
  2. primary_suspect.evidence[]
  3. primary_suspect.next_checks[]

Suspects are evidence-ranked leads, not proof of root cause.

§Artifact schema contract

tailtriage-cli requires a top-level schema_version field. Current supported value: 1.

When artifacts contain unfinished lifecycle metadata, the loader surfaces warnings (unfinished count/sample) but does not fabricate missing completion events.

Modules§

analyze
Heuristic triage analyzer and text-report rendering.
artifact
Artifact loading and validation helpers for CLI workflows.