codeburn/src
iamtoruk 98348d973b fix(models): price gpt-5.6-codex and gpt-5.6-codex-max
Neither id is in LiteLLM yet, so litellm-snapshot.json had no row for
them (285 sessions / 5,446 calls priced at $0 on one real corpus,
flagged during #1075 verification). Add explicit snapshot rows sourced
from the pattern every prior Codex-suffixed id LiteLLM does carry
follows: it bills identically to its bare-model sibling of the same
generation (gpt-5-codex == gpt-5, gpt-5.1-codex == gpt-5.1-codex-max ==
gpt-5.1, gpt-5.2-codex == gpt-5.2, gpt-5.3-codex == gpt-5.3, verified
against the live model_prices_and_context_window.json) - both new ids
get the exact gpt-5.6 tuple rather than an invented rate.

getModelCosts already resolved both ids to the correct rate through
the `gpt-5.6` prefix fallback before this, so a fresh parse or a warm
session-cache read (codeburn models included) was already pricing
these calls correctly. The daily cache is the one place that does not
self-heal: it has no per-provider invalidation, so a day finalized
before a `gpt-5.6` snapshot row existed at all keeps that $0 forever.
Raising MIN_SUPPORTED_VERSION (v23 -> v24) forces the one-time
re-derivation, a lossless no-op for days already correct - the
mechanism itself is generic and already covered by
daily-cache-version-rederivation.test.ts. #1056 also claims 24 on its
own branch; whichever lands second takes the next number.

Closes #1077
2026-08-21 14:53:00 -07:00
..
act merge origin/main into pr994 2026-08-18 08:50:09 -07:00
data fix(models): price gpt-5.6-codex and gpt-5.6-codex-max 2026-08-21 14:53:00 -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 pull request #1085 from avs-io/fix/result-cache-version-suffix 2026-08-21 23:34:53 +03:00
sharing fix(sharing): answer malformed request URLs instead of crashing the server 2026-08-04 05:56:18 +03:00
sync docs(sync): upsert by traceId without overclaiming privacy 2026-08-21 22:50:08 +05:30
antigravity-statusline.ts perf(desktop): share cache state and eliminate duplicate cold hydration 2026-08-12 17:16:41 +03:00
audit-report.ts fix(codex): stop double-billing reasoning output, price cache writes at the explicit rate only 2026-08-21 11:50:23 -07:00
bash-utils.ts perf(classifier): linear bash separator split 2026-08-16 18:31:41 -07:00
budget.ts feat(budget): spend budgets with overview display and scriptable --check (#562) 2026-07-16 11:10:16 -07:00
cache-dir.ts fix(cache): treat a present versioned result file as exclusive 2026-08-22 01:49:39 +05:30
cache-refresh-lock.ts perf(desktop): share cache state and eliminate duplicate cold hydration 2026-08-12 17:16:41 +03:00
classifier.ts fix(insights): count read-shaped shell commands as reads, not as verification (#941) 2026-08-10 06:07:27 -07: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 fix(cache): treat a present versioned result file as exclusive 2026-08-22 01:49:39 +05:30
codex-credits.ts fix(pricing): version the pricing cache and drop codex-credits' dead reasoning param 2026-08-21 12:48:55 -07:00
codex-throughput.ts feat(codex): add tool-excluded active throughput metrics 2026-07-24 22:53:43 -04:00
compare-stats.ts fix(compare): honor --model-a/--model-b in the TUI and resolve display names 2026-07-29 22:58:05 +05:30
compare.tsx fix(compare): honor --model-a/--model-b in the TUI and resolve display names 2026-07-29 22:58:05 +05:30
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): flatten already-sliced previews and memoize canonical path walks 2026-08-16 01:49:10 -07:00
context-budget.ts fix(context-budget): stop double-counting home skills and CLAUDE.md 2026-08-04 06:32:58 +03: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 dashboard: Workflow panel, footer coaching notes, title-first context list 2026-07-20 22:26:50 +02:00
currency.ts test: skip the live Frankfurter fetch so FX moves can't shift assertions 2026-08-21 02:23:41 -07:00
cursor-cache.ts fix(cache): treat a present versioned result file as exclusive 2026-08-22 01:49:39 +05:30
daily-cache.ts fix(models): price gpt-5.6-codex and gpt-5.6-codex-max 2026-08-21 14:53:00 -07:00
dashboard.tsx fix(optimize): do not claim a session scan for non-Claude providers 2026-08-21 15:58:05 +05:30
day-aggregator.ts fix(daily-cache): surgical tz-migration de-dup for carried days (#770) 2026-08-04 04:11:30 +03:00
doctor.ts test(cache): make the round-2 review findings fail when broken 2026-08-05 05:58:17 +03: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(dashboard): label the day-count denominator, explain durable carry-forward 2026-07-29 23:02:05 +05:30
fs-utils.ts feat(copilot): track GitHub Copilot JetBrains IDE usage 2026-07-03 16:11:27 +05:30
granular-history.ts fix(web): count legend title uniqueness in code points 2026-08-21 21:59:13 +05:30
ink-win.ts fix(ink-win): strip synchronized-update escapes instead of exact-matching them 2026-08-04 03:06:47 +03:00
main.ts fix(report): require durable period; drop unreachable dailyMap 2026-08-21 22:35:52 +05:30
menubar-installer.ts menubar: install and launch the Windows tray app from codeburn menubar 2026-08-18 06:55:09 -07: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 fix(codex): stop double-billing reasoning output, price cache writes at the explicit rate only 2026-08-21 11:50:23 -07:00
models.ts fix(pricing): version the pricing cache and drop codex-credits' dead reasoning param 2026-08-21 12:48:55 -07:00
optimize.ts fix(optimize): do not claim a session scan for non-Claude providers 2026-08-21 15:58:05 +05:30
overview.ts fix(aggregator): apply --project/--exclude to the durable headline 2026-07-31 19:32:02 +08:00
parse-worker.ts perf(parse-workers): gate on pending bytes, size the per-worker budget per parse 2026-08-17 02:53:19 -07:00
parse-workers.ts perf(parse-workers): gate on pending bytes, size the per-worker budget per parse 2026-08-17 02:53:19 -07:00
parser.ts fix(pricing): version the pricing cache and drop codex-credits' dead reasoning param 2026-08-21 12:48:55 -07: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
serve.ts fix(serve): close review follow-ups on the shared-cache PR 2026-08-16 18:29:11 -07:00
session-cache.ts Merge pull request #1054 from avs-io/fix/1051-copilot-rollup-dedup 2026-08-21 23:34:19 +03:00
session-population.ts fix(optimize): isolate sidechains from behavior 2026-08-14 02:51:54 +05:30
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 fix(sqlite): only reach for an immutable URI where node:sqlite honours one 2026-08-18 10:38:01 -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 fix(optimize): exclude sidechains from session heuristics (#974) 2026-08-12 20:59:12 +05:30
usage-aggregator.ts docs(pricing): bound the codex repricing drift in verify:upgrade, fix stale comments 2026-08-21 12:49:05 -07:00
web-dashboard.ts fix(dash): keep the disambiguator visible, make the bootstrap safe by construction 2026-08-18 05:49:16 +03:00
workflow-insights.ts fix(optimize): isolate sidechains from behavior 2026-08-14 02:51:54 +05:30
yield.ts fix(sync): close credential-leak paths; session retraction; span/key/CLI hardening 2026-08-02 12:56:59 +00:00