codeburn/src
AVSR Pavan Kumar 77b41ce63b feat(act): measure realized savings for defer-* actions in act report
The defer-enable / defer-alwaysload / defer-threshold plan kinds (part 2
of the deferral-coverage work) applied and undid correctly but were
invisible to `act report` — it returned "not measurable: no baseline
captured at apply time", because report.ts never captured a baseline for
them or knew how to compute their realized delta.

Wire them in, mirroring the mcp-remove path since deferral has the same
effect (MCP tool-def schema leaves the upfront prefix):

- needsConfigBaseline + captureBaseline now cover the defer-* kinds.
  Servers are the named set for defer-alwaysload, or the observed MCP
  surface for defer-enable / defer-threshold (which re-enable deferral
  across everything). Per-session tokens use observed tool counts, or the
  5-tools x 400 fallback, exactly like mcp-remove.
- A new deferRow computes realized savings as per-session prefix tokens
  times the post-apply sessions where deferral actually became active —
  detected by the same deferred-tools-inventory signal the
  mcp-deferral-off detector uses. Sessions begun before the client
  restarted still run deferral-off and are excluded; if none benefited,
  the row reports "not yet in effect" with zero realized rather than
  claiming a saving that has not taken hold.

Records applied before this change (no baseline) keep the existing
"no baseline captured at apply time" note, so nothing regresses.

