This is the compact reference for the public traceforge command.
Purpose:
- show provider and environment readiness before a live session
Example:
traceforge doctor
traceforge doctor --jsonPurpose:
- inspect saved provider state and current provider readiness
Example:
traceforge auth statusPurpose:
- save the preferred provider and optional model or key material
Examples:
traceforge auth use codex --model gpt-5.4
traceforge auth use openai --model gpt-5.4 --openai-api-key "$OPENAI_API_KEY"
traceforge auth use anthropic --model claude-sonnet-4-20250514 --anthropic-api-key "$ANTHROPIC_API_KEY"Purpose:
- clear saved API keys and reset provider selection
Example:
traceforge auth clearPurpose:
- analyze the sample batch or ingest and analyze a local folder or zip archive
Examples:
traceforge analyze-batch --batch sample-starter
traceforge analyze-batch --input /path/to/my_batch
traceforge analyze-batch --input /path/to/my_batch.zipPurpose:
- show family counts, cluster counts, and top recurring artifacts for a batch
Example:
traceforge overview --batch sample-starterPurpose:
- inspect one failed run, including its likely critical step
Example:
traceforge run --batch sample-starter --run invalid_patchPurpose:
- inspect one recurring cluster and its medoid run
Example:
traceforge cluster --cluster sample-starter:invalid_patch:0Purpose:
- emit the
raworstructuredevidence pack for one failed run
Examples:
traceforge pack --batch sample-starter --run invalid_patch --mode raw
traceforge pack --batch sample-starter --run invalid_patch --mode structured
traceforge pack --batch sample-starter --run invalid_patch --mode structured --save
traceforge pack --batch sample-starter --run invalid_patch --mode structured --output exports/packs/custom.mdPurpose:
- compare raw versus structured analysis on the same run
Examples:
traceforge compare --batch sample-starter --run invalid_patch
traceforge compare --batch sample-starter --run invalid_patch --strict-provider
traceforge compare --batch sample-starter --run invalid_patch --saveNotes:
- without a live provider, compare falls back to deterministic proxy and now says so explicitly
--strict-providerprevents silent fallback
Purpose:
- generate the full sample demo bundle in one command
Example:
traceforge demo --batch sample-starter --run invalid_patch
traceforge demo --batch sample-starter --run invalid_patch --strict-providerPurpose:
- export the markdown batch report used as a fallback demo artifact
Example:
traceforge export-report --batch sample-starterPurpose:
- export blind or rigorous evaluation artifacts
Examples:
traceforge export-eval --batch sample-starter --kind blind
traceforge export-eval --batch sample-starter --kind rigorous --provider openai --strict-providertraceforge doctortraceforge analyze-batch --batch sample-startertraceforge run --batch sample-starter --run invalid_patchtraceforge pack --batch sample-starter --run invalid_patch --mode rawtraceforge pack --batch sample-starter --run invalid_patch --mode structuredtraceforge compare --batch sample-starter --run invalid_patch --strict-provider