Skip to content
Trazum

Trazum

Changelog

What changed, release by release, newest first. Each release has an address of its own.

Versioning policy: VERSIONING.md. Nothing breaks inside a major line, and 2.0.0 broke nothing either. A patch here can add a feature, and the policy says why. Below 1.0, minor versions could contain breaking changes, and said so in their first line.

What is merged into main but not yet tagged is in changes/, one file per change, and a release folds it in under its version. A change that alters nothing installable — a test, a document — still gets a file rather than nothing: the changelog is the record of what happened to this repository, and a merged commit with no entry is a change only git log remembers.

Every release152 releases

The 3 newest releases are drawn in full below. Every release has its own page.

  1. Unreleased
  2. 3.0.4
  3. 3.0.3
  4. 3.0.2
  5. 3.0.1
  6. 3.0.0
  7. 2.7.12
  8. 2.7.11
  9. 2.7.10
  10. 2.7.9
  11. 2.7.8
  12. 2.7.7
  13. 2.7.6
  14. 2.7.5
  15. 2.7.4
  16. 2.7.3
  17. 2.7.2
  18. 2.7.1
  19. 2.7.0
  20. 2.6.0
  21. 2.5.2
  22. 2.5.1A bill for a period
  23. 2.5.0Each request at its own size
  24. 2.4.3Each call at its own price
  25. 2.4.2The bill as an attachment
  26. 2.4.1The same door from the browser
  27. 2.4.0One door, and where the spend is
  28. 2.3.0The warning that cried wolf, and a skill written for one agent
  29. 2.2.1
  30. 2.2.0
  31. 2.1.0
  32. 2.0.0
  33. 1.86.0
  34. 1.85.0
  35. 1.83.0A receipt, and the surfaces that could not disagree
  36. 1.82.0The band was a measurement of its own training set
  37. 1.81.0The things nobody had checked
  38. 1.80.1The capital letter the grant keeps
  39. 1.80.0The doors somebody else walks through
  40. 1.79.0The dash the sweep left behind
  41. 1.78.0A sentence no locale could reach
  42. 1.77.1The folder name stands
  43. 1.77.0The agent's bill, told honestly
  44. 1.76.0The tour that does the work
  45. 1.75.0The readable terminal
  46. 1.74.0Any model's money
  47. 1.73.1The result follows the scenario
  48. 1.73.0The guided tour
  49. 1.72.0The playground
  50. 1.71.2The README the npm page never showed
  51. 1.71.1The help, in the language it was asked in
  52. 1.71.0The universal cost lens
  53. 1.70.0One drag
  54. 1.69.0The agent's own bill
  55. 1.68.0The browser catches up
  56. 1.67.1Ready to travel
  57. 1.67.0The month ends on a measured position
  58. 1.66.0One policy, three doors
  59. 1.65.0The format anyone can adopt
  60. 1.64.0The report somebody forwards
  61. 1.63.0Scale is measured, not assumed
  62. 1.62.1This machine, measured
  63. 1.62.0Held to its own standard
  64. 1.61.2An input nobody had tried
  65. 1.61.1Nothing was holding these
  66. 1.61.0A prompt this tool cannot improve
  67. 1.60.4You describe it, it asks
  68. 1.60.3A document nobody lists
  69. 1.60.2Checked by running
  70. 1.60.1What else does this fail on
  71. 1.60.0Our own medicine, measured
  72. 1.59.0A language needs a maintainer
  73. 1.56.2What this project was claiming about itself
  74. 1.56.1What the rules actually do
  75. 1.56.0Something that runs
  76. 1.55.0More than one machine
  77. 1.53.4What it says and what it does
  78. 1.53.3Two surfaces, two formats
  79. 1.53.2What the tool says about itself
  80. 1.53.1The band stays inside the family it was measured in
  81. 1.53.0Four of the seven, and why the other three are not here
  82. 1.52.1Two more providers, from facts already here
  83. 1.52.0The gateway in a real path
  84. 1.51.2The stream, and fourteen things nothing was checking
  85. 1.51.1A front door
  86. 1.51.0The record, and the minor
  87. 1.50.11The commitment
  88. 1.50.10Whose money
  89. 1.50.9The semantic pass
  90. 1.50.8The quality gate
  91. 1.50.7The experiment
  92. 1.50.6The ladder
  93. 1.50.5Cost per outcome
  94. 1.50.4The outcome
  95. 1.50.3The gateway
  96. 1.50.2The feedback loop
  97. 1.50.1The numbering
  98. 1.50.0The standard
  99. 1.49.0The live budget
  100. 1.48.0The cost review
  101. 1.47.0The browser sees the bill
  102. 1.46.0Five minutes
  103. 1.45.0The agent's budget
  104. 1.44.0The answer in milliseconds
  105. 1.43.0The watch
  106. 1.42.0The store
  107. 1.41.0The connector
  108. 1.40.0The long run
  109. 1.39.0Did it work?
  110. 1.38.0The plan
  111. 1.37.0The fleet
  112. 1.36.0The estimate stops guessing
  113. 1.35.0The reader who is not in the terminal
  114. 1.34.0Findings as policy
  115. 1.33.0The log it could not read yet
  116. 1.32.0The routing decision, priced whole
  117. 1.31.0The gate that explains itself
  118. 1.30.0The report as a diff
  119. 1.29.0The budget, the overlay and the small log
  120. 1.28.0The retry bill, the series and the standing word
  121. 1.27.0The ceiling, the drift and the tab in step
  122. 1.26.0The release that releases itself
  123. 1.25.0The retry, the archive and the shape in the tab
  124. 1.24.0How big, how uneven, and the day it spiked
  125. 1.23.0What if it were the other model?
  126. 1.22.0The gate, the window and the spreadsheet
  127. 1.21.0What the log does not say
  128. 1.20.0When, and what you can build on
  129. 1.19.0Which workload, and at what rate
  130. 1.18.0The bill, where the decisions are made
  131. 1.17.0What the report cannot see
  132. 1.16.0The worst case, on the record
  133. 1.15.0The same answer on every surface
  134. 1.14.0Drill-downs and drive-bys
  135. 1.13.0The bill learns to say no
  136. 1.12.0The log gets a clock
  137. 1.11.0What actually moves the bill
  138. 1.10.0Every hard edge, both sides
  139. 1.9.1The preflight
  140. 1.9.0The error band, measured
  141. 1.8.0No date in the file
  142. 1.0.0No date in the file
  143. 0.11.0No date in the file
  144. 0.10.0No date in the file
  145. 0.9.0No date in the file
  146. 0.8.0No date in the file
  147. 0.7.0No date in the file
  148. 0.6.0No date in the file
  149. 0.5.0No date in the file
  150. 0.4.0No date in the file
  151. 0.3.0No date in the file
  152. 0.2.0No date in the file
  153. 0.1.0No date in the file

Unreleased

Merged into main and not yet tagged. These are not in any release you can install.

