Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- **Aggregate parser content-capture report in `burn diagnose`** ([#79](https://github.com/AgentWorkforce/burn/issues/79)). `burn diagnose` (no positional argument) now walks the ledger and emits a per-adapter content-capture gap table — total sessions, sessions with ≥1 tool call, gapped sessions (≥1 tool call but zero `tool_result` ContentRecords), orphan tool-call count, and `degradedPct`. Honors `--json` (`{ adapters: [{ adapter, sessions, sessionsWithToolCalls, gappedSessions, orphanToolCalls, degradedPct }, ...], contentMode }`). The existing per-session `burn diagnose <session-id>` behavior is unchanged. Permanent, queryable surface for the gap that the per-invocation ingest warning ([#75](https://github.com/AgentWorkforce/burn/issues/75)) only flags once per `burn` run; rows omit the gap signal with an explanatory note when `RELAYBURN_CONTENT_STORE` is `hash-only` or `off`. Adapters with no sessions in the ledger are omitted entirely.
- **`burn waste --patterns --findings`** ([#56](https://github.com/AgentWorkforce/burn/issues/56)). Renders every detector's output through one severity-ranked `WasteFinding` table — retry loops / failure runs / compaction losses / edit reverts / edit-heavy / OpenCode skill-* / system-prompt-tax sorted together by severity (high → warn → info) then `usdPerSession`. The existing per-detector tables remain the default render path; `--findings` is opt-in. JSON output (`--patterns --json`) gains a `findings` array alongside the existing per-detector arrays for downstream consumers; the JSON refusal payload also carries `findings: []` for schema parity. `burn waste --findings` (without `--patterns`) implies `--patterns` so the flag is never silently ignored.

## [0.40.0] - 2026-04-28
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Usage:
(mode flags are mutually exclusive; --by-tool emits tool | calls | attributedCost)
burn waste [--since 7d] [--project <path>] [--session <id>] [--workflow <id>] [--provider <p>] [--all] [--json]
[--patterns[=retries,failures,compaction,reverts]] [--findings]
burn diagnose <session-id> [--json]
burn diagnose [<session-id>] [--json]
burn limits [--watch [5s]] [--json] [--no-api] [--no-forecast]
burn plans [add|remove|set-reset-day] … (run \`burn plans help\` for full usage)
burn context [advise] [--project <path>] [--since 7d] [--kind <k>] [--top <n>] [--json]
Expand All @@ -48,6 +48,7 @@ Examples:
burn waste --since 7d
burn waste --patterns --since 7d
burn diagnose <session-id>
burn diagnose # per-adapter content-capture gap report
burn limits
burn limits --watch
burn limits --no-api
Expand Down
Loading