11 tests cover the measured, partial, not-yet-in-effect, no-sessions,
empty-baseline, and missing-baseline paths, plus baseline capture for
each kind. Verified live end to end: apply captures the baseline, and
act report reports realized savings scaled to the sessions that adopted
deferral.
2026-07-30 10:13:06 +05:30
..
act feat(act): measure realized savings for defer-* actions in act report 2026-07-30 10:13:06 +05:30
data release: 0.9.19 (#774) 2026-07-20 09:35:32 -07:00
guard feat(claude): account for /advisor escalations under the advisor model (#659) 2026-07-16 07:42:49 -07:00
mcp fix(report): surface estimated costs distinctly (#688) 2026-07-16 10:46:21 -07:00
providers Merge branch 'main' into agent/fix-daily-history-scan 2026-07-27 19:59:08 -04:00
sharing Merge origin/main into feat/desktop-app 2026-07-16 07:52:28 -07:00
sync chore(sync): HTML-escape callback page inputs 2026-07-26 07:05:44 -07:00
antigravity-statusline.ts refactor(cli): share persistent-codeburn resolver; tighten Antigravity hook ownership 2026-05-31 20:07:57 -07:00
audit-report.ts feat: add codeburn audit token-source view (#578) 2026-07-01 13:02:29 +02:00
bash-utils.ts fix(bash): attribute wrapped commands to the real tool, not the wrapper (#658) 2026-07-10 06:36:07 -07:00
budget.ts feat(budget): spend budgets with overview display and scriptable --check (#562) 2026-07-16 11:10:16 -07:00
cache-refresh-lock.ts cache: strict cross-process gate for the warm session-cache refresh transaction (#743) 2026-07-20 09:06:35 -07:00
classifier.ts fix(classifier): attribute skills to skillBreakdown regardless of turn category 2026-07-18 22:54:49 +03:00
cli-date.ts feat(cli): add lifetime period for CLI and dashboard (#753) 2026-07-20 05:24:33 -07:00
cli.ts Merge main into feat/multi-provider-plans, remove dead tautology 2026-05-16 10:42:03 -07:00
codex-cache.ts feat(codex): add tool-excluded active throughput metrics 2026-07-24 22:53:43 -04:00
codex-credits.ts feat(codex): compute Codex credit usage (#408, #495) (#510) 2026-06-18 17:03:46 +02:00
codex-throughput.ts feat(codex): add tool-excluded active throughput metrics 2026-07-24 22:53:43 -04:00
compare-stats.ts fix(cli): compare cache-hit rate excludes cache writes 2026-07-16 01:14:41 -07:00
compare.tsx feat: implement act apply-model and report baseline tripwire (#607) (#616) 2026-07-16 11:10:08 -07:00
config.ts feat(budget): spend budgets with overview display and scriptable --check (#562) 2026-07-16 11:10:16 -07:00
content-utils.ts fix(parser): tolerate string message content; isolate per-file parse failures (#441) (#450) 2026-06-06 04:01:12 +02:00
context-budget.ts Extract shared token estimation helper, migrate all CHARS_PER_TOKEN sites (#644) (#677) 2026-07-16 11:58:22 -07:00
context-tree-codex.ts Extract shared token estimation helper, migrate all CHARS_PER_TOKEN sites (#644) (#677) 2026-07-16 11:58:22 -07:00
context-tree.ts Extract shared token estimation helper, migrate all CHARS_PER_TOKEN sites (#644) (#677) 2026-07-16 11:58:22 -07:00
context-tui.tsx feat(context): per-session context token tree across CLI, TUI, and dashboard (#592) 2026-07-02 05:00:03 +02:00
currency.ts currency: honor CODEBURN_CACHE_DIR for the exchange-rate cache (#766) 2026-07-20 08:28:29 -07:00
cursor-cache.ts feat(doctor): per-provider detection diagnostics (#685) 2026-07-16 10:38:08 -07:00
daily-cache.ts prerelease: quota NaN guard, 10-year daily retention, test date bomb (#764) 2026-07-20 07:37:56 -07:00
dashboard.tsx Merge branch 'main' into agent/fix-daily-history-scan 2026-07-27 19:59:08 -04:00
day-aggregator.ts daily-cache: fix tz-change double-count and multi-provider turn-stat inflation (#762) 2026-07-20 08:57:41 -07:00
doctor.ts doctor: surface Claude Code transcript retention (#757) 2026-07-20 05:25:12 -07:00
export.ts feat(export): subagentType and model on per-record exports; --by-agent follow-ups (#712) 2026-07-16 16:35:33 -07:00
fetch-utils.ts fix(network): add timeouts to critical-path fetches (#445) (#448) 2026-06-06 03:25:36 +02:00
format.ts fix(report): CLI totals read the durable daily cache, matching the menubar exactly 2026-07-20 06:33:56 -07:00
fs-utils.ts feat(copilot): track GitHub Copilot JetBrains IDE usage 2026-07-03 16:11:27 +05:30
granular-history.ts feat(dashboard): add granular session and model timelines (#673) 2026-07-16 03:04:54 -07:00
ink-win.ts Fix dashboard hang and ExperimentalWarning on Windows 2026-05-02 11:54:58 -07:00
main.ts feat(codex): add tool-excluded active throughput metrics 2026-07-24 22:53:43 -04:00
menubar-installer.ts Fix menubar install release lookup 2026-07-08 21:36:20 +02:00
menubar-json.ts kimicode: discover desktop-runtime sessions and fix menubar visibility 2026-07-23 21:31:25 +02:00
model-breakdown.ts feat(codex): add tool-excluded active throughput metrics 2026-07-24 22:53:43 -04:00
model-efficiency.ts fix(devin): report friendly GPT model names with effort tier (#585) 2026-07-01 16:01:49 +02:00
models-report.ts feat(export): subagentType and model on per-record exports; --by-agent follow-ups (#712) 2026-07-16 16:35:33 -07:00
models.ts kimicode: discover desktop-runtime sessions and fix menubar visibility 2026-07-23 21:31:25 +02:00
optimize.ts feat(insights): workflow intelligence (corrections, time-to-first-edit, file churn, coverage) + dash wire-up (#756) 2026-07-20 05:47:46 -07:00
overview.ts fix(report): CLI totals read the durable daily cache, matching the menubar exactly 2026-07-20 06:33:56 -07:00
parser.ts Merge branch 'main' into agent/fix-daily-history-scan 2026-07-27 19:59:08 -04:00
persistent-codeburn.ts refactor(cli): share persistent-codeburn resolver; tighten Antigravity hook ownership 2026-05-31 20:07:57 -07:00
plan-usage.ts Merge main into feat/multi-provider-plans, remove dead tautology 2026-05-16 10:42:03 -07:00
plans.ts feat(providers): add Grok Build provider (#521) 2026-06-19 17:21:41 +02:00
quota.ts prerelease: quota NaN guard, 10-year daily retention, test date bomb (#764) 2026-07-20 07:37:56 -07:00
session-cache.ts feat(codex): add tool-excluded active throughput metrics 2026-07-24 22:53:43 -04:00
sessions-report.ts feat(cli): add interactive sessions browser (#793) 2026-07-21 13:03:47 +02:00
sessions-tui.tsx feat(cli): add interactive sessions browser (#793) 2026-07-21 13:03:47 +02:00
spend-flow.ts fix(cli): surface mDNS scan errors, robust spend-flow rollup + date label, harden tests 2026-07-10 16:20:41 -07:00
sqlite.ts Merge main into feat/multi-provider-plans, remove dead tautology 2026-05-16 10:42:03 -07:00
text-table.ts feat(devices): joined Totals by machine report (#536) 2026-06-20 19:23:03 +02:00
token-estimate.ts Extract shared token estimation helper, migrate all CHARS_PER_TOKEN sites (#644) (#677) 2026-07-16 11:58:22 -07:00
types.ts feat(codex): add tool-excluded active throughput metrics 2026-07-24 22:53:43 -04:00
usage-aggregator.ts fix(claude): discover Claude Desktop/Cowork sessions in Windows MSIX installs 2026-07-24 00:30:30 +03:00
web-dashboard.ts feat(context): per-session context token tree across CLI, TUI, and dashboard (#592) 2026-07-02 05:00:03 +02:00
workflow-insights.ts insights: close the post-merge review findings on workflow intelligence (#763) 2026-07-20 07:26:08 -07:00
yield.ts fix(yield): case-insensitive canonical repo grouping via realpathSync.native 2026-07-19 03:12:03 +03:00