Added#

  • GOVERNANCE.md, docs/architecture.md and an assurance case say who decides, how the parts fit and why the security requirements are met. (#918) Governance names the two maintainers, the roles and how a decision is made, and what closing issues, accepting changes and releasing rest on if either can no longer act. The second maintainer is a code owner of every path and a reviewer of the environments a release and a deploy run under. The architecture page gives the parts, which way they depend, where data goes and what crosses the network. The assurance case ties the threat model, its trust boundaries, the secure design principles and the weaknesses countered into one argument, each step pointing at evidence a test holds.

Changed#

  • GOVERNANCE.md says the review rules are in place. (#922) The owner applied the branch ruleset and the environments on 2026-11-22, and both read back as their files state them, so the paragraph that said a release still waited on the owner now says what holds.
  • Every change to main needs the other maintainer's approval. (#920) The branch ruleset asked for zero approvals because, with one maintainer, one deadlocked the repository: GitHub does not let an author approve their own pull request. With a second maintainer since 2026-11-22 it asks for one again, of the last push and from somebody other than whoever made it, so a change, Dependabot's included, merges only when the maintainer who did not open it approves. GOVERNANCE.md says how an admin restores merges if one maintainer cannot approve.

Fixed#

  • The offline test no longer fails when its two runs fall either side of midnight. (#916) It compares each command's answer with and without the network, and trazum models says how many days ago the prices were read, so two runs either side of midnight UTC disagreed by the clock. That failure stopped the 3.0.4 release before it published anything. Both runs now share one frozen clock.

Added#

  • The README shows the OpenSSF Best Practices badges, Passing and Baseline Level 1, and SECURITY.md says what they certify. (#912) The project meets every Passing criterion and every Baseline Level 1 control on bestpractices.dev. Those answers are the project's own, with a link for each, and SECURITY.md says so next to the badges.
  • A release carries its SLSA provenance under the name slsa-verifier and OpenSSF Scorecard look for. (#908) Besides trazum-v<version>.sigstore.json, the attest job attaches trazum-v<version>.intoto.jsonl, the same bundle written on one line. Nothing new is signed, and the job verifies every release file against both before it attaches them. On the files of 3.0.3, gh attestation verify --bundle passed with the one-line form, and failed on a file the attestation does not name.
  • Property-based tests feed every parser of untrusted text random input. (#906) packages/core/test/property-input.test.js uses fast-check, pinned as a development dependency only, on a fixed seed. It generates logs for the Claude Code, Codex and Gemini CLI readers, usage lines, configs, plans, task reports and prompts. Each reader has to count what it cannot read and never throw, return no negative or infinite count, and copy no message text, tool argument or path into its output. Each parser has to refuse with its own error, never a TypeError. optimize has to keep a fenced block intact and never grow the count. Run across four seeds at 1,500 cases a property, none of them failed.
  • trazum task evaluate --plan <plan.json> weighs several matched task pairs against a bar written down before the runs. (#903) The plan sets the number of pairs, the smallest fall in tokens per accepted task worth keeping and the largest fall in acceptance rate to accept for it. Each arm counts a rejected run's tokens, and a pair that does not match is kept with its reasons and left out of the totals. The verdict is clears-bar, below-bar, quality-bar-failed or inconclusive, and none of them claims the policy caused the change.

Fixed#

  • Signing in to the web app shows GitHub's account picker. (#900) A person signed in to more than one GitHub account now chooses which one, with prompt=select_account. The comment beside allow_signup=false said that parameter did this. It only hides GitHub's sign-up offer from a visitor who is not signed in, and the comment now says so.
  • The gateway's estimate counts the tools, a system prompt sent as blocks, and Responses' instructions. (#899) Each is billed as input on every call, and none was counted, so a call with a large tool set or a cached system prompt was judged against the budget as smaller than it was and could be let past the limit.

Security#

  • The one advisory the security workflow excepted is fixed, not excepted. (#905) GHSA-mrhx-c7xc-m3w5 reached only the CI-only Codecov bundle analyzer, through the zod 3 it asks for, which no 3.x patches. tools/bundle-analyzer now overrides zod to 4.6.7, and the analyzer's dry run and option checks gave the same results on it as on 3.25.76. The dependency review excepts no advisory by ID again, so every one at moderate or above fails it, and a test keeps the override exact and at or above the fixed release.

Changed#

  • Dependencies move to their latest patch and minor releases. (#885, #892) Biome 2.6.8, lucide-react 1.75.0 and posthog-js 1.451.1 in the workspace, and playwright-core 1.65.1 for the end-to-end tests in tools/. posthog-js now fetches its remote config from the assets host, which the web app's CSP does not allow. That fetch only sets session recording, surveys and autocapture, which Analytics.tsx turns off itself, so nothing the app sends changes.

Fixed#

  • The release's attest job names the repository it reads. (#895) On 3.0.2, its first run, it read the release's files from outside the checkout, where gh has no repository to read, and failed before it signed anything. 3.0.2's files carry no attestation, and its notes now say so. A test holds every gh call in the job to --repo.

Added#

  • bill says what a Bedrock or Vertex model id is when it leaves the id unpriced. us.anthropic.claude-sonnet-4-6, anthropic.claude-haiku-4-5-20251001-v1:0 and claude-sonnet-4-5@20250929 are named with their platform and, when the catalogue knows it, the Claude model inside. They stay unpriced, because each platform sets its own prices, and the hint says how to price them with an overlay. (#858)
  • trazum model-pricing reads the contracted rates your organisation already gave Claude Code in its modelPricing managed setting and writes them as a pricing overlay, so bill and every command that takes --pricing show the figure Claude Code shows. What the table cannot say (batch, fast mode) keeps the catalogue's figure and is named per model; a key it cannot place, a row Claude Code would drop and a rate of zero are named and priced nowhere. A receipt line priced by any overlay now carries the overlay's date rather than the catalogue's. (#856)
  • bill --prom-out writes the bill in the Prometheus text format, and a Grafana dashboard reads it. (#844) Teams that already run Grafana want the spend in the same place. The file is the --otlp-out payload written as text, sample for point, for the node exporter's textfile collector: Trazum pushes nothing. Each closed UTC day is its own series, labelled trazum_day, with no timestamp, because Prometheus refuses a scraped sample stamped a day back. Every cost sample keeps trazum_cost_basis="api-equivalent", what could not be priced is its own metric, and what a day still being measured held is a gauge of its own. docs/grafana/trazum-bill.json charts it, and says on every panel with money that it is API-equivalent. bill-prom.test.js holds that the samples add to the bill, that each matches its OTLP point, that a project name with a quote and a backslash survives, and that the dashboard queries no metric or label the file does not write.
  • Staging and production for the web app, a next channel on npm, and the three GitHub Environments stated in the repository. (#829)
    • The web app. Every merge to main is built by Vercel as a staged production deployment: "Auto-assign Custom Production Domains" is off on the Vercel project, so the build serves its own address until it is promoted, and promotion does not rebuild it. .github/workflows/promote-web.yml is the button: started by hand from main, under the production environment and its reviewer, it runs scripts/promote-web.mjs, which reads the deployment from Vercel's API and refuses anything but a ready, staged production build of the project (a preview would be rebuilt with production variables), then promotes it and waits until Vercel says the job succeeded. rollback puts production back on a build that served it before. After a rollback Vercel turns automatic assignment off, and the next promotion turns it back on; the job warns when that happens. The Vercel token, project id and team id are secrets of the production environment and nowhere in the repository; the token goes to api.vercel.com and to no other host. docs/setup.md, "Staging and production", has the flow, why a staged deployment and not a custom environment, how to roll back, and the Vercel pages it rests on, each with the date it was read.
    • npm. A version X.Y.Z-next.N publishes to the next dist-tag and never to latest. scripts/npm-channel.mjs decides the channel in release.yml's decide job and refuses a prerelease on main, a tag that does not name the manifests' version, and any other prerelease word. Every upload passes --tag from that answer; npm-serves.mjs waits on the same tag and fails at once if latest names a prerelease; the GitHub release, the attached files and the MCP registry listing run for latest only. prepare-release.mjs 3.1.0-next.1 moves the lockstep versions and nothing else, and the tests that hold a document to the current version read the release on latest on a next's tree (recordedVersion). docs/releasing.md, "A next prerelease", is the procedure: a branch, a tag, never a merge.
    • Environments. .github/environments.json states staging, production and release, each with a required reviewer, the branches that may use it and the names of its secrets. npm run environments compares GitHub with it and npm run environments -- apply --yes writes it, the way npm run ruleset does for the branch; the weekly Repository settings run compares and never writes. No job runs under staging yet: Vercel's Git integration builds it.
    • Tests. npm-channel.test.js, web-promotion.test.js and environments.test.js. Planted one at a time and put back, each caught by the test named: listed on the pull request.
  • The site publishes llms.txt and llms-full.txt, and a page for people building on the JSON. (#827) scripts/build-docs-site.mjs writes both through scripts/llms-txt.mjs into apps/web/public, from the documents /docs already publishes and in the manifest's order, and, like the rest of what that script writes, they are not committed. llms.txt follows llmstxt.org (read on 2026-11-19): an H1, a blockquote summary, H2 sections of markdown links with a one-line note each, and Optional last. llms-full.txt is the same documents, unchanged, in one file. trazum.config.json ignores the two files, which are copies of documents and not prompts. Nothing in either is typed: the summary, links and descriptions are read from the documents. docs/building-on-the-json.md, linked from docs/README.md and the README, links each command's contract in docs/json-output.md, says the contracts are versioned and held by tests, says what is stable and what is not, and says nothing uploads usage. llms-txt.test.js holds what the builder makes (twice, to the same bytes) to the documents and the page to json-output.md's sections. Planted and caught, results on the pull request: a builder that emits an extra line, a document deleted but still in the manifest and linked, and a link from the new page to a section of json-output.md that does not exist.
  • trazum bill --agent <name> bills one coding agent's records, and --timezone <zone> cuts days in a zone instead of UTC. (#826) --agent claude-code|codex|gemini-cli (or the name the bill prints, in any case) keeps that agent's records in the statement, the receipt, the side files and --otlp-out; a plain log or a provider export belongs to no agent and is left out, said on stderr with the count. An unknown agent is refused by name with the three known ones, and so is a known one with no record among what was read, which exits 1 like every refusal in bill. --timezone Europe/Madrid cuts --by day, --by week, --by month, the automatic month table, the span line and what a bare --since/--until day means in that zone, through Intl.DateTimeFormat with no new dependency; a day the clocks made 23 or 25 hours long is billed whole. The statement says which calendar it is on. An invalid zone is refused by name before any file is read. --timezone is refused, by flag, beside --otlp-out, --markdown-out, --html-out, --pdf-out and a --csv-shape other than slice, which cut their days in UTC, and both flags are refused beside --git-range; --receipt, -o and --send combine, because a receipt holds instants and no day. Without either flag the output is unchanged, held byte for byte by bill-agent-timezone.test.js for --by day, week and month, and the receipt gains no field, so docs/json-output.md has nothing to add. Documented in docs/commands.md, under bill; messages and help in English and Spanish. Planted one at a time and put back, each caught by a named test in that file: the agent filter ignored (in the statement, and in the OTLP file), the zone ignored, an unknown agent accepted, an invalid zone accepted, a zone line printed with no flag, a bare --until day ended 24 hours after it began instead of at the next local midnight, --otlp-out let through beside --timezone, Codex import evidence leaking onto another agent's receipt, a bare --since day read in UTC under --timezone, and --agent accepted beside --git-range. The results are recorded on the pull request.
  • trazum bill --git-range <range> --delivery sets the spend recorded in a repository beside what local git shows landed in the same range. (#825) It adds two lines at the end of the --git-range view and changes none above them: the commits of the range (merge commits counted and named), the pull requests git names by number, the UTC days on which a commit was committed, and the figure of the sessions inside the span divided by each. Pull requests come from local git alone, by the number in Merge pull request #N from ... on a merge commit or in ... (#N) closing the subject of a squash commit, counted once per number; a pull request merged by rebase names none, so the count is a floor and the line says so, and with none named there is no per-pull-request figure and never a $0. Only metadata is read: the log is asked for the parents, the commit time and the subject, the subject is read for a number and dropped, and no author name, email, message, branch or hash is read out or printed, and no pull request number is printed. The wording rule of #777 holds: the figures are what was recorded during a window divided by counts over the same window, and the line says they are not what any commit, pull request or day cost; nothing says a change caused the spend. One flag rather than a --by commit|pr|day, because --by already cuts a bill into days, weeks and months and a row per commit or pull request would be a figure for one change, which the transcripts cannot give. --delivery without --git-range is refused by name. Without the flag the output is unchanged, held byte for byte by bill-git-delivery.test.js against a statement written by hand, and checked once more by running the CLI built from origin/main and this one on one made-up repository: stdout, stderr and exit code identical in 10 runs (five invocations, both languages). Documented in docs/commands.md, under bill; help and messages in English and Spanish; the machine-readable output is not touched, so docs/json-output.md has nothing to add. Tests are in packages/cli/test/bill-git-delivery.test.js, on made-up repositories in temporary directories, with the money worked out by hand ($2 per million input tokens on Claude Sonnet 5.5: $4.00 over 8 commits, 2 pull requests and 2 days). Planted one at a time and put back, each caught by the test named: the author name asked of git (asks git for the parents, the commit time and the subject, and nothing else) or printed (names no author, message, branch, hash or pull request number), a line saying a commit cost the amount or caused it, in English and in Spanish (says what the figures are, and that none of them is what a commit cost), the delivery lines printed without the flag (adds lines and changes none..., prints, without the flag, exactly what it printed before the flag existed), a pull request counted once per commit (reads a pull request number from the two shapes GitHub writes, and only those), a number read from the middle of a subject (the same test), the merge shape read on a one-parent commit (the same test), a zero count divided to $0 (names no figure per pull request when none is named..., divides, and gives no figure where the count is zero), days cut by author time (counts a day by when the commit landed, not when it was written) and --delivery accepted without --git-range (is refused without --git-range, by name). The results are recorded on the pull request. Not measured: how long the second git log takes on a very large range.
  • trazum gateway --metrics-port <n> serves what the gateway counted, for Prometheus to scrape, and a Grafana dashboard reads it. (#824) GET /metrics on a second loopback port, off unless given: calls measured, the provider's tokens by kind, their cost at the catalogue's list rates with trazum_cost_basis="api-equivalent", calls with no list price, calls forwarded and not measured by cause, 402s by the reason the refusal body gave, substitutions, free paths and an unreachable provider, all since the process started. The cost is priced by the same function the live budget charges with, priceGatewayUsage, taken out of GatewaySpend.settle for it. A second port, not a path on the proxy's, because route is the one reader of a caller's URL there; the scrape port has no upstream, binds to 127.0.0.1 through listenGateway, and refuses a rebound page through refuseHost. Counts and names only: the labels are the provider, the model, metadata.trazum_label, a reason and a cause, and no session, prompt or response; nothing is pushed. A model and a label are the caller's text, so past 1,000 distinct pairs a call naming a new one is left out whole and counted in trazum_gateway_calls_dropped_total. docs/grafana/trazum-gateway.json charts it. Documented in docs/gateway.md and docs/commands.md; help and messages in English and Spanish. gateway-metrics.test.js drives calls through the proxy against a stub provider and reads the scrape; a guard in security.test.js holds the port to forwarding nothing, guarding the host first, recording no session, and listening on loopback.
  • The Claude Code status line says how much of your plan's window is used and when it resets. (#823) On a subscription the question is when you run out, not what a call cost. Claude Code hands the status line rate_limits on a Pro, Max or Ultra plan, or behind a gateway that sets a spend limit, and the line now shows it beside the session's figure: 5h 23%, resets 14:20 · 7d 41%, resets Sat 09:00, and spend 62% of $500/month, resets Mar 1 where a spend limit is set. Only what Claude Code sent is shown: a window without its percentage or its reset, or whose reset has passed, is left out, and a percentage is rounded down, so a window at 99.6% is not shown as used up. On an API key, and before a session's first response, Claude Code sends none and the line shows no plan figure: Trazum keeps no table of plan limits and works out no counter from tokens. Field names and units are from Claude Code's status line documentation, read on 2026-11-20. The status line suite runs the script on each case; planting a window whose reset has passed, a window without a percentage, a percentage rounded up, or the separator printed with nothing after it each fails it.
  • trazum waste points out the waste in a coding-agent session, priced, and changes nothing. (#822) trazum waste <session>.jsonl reads a Claude Code transcript and the transcripts of its subagents and names three costs: a file read again (the same path and range as an earlier read in the same conversation, no edit of it between, not an errored read), MCP servers loaded and never called, and a CLAUDE.md carried on every turn. It is a command of its own rather than a section of bill, because its answer is a short list of named costs each with the reason it is or is not priced, and bill answers whose spend a slice is. Prices are at the bundled, dated catalogue as API-equivalent cost, through profileUsage; it loads no config and refuses --pricing, --pricing-live and --config. A saving is computed from the session's own counts and never a percentage taken from elsewhere: a repeated read is priced by the prompt growth across the call that made it (P(next) - P(this) - output(this) tokens), carried on every later call of that conversation until the prompt shrinks (a compaction), as the difference between the conversation priced as it was and priced without those tokens. It is a lower bound, priced only where the call made no other tool call, and the rest are counted and said to be unpriced. MCP servers are named and not priced, because a server's tool-definition tokens are not recorded in a transcript; the loaded list is read from the deferred_tools_delta and mcp_instructions_delta attachments, whose field names were checked on 2026-11-19 against a real Claude Code transcript, and from an mcp_servers list on a system line, which that transcript did not have; --mcp-servers a,b names them instead and the output says so. CLAUDE.md is the one estimated figure: its size is a stat of the file in the session's directory (or --claude-md), its tokens are bytes over the estimator's divisor of 4, and the cost is shown with the estimator's published band, 33%, either side. It recommends and edits no file, and reads counts and paths only: no message text, command, tool result or file content reaches the report, held by a test that plants a secret in each. --min-reads <n> (default 3) chooses what is listed; --json prints a document with schemaVersion and kind: "trazum-waste", held in both directions to its table in docs/json-output.md and listed in docs/format.md, whose count of emitted documents moves from twenty-five to twenty-six. Documented in docs/commands.md; messages in English and Spanish; the command count moves from 58 to 59 wherever it is stated. Tests are in packages/core/test/session-waste.test.js and packages/cli/test/waste.test.js, on made-up transcripts in temporary directories with the money worked out by hand (two repeated reads of 3,000 tokens each on Claude Opus 5 are $0.042; a 4,000-byte CLAUDE.md over six calls is $0.0145). Planted one at a time and put back, each caught by the test named: a write between two reads ignored (does not count a read that follows a write to the same file), the read range ignored (does not count a different range of the same file as the same read), an errored read counted (ignores a read the tool reported as an error), every conversation merged (keeps every conversation apart...), no reset at a compaction and the output tokens not subtracted (prices the context a repeat added and carried...), a repeat priced although other tool calls shared its growth (counts a repeat made beside other tool calls and does not price it), a server given a price (does not price it: the definitions are not in the transcript), the band's sign reversed (prices the tokens a size implies...), --min-reads ignored (lists only files read at least --min-reads times...), a removed tool still loaded (forgets a tool the transcript later says was removed), an unreadable call counted as free (says it cannot tell when a call could not be read as usage...), the working directory copied into the report (carries nothing of what was said, run or returned into the report), the CLAUDE.md content opened or a file written (opens no file for its content except the transcripts), a pricing overlay accepted (refuses a pricing overlay, a missing path...) and a documented JSON field removed (documents every field in docs/json-output.md, and emits no other). Not planted: the check that the transcript pairs with its usage line for line, which has no input that can break it short of a defect in the converter. Not measured: how long it takes on a very large transcript, and what share of real sessions' repeats are priced rather than counted.
  • trazum session-guard is a Claude Code hook that warns once, then stops a session, at two dollar figures you set. (#821) trazum session-guard install --warn 5 --stop 15 --on-cannot-tell fail-open writes one hook to ~/.claude/settings.json, on the UserPromptSubmit and PreToolUse events. Each time it runs it reads the session's transcript and its subagents' transcripts, converts them as from-claude-code does, and prices them at the bundled, dated catalogue. Under --warn it is silent. At or over --warn it says so once per session, as {"systemMessage": ...} at exit 0. At or over --stop it blocks every time, with exit code 2 and the reason on standard error. Both are the forms Claude Code's hooks page (code.claude.com/docs/en/hooks, read 2026-11-19) documents, and the page and date are in a comment in session-guard.ts. Nothing has a default: a missing --warn, --stop or --on-cannot-tell is refused by name, and so is a --warn that is not below --stop. A transcript that cannot be read, a missing one, and a model the catalogue has no price for follow --on-cannot-tell, with the meaning it has on gateway, and never count as $0; calls that were priced count as a floor, so an unpriced model cannot hide a stop. Every figure is worded as API-equivalent cost, not what was paid, in English and Spanish. It reuses proactive's door: the same write function, backup, JSON-as-data reading and record in ~/.trazum/proactive.json, so uninstall removes exactly its own hook and the containers it made, and a hook of yours that mentions session-guard is never taken for its own. "The warning was given" is a file in the status line's cache directory and nowhere else. It loads no config and refuses --pricing and --pricing-live; nothing leaves the machine. Not available on Windows. The hook reads the whole transcript on every prompt and tool call, and how long that takes has not been measured. Documented in docs/commands.md; the command count in the README, the plugin page, docs/licensing.md and the web app's sample text moves from 57 to 58. Tests are in packages/cli/test/session-guard.test.js, on made-up transcripts with the money worked out by hand ($25 per million output tokens on Claude Opus 5, so 100,000 tokens is $2.50) and temporary homes only. Planted one at a time and put back, each caught by the test named: no warning given (warns between the figures..., warns at exactly the warning figure), warning repeated (gives the warning once per session...), no stop (blocks at exactly the stop figure...), stop below the threshold (does not block just under the stop figure), an unpriced model priced at $0 (never prices a model with no price at zero...), and the install touching another hook (adds the hook to both events and touches no other hook...).
  • A weekly cross-check of Google, DeepSeek, Moonshot, xAI and Mistral against LiteLLM's model list, as a signal to re-read a provider's page. (#820) scripts/price-crosscheck.mjs, run by the same scheduled CI job as price-drift.mjs, reads LiteLLM's public model_prices_and_context_window.json and reports, for the providers price-drift.mjs cannot read: a LiteLLM chat model the catalogue does not price (missing), an input, output or cache-read rate that differs from the catalogue's (differs, with the catalogue's source page and read date beside it), and a file with nothing for a provider (unread). LiteLLM is a signal, not a source: nothing is copied and the script never writes pricing.ts or any file. A LiteLLM rate that equals the row's base, its rate in force today or any of its tiers (DeepSeek's peak hours, a long prompt) is agreement, reported as a note naming the tier, and a row the catalogue has retired is a note and is not compared. Ids are matched exactly after taking off LiteLLM's provider prefix, never by resemblance; a catalogue model LiteLLM does not list is a note. On the weekly schedule a differing rate or an unread file fails the run and a missing model only reports; on other runs it never fails. CONFIRMED_DIFFERENCES records a row a person re-read and found right. raw.githubusercontent.com is now decided in trusted-hosts.test.js as public data, no credential. Documented in docs/releasing.md and docs/pricing-dataset.md. price-crosscheck.test.js runs a fixture LiteLLM file (a missing model, a differing rate, a matching rate, a provider out of scope) against a stand-in catalogue; the plants (a missing model not reported, a differing rate not reported, an equal rate reported, a write to pricing.ts, an out-of-scope provider reported, tiers ignored, retired ignored) are recorded on the pull request.
  • A plan can carry an edit to a tracked file, and the Action can open the pull request that makes it. (#796) plan wrote what to do and verify said whether it worked; for a change that is an edit to a prompt, the tool already produced the new text and stopped at printing it.
    • The action. trazum plan <log> --edits adds an edit-file action for each prompt file labels in trazum.config.json maps a workload to: the text the safe rules make of it (--reorder first moves stable blocks ahead of the first placeholder), recorded by the SHA-256 of the file before and of the text after, with the steps, the level and the rules left off. The text itself is not in the plan, so a hand-edited plan has nowhere to put other text; applyPlanEdit in the core is the only way to the new text, and it refuses a file that is not the one the plan saw and a result that is not the one it promised. Only a file git tracks gets an edit (isTracked in git.ts, the one module that runs git), never a source file, and a mapped label that gets none is named with the reason. An edit projects no saving: its figure is the workload's bill as the log measured it, and the file's tokens before and after are labelled as the estimator's. --min-usd keeps edits, which carry no money to be under. Nothing is written to the file.
    • Verify. verify hashes each edited file where it is now. Arrived needs both the promised text in the file and the workload's input tokens per call below the plan's baseline in the newer log. The file still as the plan found it did not arrive; a file holding anything else, or gone, is cannot-tell: file-changed and fails --gate; where nothing can read the file (the browser tab) it is cannot-tell: file-not-read and fails nothing.
    • The document. PlanDocument gains the edit-file kind, detail.edit, the assumption file-is-what-label-sends and the two cannot-tell reasons, and stays schemaVersion: 1: additions only, and a plan written before them parses and verifies as it did. parsePlanDocument refuses an edit-file action whose edit is missing, names a path that is absolute, climbs with .., has an empty or . segment, a backslash or a control character, or names .git, or carries a level other than safe. The HTTP savings API and the MCP savings tools keep refusing an edit-file action: they take text, not a repository, and could only answer that the file cannot be read.
    • The Action. A new input, plan-pull-request, off unless 'true', makes the plan from usage-log and runs one new step, Open the plan's pull request (action/open-plan-pr.mjs), the only step of the Action that writes to a repository. Through the Git Data API it reads each file from the default branch, makes the edit again there, writes one commit on a new branch trazum/plan-<hash of the edits> and opens one pull request whose body is the plan. It refuses the whole pull request when one file moved on; creates nothing when the plan has no edit or every edit is already on the default branch; reuses the open pull request for the same edits, does not reopen a closed one, and leaves alone a branch of that name with no pull request; creates no ref but its own, calls no merge endpoint, and sets no label, reviewer or assignee. It never fails the build for not opening. docs/ci.md shows it in a job of its own with contents: write and pull-requests: write; no other step gains a permission or the token. The mode refuses target, weekly-summary and every gate and window beside it.
    • Tests. packages/core/test/plan-edit.test.js, packages/cli/test/plan-edits.test.js (a real git repository in a temporary directory) and action/test/open-plan-pr.test.mjs, which drives the step against an in-memory stand-in for the GitHub API with no socket. Planted one at a time and put back, 20 caught and 0 escaped: a file the plan did not list added to the commit; text other than the promised text committed; plan --edits writing the file; a pull request opened with no change (both guards removed); a second pull request for the same plan, once by naming the branch after the whole document and once by not looking for the existing pull request; the default branch as the ref; a file's mode dropped; Markdown that is not the plan accepted as the body; a file that moved on accepted; an edit to a source file; a path climbing out of the repository; an edit projecting a saving; verify arriving on the file without the log; verify reading a file still as planned-from as arrived; an untracked file given an edit; verify not reading the files; --min-usd dropping an edit; the step run without plan-pull-request; an edit-file action with no edit parsed.
  • trazum bill --receipt --send <url> posts the receipt to an organisation's HTTPS endpoint, and nothing else leaves. (#789) The body is the bytes --receipt writes, one POST, one attempt, no retry and nothing in the background. The key is read from TRAZUM_RECEIPT_KEY as a bearer header, is not accepted as a flag and is removed from anything printed, a response body included. The URL goes through watch --webhook's own checkWebhook (https except on loopback, no credentials in the URL), and a redirect is refused. The receipt is written before the send, so a refusal or an error leaves it in place; the run then exits 3, and stderr carries the status and the response body, never the request headers. --send without --receipt is refused by name. receipt-send.ts is added to the outbound modules SUPPORT.md lists. Documented in docs/commands.md, under bill; messages in English and Spanish. bill-send.test.js receives the bytes on a local server, and the plants (a prompt in the request, the key printed, a redirect followed, plain http to a remote host accepted) are recorded on the pull request.
  • OpenSSF Scorecard runs on main and its result is on the README. (#787) .github/workflows/scorecard.yml runs the Scorecard action, pinned to a commit, on every merge to main and weekly, and publishes the result the README's badge shows. SECURITY.md says what the score covers and what it does not. It is not a required check.
  • On a pull request, the Action's comment says what the change does to each prompt's cost against the base branch. (#785) The Action gated a prompt on its token budget and on drift past a recorded baseline; it did not say that this change makes these prompts cost so much more or less a month than they do on the base.
    • The command. trazum check <target> --base <ref> reads the prompts under the target at that commit and here, and gives every prompt that differs, was added or was removed a row: tokens on both sides, input cost on both sides and the difference. The base is read from the clone with git ls-tree and git show through git.ts (new: commitOf, filesAt), never fetched; a ref the clone does not have is reported as not compared, with the fix, and never replaced by the working tree. A ref starting with a dash is refused before git runs. Paths the directory walk would skip are skipped at the base too, through the new walkIncludes beside walkPrompts in the core. A prompt marked in a source file is compared prompt by prompt. --json carries it as againstBase; --markdown-out puts the table at the top of the report.
    • What a figure is. Input tokens at the model's input price, both sides at the same prices, so a repricing cannot read as a change the pull request made. Output is left out, because a prompt edit does not set it. The model is usage.model, or the default, and the report says which. Every row names its price per million input tokens and the day that price was read: the provider's review date in the catalogue (reviewedForModels), or a local overlay's own date.
    • The volume. A month is the calls somebody stated: a new config key, volumes, gives calls a month per label, and labels (the map plan --edits reads) says which prompt file the label sends. A prompt with no stated volume is priced per call and counted as such; several labels sending one file add up, and one of them without a volume leaves the file per call. A volume for a label labels does not map, or a negative one, is refused.
    • The gate. --max-monthly-increase-usd, and the Action input max-monthly-increase-usd, off unless set: fails when the prompts with a stated volume cost more than that much more a month on the head, names the changed prompts it could not judge, and fails when the base could not be read. The Action passes github.event.pull_request.base.sha to the check step through env:, so on a pull request the table is in the same report and the same comment, one per comment-key as before; it refuses the limit off a pull request, with usage-log, with weekly-summary and with plan-pull-request. actions/checkout needs fetch-depth: 0 for the base to be in the clone, which docs/ci.md shows. Without it and without the limit, the Action does not compare, so a default shallow checkout's report is unchanged.
    • Tests. packages/cli/test/check-base.test.js (a real git repository with a base and a head, and the expected table worked out by hand in its header), action/test/base-comparison.test.mjs (runs the check step's own script with bash against a stand-in CLI, and posts the rendered table twice through post-comment.mjs) and a walkIncludes agreement test in walk-ignore.test.js. Planted one at a time and put back, 15 caught and 0 escaped: the base read from the head; a missing volume treated as one call a month; a price without its date, once in the rendered row and once in the report; walkIncludes keeping a dot directory; a volume for an unmapped label accepted; the gate never breaching; the gate breaching at the limit exactly; a gate on an unreadable base passing; the Action not handing over the base; the Action running the limit off a pull request; a dashed ref reaching git; a marked prompt taking its file's volume; a label with no volume skipped in a sum; the base not held to the walk's rules.
  • The price catalogue is published as an open dataset, with every release. (#784) scripts/pricing-dataset.mjs writes packages/core/src/pricing.ts, read from the built @trazum/core, as one JSON document per release: one row per model and rate (input, output, each band, service tier, past period and promotion, the cache and batch ratios a model states, the geography multiplier and the web search fee), each with its provider, its unit, the pages that provider's prices were read from and the date. 3.0.1's document holds 734 rows for 91 models in 223,259 bytes, at https://trazum.vercel.app/datasets/pricing/3.0.1.json, beside schema-1.json (a JSON Schema) and changelog.json. MIT, the repository's licence. docs/pricing-dataset.md is the page for whoever consumes it.
    • Sources are per provider, because the catalogue keeps them so. The pages were prose above each date in PROVIDER_REVIEWED; PROVIDER_SOURCES in pricing.ts is that prose as data, the pages read on the date (Google's at aistudio.google.com, Mistral's at its inference page and three model cards), and provider-sources.test.js fails on a page the comment above the date does not name. No model is given a source of its own. No price or other catalogue value changed.
    • Patterns from literals. The validator compiles a schema pattern only from a table of literals, one for each pattern the schema names, and refuses any other, so no regular expression is ever built from the document it checks (Codacy, PR #809).
    • What it refuses. A price of zero, below zero or not a number stops the build, naming the model; so do an empty value anywhere but a batch ratio (the catalogue's null for "no batch API"), a provider with no date or no page, and a field of the catalogue the script does not know how to write. A ratio a model does not state gets no row: the catalogue's defaults are published once, in defaults. A model the catalogue does not price has no row at all. Nothing is fetched.
    • Releases. prepare-release.mjs writes the next version's document, the changelog and the schema from the catalogue as built, and refuses to rewrite a version already published. The assets job of release.yml copies the document as trazum-pricing-<version>.json only when it is byte for byte what the catalogue at the published commit builds, and SHA256SUMS covers it. 3.0.1's document was written after 3.0.1 was cut, from a pricing.ts whose only change since that tag is PROVIDER_SOURCES, so it is on the site and not on the release, and changelog.json names no release asset for it.
    • Held by test/pricing-dataset.test.mjs: the document read back, by code that shares nothing with the builder, is MODELS field for field; every row has its provider's pages and date; no value is zero; the published document is exactly what the script builds while pricing.ts is the file it records (by SHA-256); every published version satisfies the schema and lists what changed since the one before; the changelog and the schema are what the script writes. Planted and caught, each then restored: a row without a date (in the published file, and from the builder for xAI's rows), a value that differs from the catalogue (Fable 5.2's input 8 to 9 in the published file, and a band's output written as its input by the builder), a model priced at zero (Fable 5.2's input at 0 in pricing.ts, and a row at 0 in the published file), a page named nowhere in its review comment, a provider with no pages, a catalogue field left out, a ratio filled with the default, a schema keyword the validator does not read, a hand edit to changelog.json and to a document's changes, the upload removed from release.yml, prepare-release.mjs not writing the dataset, and write rewriting a published version. One plant was not caught, and is not a fault the guard claims: mistral.ai/pricing as a Mistral page, which the comment does name (the August review began there); the guard checks that a page is named, not that it was read on the date.
  • The two workflows that act outside the repository are held by a test. (#779) workflow-guards.test.js checks pr-guide.yml (the fetched script is pinned to a full commit and SHA-256, checked strictly before it runs, never run for a fork, and the job writes only to pull requests and issues) and mirror-to-n0.yml (it runs only on a push to main or by hand, never prints or stores the URL with its token, and pushes HEAD:main alone). The mirror now does nothing unless all three of its secrets are set; it checked the host only, so a missing user or token would have failed every push to main.
  • trazum bill --git-range <range> says what was recorded in this repository's sessions while a range of commits was written. (#777) trazum bill ~/.claude/projects --git-range main..HEAD, run from the repository, takes the times of the range from git log (the earliest author time to the latest author or commit time, so a rebased commit still starts the span at the day it was written) and sums the Claude Code records of this repository's project whose timestamps fall in it. The output says what the figure is: everything recorded in this repository during that span, not the cost of the change, in English and Spanish, and nothing in it says the change caused the spend.
    • Which project is this repository's, without reading a branch or a path out of a transcript. Claude Code names a project's folder after its absolute path, every character that is not a letter or a digit written as -. That encoding cannot be undone and is not: git gives the repository's root, the same encoding is applied to it, and a record belongs to the repository when the folder it was found in has that name (the label --label-from-project already puts on every record). gitBranch and cwd stay dropped by the reader. A session started in a subdirectory or a worktree sits in a folder of another name and is not matched, a session read from a single file has no folder to match, and when nothing matches the command says so instead of printing $0. Records from Codex, Gemini CLI and logs have no such folder and are counted as left out.
    • Sessions that cross an edge are named, not added. A session whose first and last call are both inside the span is in the figure. One that began before it or went on after it is listed with its first and last call and what each side cost, and is in neither the figure nor the left-out calls. A call with no timestamp is counted out; a call to a model the catalogue does not price is named, never $0.
    • Git. The log call is commitTimes in packages/cli/src/git.ts, the one module that runs a program. It reads times only (no author name, subject or hash), refuses a range that begins with - or holds a space or control character before it reaches the argv, and tells a range git refused from a git that could not run. The flag is refused beside --since, --until, --label, --no-label-from-project, --by, --receipt, --table, --stamp, -o and every --*-out, by name.
    • The Action does not take it. The sessions are on the developer's machine and a hosted runner usually has none; docs/commands.md says so and shows the step for a runner that does. No input was added to action.yml.
    • Tests. packages/cli/test/bill-git-range.test.js builds a real repository in a temporary directory with fixed author and commit dates (one commit rebased, so the two differ) and made-up sessions, and checks the figure worked out by hand: $3.00 + $1.00 = $4.00 over 4 calls in 2 sessions, two straddling sessions at $0.20 / $2.00 and $0.40 / $2.00, 2 calls of wholly outside sessions, 1 record of another project and 1 undated call left out. Planted one at a time and put back, 10 of 10 caught: a record of a wholly outside session counted; a straddling session counted as inside; a branch name from a transcript in the output (the reader passed gitBranch on and the straddle row printed it); the author time ignored; another project's records counted; a range reaching git as an option (--output= wrote a file); the edge instants excluded; the undated call counted; a worktree folder matched by prefix; the output reworded to say the change caused the spend.
  • trazum bill --otlp-out <file> writes the measured bill as OpenTelemetry metrics. (#776) Per UTC day, project, model and agent: trazum.bill.cost (USD, asDouble), trazum.bill.tokens (by trazum.token.type) and trazum.bill.calls, with what the catalogue cannot price as its own trazum.bill.unpriced.calls and trazum.bill.unpriced.tokens, which carry no dollar figure. Every cost point carries trazum.cost.basis=api-equivalent, because on a plan the figure is not what was paid. It is written through otlp.ts under doctor --otlp-out's encoding rules (64-bit integers as strings, money as a double) and it sends nothing: shipping the file is the collector's job. No OpenTelemetry dependency. A day still being measured is not a point: today, and any day the --since/--until window cuts, are left out of every metric and named in the resource (trazum.bill.open_days, open_calls, open_cost_usd, open_tokens, open_unpriced_calls), as are calls with no clock (trazum.bill.undated_*), all present at zero when empty, so the series plus those attributes add to the bill. bill-otlp.test.js round-trips a fixture to the totals the bill's own JSON prints, to within 1e-9 dollars, and by project and model. Planted and caught, with the results recorded on the pull request: a cost point with no trazum.cost.basis, a day written closed that is still open (at the end of the day, and at either end of a window), a cost 1% off the bill, cache reads dropped from the tokens, unpriced calls not carried, money written as an integer, a dropped agent attribute, and an open day not counted in the resource. Documented in docs/commands.md, under bill; help text in English and Spanish.
  • Every published price is in a committed snapshot, and a test fails when the catalogue moves without it. (#763) scripts/price-snapshot.mjs writes packages/core/test/fixtures/price-snapshot.json from the catalogue: the 734 rows the pricing dataset publishes, the default ratios, and each provider's date and pages, one row to a line. price-snapshot.test.js compares it with the catalogue. Measured on 2026-11-20 by moving each of the 681 published prices in turn: all 681 fail it, including the 19 a sample had found no test held (OpenAI's Flex and Fast tiers, four cache-write ratios of 1, three Mistral figures). It says a price did not move by accident, never that it is right. No price was changed.

Changed#

  • The share page and the engine's API routes are bounded by the size of what they are given. (#889) A shared link's numbers are computed at most once every ten minutes per instance, and only the numbers and rule ids are kept, never the prompt; revoking a link still takes effect at once. /api/compare, /api/optimize and the share page, when it computes, also count the characters each address hands the engine, two million a minute shared between them, as well as the requests.
  • CI, the contributor guide and the web image move to Node 26 together. (#883) Node 26 has been LTS since 2026-10-28. Every workflow's setup-node, CONTRIBUTING.md and the Dockerfile's base, pinned by the digest Docker Hub serves for node:26-alpine, now name it, and a test holds the three to one major. engines stays at >=20: what you may run is unchanged.
  • What CI and the image install is pinned by hash. (#874) The Dockerfile's node:22-alpine is now pinned to the digest Docker Hub served for it on 2026-11-21. The three tools CI installed by name and version (acorn, playwright-core, @codecov/bundle-analyzer) now come from lockfiles of their own in .github/tools/, installed with npm ci, so every file is checked against a hash. Dependabot raises all four. A test holds each.
  • No workflow grants a write permission at the top of its file. (#873) cla.yml, backfill-releases.yml, pr-guide.yml and labels.yml gave their writes to the whole file, so a job added beside the one that needs them would have inherited them. Each write is now on its job, the top of every file is read-only, and a test holds it. OpenSSF Scorecard's first run found the first two.
  • Vercel no longer builds the agent's working branch, which only ever repeated main. (#849) After each merge that branch is reset to main and pushed, and Vercel built the same commit again as a preview: two of the nine deployments in the 24 hours to 2026-11-20 13:06 UTC. apps/web/vercel.json turns off deployments for claude/** and sets nothing else; pull request previews and production are unchanged.
  • A pull request adds its changelog entry as a file in changes/, and the release folds them into CHANGELOG.md. (#847) Every pull request used to edit the same ## Unreleased section of a 1.1 MB file, so two open pull requests always conflicted there, and a merge after a release once put an entry inside a published version (#666). Now each change is changes/<issue>.<kind>.md; prepare-release.mjs folds them under the new version, newest issue first, and deletes them; the site's changelog page shows them as pending. pr-readiness.mjs and npm run done require one such file and refuse a line added to CHANGELOG.md outside a release. The 27 entries that were under Unreleased moved to files verbatim: folded back, they are the same text.
  • The landing tells its whole story by scrolling, on one pinned desk with its one laptop (#837). The hero opens it, short enough that the laptop, open, already stands under it in the first screen (measured at scroll 0: 349px of its lid at 1440x900, 202px at 1280x720, all of it at 390x844 and its top 90px at 390x664); then one stage stays pinned to the end while the chapters' words scroll past beside it (under it, below 1100px wide), and each chapter changes the stage: the laptop lands and the objects arrive in front of it; bill is typed as soon as it has, and printed, and a paper receipt slides out from under the laptop's side, cut at that side while it comes out so that it never lies over the screen's text, and comes to rest lying flat beside it; each object takes its turn, once, in the order they lie (the CI gate with check and its exit status, the breaker with session-guard check warning then stopping, the clock with --agent and --timezone, the pencil with optimize, the calendar with models), lifting and turning pressed while the same screen types that command over the last output, which gives way to it (the screen is never blank between two), and prints its output, scrolling up as a terminal does; why the number holds up, on the stage: the receipt comes forward over the screen and beside each of its lines a note on paper of its own, with a leader rule from the line and shown whole, gives the page its rate was read from and the date, and the receipt is laid back down flat as the chapter ends; then bill examples/unpriced-model.jsonl, a new five-call example log, shows llama-3.3-70b-instruct named and kept out of the total, never counted as $0, the screen tagging the file as an example; what never leaves goes on the screen; and the closing, the lid's turn, closes the lid over it and ends on the command, the dashboard and GitHub. The budget check for agents is one compact band after the story, a single line on a wide window: the repository has no runnable example of spend_guard. Scrolling back walks it back. The seven objects are real buttons at every point and after the story: a press shows its output over whatever the scroll had (!important, which outranks the keyframes without stopping them), and scrolling into the next chapter lets it go. A press of an object whose chapter is not the current one also puts that object's card where the chapter's was, beside the desk or under it, a copy for the eye that assistive technology skips. The chapters are one table, apps/web/lib/story-timeline.ts, which sizes their slots and times the keyframes; which chapter is current is read by an IntersectionObserver, never a scroll listener. Every character on the screen and the receipt is the built CLI's: scripts/draw-landing-terminal.mjs runs bill, the gate, the hook (fed the input Claude Code sends), the clock, optimize, models (with the clock set to the day the newest rates were read) and the example log, then runs each again in a 60-column window (COLUMNS=60, the narrowest the CLI draws for), the transcript a screen too narrow for 80 columns shows instead, so a table is never wrapped mid-row (models, which the CLI does not narrow, is cut after its output column there, and a line says so); it writes the receipt from bill --receipt through the core's formatUsd, each line with the first of the core's PROVIDER_SOURCES for its provider beside the date. Depth within the identity: no drawn table, the floor shown only by hard shadows from one light at the top left and one shared perspective, the objects lying on it in front of the laptop and clear of its deck, the receipt lying flat beside it and unmoved when the lid closes, side faces on the objects, layers arriving at different rates, the pressed object lifting off its shadow. Without JavaScript the story is every output, the receipt and every chapter in reading order; reduced motion pins the desk and shows each chapter's last state at once, in order; a phone gives the laptop the gutters' width (its deck's front edge and its shut lid inside the window), its screen the 60-column transcript, the seven objects in one row, holds each chapter's card just under the desk with the next one right behind it, and brings a focused link below the desk. A chapter's card names its command at its prompt under the sentence, never as a small capital label over the heading; every word on the receipt is 11px or larger; its torn foot is one triangle repeated as a mask. Copy in the five marketing languages, French, German and Portuguese under the existing note. Measured at 4x CPU throttle over a wheel scroll of the whole page, three runs each on the scroll timeline and the script at 1440x900 and 390x844, after the fixes the review of recordings asked for: no long task, a layout shift of 0.0000 to four places in every run, the median frame 17 ms in every run, the 90th percentile 17 ms in eleven runs and 33 ms in one, the 99th 33 ms in eleven and 50 ms in one, the longest 67 ms in two runs. Each element's keyframes run only over its own stretch of the story, nothing tilted rises with an opacity, and the section's height and starting places are written down, because without them a fifth of the frames dropped at 1440x900 and the page showed a layout shift of 0.0203 at 390x844. The web suite's landing-story.test.mjs, the theme test and eight browser flows hold it, two of them at 1440x900 and 1280x720 for the desk in the window: the lid in the first screen, the objects and their names inside the window, the receipt never over the screen's text, each note whole and clear, the shut laptop inside the window, the objects clear of the laptop's deck, the receipt lying flat and the band after the story never under the stage. Planted one at a time and put back, each caught by the test named: a chapter whose object is not the pressed one, in the timeline (each object takes its turn once, in the order the objects lie), in the motion (while a chapter is current, its own object is lifted and pressed, and no other) and in the page (the browser flow landing: scrolling tells the whole story, "the check chapter: the object pressed"); a figure typed on the receipt (carries no figure of its own); a second laptop (the page draws one laptop and one screen); a chapter's output written in the page (the page shows every line of it, in order, once) or edited in the generated file (lib/landing-terminal.ts is what scripts/draw-landing-terminal.mjs writes and the model kept out of the total is the one the CLI named); a rate's date typed in the page (carries no figure of its own) or edited in the generated file, and a rate's page edited there (lib/landing-terminal.ts is what scripts/draw-landing-terminal.mjs writes and each line of the receipt carries the page its rate was read from and the date, both the core’s). And, for the review of recordings: the ghost total back behind the laptop (no ghost figure stands behind the stage); an output going off before the next comes on, the old blank screen (from the bill’s prompt to the end, some output is always whole on the screen); the laptop landing halfway through the arrival (the bill is typed as soon as the laptop has landed); the command as a label over a chapter's heading (no small label stands alone above a heading); the receipt at 9.5px on a phone and a 13-point torn edge (the receipt’s words are 11px or larger, and its torn edge is one tooth repeated); a calendar row as wide as 80 columns in the narrow transcript (the narrow screen’s transcript is the same commands in a 60-column window; the generator itself refuses to write one); the receipt not cut at the laptop's side while it prints (the browser flows at 1440x900 and 1280x720, "the receipt over the screen's text"); a press that leaves the chapter's card in place (the press flows on the desktop and the phone, "the card in view, the pressed object's"); and the phone's cards not held under the desk (the phone flow, "a card in view under the desk").
  • The roadmap carries eight issues from a review of what other AI cost tools do (#820 to #827). Each is our own take, held to the rules here: a LiteLLM cross-check that only tells a person to re-read a provider page, a per-session spend guard for Claude Code, priced waste findings, plan limits from the agent's own signals, Prometheus metrics, spend beside delivery from local git, bill --agent and --timezone, and llms.txt. .github/milestones.json places each in one milestone, and the open-work table and the ordered list in ROADMAP.md are redrawn by their scripts.
  • Four more counts the documents state are derived from what they count, and written in digits. (#778) The MCP server's tools, from TOOLS; the criteria npm run done checks, from CRITERIA; the browser flows, from FLOWS; and the languages of the token ground truth, from the names of its prose samples. derived-counts.test.js holds each against every page, as it already held commands, rules and samples, and refuses one spelled as a word. Writing them as digits found two that had drifted: the documents said 25 and 26 browser flows, and there are 28. The README's architecture diagram is held for its MCP line too.
  • The Action pin in docs/setup.md and docs/running.md moves to 3.0.1 (9b0b245). The 3.0.1 release PR was prepared without the 3.0.0 tag fetched, so prepare-release found no newer tag and left the pin at 2.7.12; the docs-pin guard in security.test.js caught the two releases of lag.
  • The Homebrew formula names @trazum/cli 3.0.1, with the SHA-256 59eb2a96…079a of the tarball npm serves, checked against sha256sum on that tarball.

Fixed#

  • The CI tools' lockfiles move from .github/tools/ to tools/. (#886) In their own Dependabot entry, their updates were still refused by GitHub, and those were the only directories under .github/. A test holds that Dependabot watches nothing there and that no package manifest lives there.
  • The CI tools no longer share a Dependabot entry and group with the root's npm updates. (#881) With all four directories in one group, GitHub refused the combined pull request, and the root's routine updates went with it. The three tools #874 pinned now have an entry and a group of their own, so a refusal there cannot hold back the root's.
  • trazum task and trazum filter speak the reader's language. (#871) They were run before the language was read, so --locale broke them (trazum task --help --locale es printed an error) and LANG did nothing. Both now take --locale and the environment like every other command, and their help and errors, and the errors of the task analysis they run, are in Spanish when the reader asks for it.
  • A 404 under /app, /admin or /c says the language it is in. (#868) For a reader in French, German or Portuguese it went out with French, German or Portuguese words and <html lang="en">, because the page read the site's five languages and the layout the application's two. The 404 page now reads the surface's list, as the layout does.
  • trazum <command> --help shows that command's usage and flags, as the README always said. (#865) It printed the whole help, 1,332 lines, for every command but task. It now prints the command's usage line, its section of the help in the reader's language, and where the rest is; trazum --help is still the whole help.
  • The Spanish help names every placeholder in Spanish, one word for each thing. (#864) It said -o <file> two lines under -o <fichero>, --label <name> beside --label <nombre>, and called the same file <archivo> in some places and <fichero> in others.
  • The public site says which language it is in, in every language it speaks. (#862) A page in French, German or Portuguese went out declared English, a language chosen on the site never reached the page's lang, and the titles around the English-only docs, changelog and roadmap were declared Spanish on the Spanish site, so a screen reader read them with the wrong language's rules. The Compare tab's examples also follow a language chosen in the app now, as the Optimise tab's already did.
  • The web app's guided tour and its phone menu are modal in fact, not only in name. (#860) The tour is a native dialog, so Tab no longer walks out onto the page under the dim and Escape gives focus back to the button that opened it; with the phone menu open, the page underneath is inert, so a screen reader no longer reads what the menu covers.
  • The triage workflow runs again: its sparse checkout carries scripts/changes.mjs. (#851) #848 made pr-readiness.mjs import that module, and the triage jobs, which check out only the scripts they run, stopped at ERR_MODULE_NOT_FOUND before labelling anything. sparse-checkout.test.js now follows the imports of every script a sparse job runs and fails on a file its checkout leaves out.
  • The landing's story clears its stage as it ends, and its laptop reads as a thin laptop. (#841) At the end of the story the stage let go with the shut laptop, the receipt and the seven objects still on it, and the closing card stopped with its foot on the rule of the band after the story (1440x900, and in a screenshot of production). Now each thing leaves once the story is done with it: the receipt after its chapter, and in a new last chapter with no words the closing card, the objects and the shut laptop, while the band after the story comes up over the emptying stage, so the stage is never a window of nothing. What has left is hidden, so it is not reached or read out; a press or focus inside the story brings it back, and with reduced motion it is gone at once. The laptop is drawn as a thin aluminium laptop, with no vendor's logo: thin even bezels, a camera, rounded corners, dark keys with a half-height function row, speaker grilles and a wide trackpad. On a wide window each chapter's words had also drifted 16px further from their moment on the stage per chapter, 176px by the end, from a gap the column kept from its still layout; it has none now. The web suite holds the clearing, and the browser flows check that each thing is gone at the end.
  • The landing's laptop is on from the first screen, and a tall window no longer leaves the stage half empty. (#839) A recording of the deployed landing at 1788x1176 showed three faults. The laptop's screen stayed blank black until the reader scrolled; the bill's prompt and its cursor are now drawn from the story's first frame, and the command stays untyped until its chapter types it. The pinned stage kept the laptop and the objects at the top of the window and left the floor under them empty; it now shares what the window leaves over above the laptop and under the objects. The seven objects came up strung down a diagonal, each taking 30% of their beat; each now takes 90%, so the row arrives nearly as one. The web suite holds the first frame: planting the blank screen back fails it.
  • Three low-severity findings from a security audit are closed. (#818) None is a demonstrated loss of a secret or of code execution.
    • trazum serve and trazum gateway no longer answer a web page that rebinds its own hostname to 127.0.0.1. Both bound to loopback and read neither Host nor Content-Type, so a page could send text/plain (no preflight) to POST /cost and read the measured spend, the budget and the policy verdicts, and the gateway's 402 body carried the standing. A request whose Host is not localhost, 127.0.0.1 or [::1] on the bound port is now a 403, and a POST that is not application/json a 415 (after routing, so an unknown path is still a 404). A client that posted without content-type: application/json now gets 415: curl -d needs -H 'content-type: application/json', which docs/commands.md now shows. Provider SDKs and the documented clients already sent it. The checks are in packages/cli/src/loopback-guard.ts; a Unix socket skips the Host check.
    • The web app's operator endpoint is no longer a free choice of model. With TRAZUM_LLM_BASE_URL set to a server that checks no key (Ollama), llm: { apiKey: "x", model: "any-model" } ran any model the operator had pulled. On that endpoint a caller's llm.model is now used only if the operator listed it in the new TRAZUM_ALLOWED_LLM_MODELS; otherwise TRAZUM_LLM_MODEL runs. A key still checks nothing on such a server, which SECURITY.md now says. The route's comment, which said the endpoint costs the operator nothing, is corrected.
    • mirror-to-n0.yml declares permissions: contents: read and checks out with persist-credentials: false. It pushes to N0 with its own secret in the URL, so the GitHub token was unused and sat in .git/config. security.test.js now fails on any workflow without a top-level permissions:.
    • Tests. loopback-guard.test.js sends the rebound request over node:http (attacker Host, Origin, text/plain) to both servers; api.test.mjs names a model on a keyless operator endpoint; security.test.js reads the workflows. Planted and put back: the Host check removed from each server, the content-type check removed from each server, the caller's model honoured again, the permissions: block removed, persist-credentials set to true; each failed the test named for it.
  • The Homebrew formula waits until npm's packages are a day old. (#816) Homebrew installs with npm --min-release-age=1, and on 2026-11-19 brew install davmunrey/trazum/trazum failed on a Mac with ETARGET: No matching version found for @trazum/core@3.0.1 with a date before ..., because the tap had moved to a version npm had published seven hours earlier. scripts/homebrew-formula.mjs now reads the publish time of the CLI and of every @trazum/ dependency it pins, and refuses to write the formula before the youngest is a day old, naming the moment it may. RELEASES.md says so in the Homebrew step.
  • A line of backticks no longer takes quadratic time to optimise. (#814) The three code-fence patterns in structure.ts opened with `{3,}, and on a line with no newline after it the engine gave the run back one backtick at a time: 11.6 s at 100,000 backticks, and one anonymous POST /api/optimize at the 400,000-character cap held the web app for 187 s. The opening run is now atomic (a lookahead and a backreference), so it is never given back, and the same 200,000-backtick input takes well under a second. security.test.js gains a backtick run and a tilde run with no newline; with the old pattern planted back, the backtick fixture took 48 s and failed.
  • A release's MCP registry check reads every page. (#806) The registry's search answers 30 entries a page and names the next one in metadata.nextCursor. The check read only the first page, so 3.0.0, the thirtieth version, passed, and 3.0.1, the thirty-first, failed a minute after it had published correctly and was listed with its npm package and its .mcpb. The check now follows the cursor until there is none. security.test.js fails when the cursor is removed from the step.
  • A web session no longer starts with package-lock.json changed. The session-start hook installed with npm install, which rewrote the lockfile in the layout of the container's npm; npm 10.9 dropped 48 libc lines a newer npm had written. It now runs npm ci, which installs the lockfile as it is. (#788)

Security#

  • CodeQL, the dependency review and Scorecard run their latest releases. (#884) github/codeql-action 4.39.4, actions/dependency-review-action 5.0.1 and ossf/scorecard-action 2.6.0, each pinned by its tag's commit. A result the Scorecard API refuses still fails the workflow, as before 2.6.0, and that workflow can no longer read the Actions cache.
  • The files on a release are attested: who built them, from which commit. (#875) The .vsix, the .mcpb, the pricing dataset, the bill of materials and SHA256SUMS carry one build-provenance attestation, signed by the release workflow and attached as trazum-v<version>.sigstore.json; gh attestation verify checks a file against it (RELEASES.md, "Checking them").