Skip to content

release: v1.6.0 — the audit is closed in full, and the bytes are the caller's - #29

Merged
ojassug merged 1 commit into
mainfrom
release-v1.6.0
Aug 16, 2026
Merged

release: v1.6.0 — the audit is closed in full, and the bytes are the caller's#29
ojassug merged 1 commit into
mainfrom
release-v1.6.0

Conversation

@ojassug

@ojassug ojassug commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

Ships DECISIONS §54, §55, §56 and §57. max_audit.md had been declared closed twice while findings were open; this release carries the work that actually closed it, plus one defect found afterwards by pointing an MCP client at this repository's own source.

Important

The one change that can break a startup. An unrecognized TOKENDAMPER_* enum value is now a hard error instead of being silently ignored. Nothing that worked stops working — the setting never took effect — but a stale or typo'd TOKENDAMPER_LOG_LEVEL=verbose that used to fall back to the default now fails at startup.

What ships

§54 (M7) — the Gateway forwards the caller's bytes. When an elision fired, the proxy rebuilt the request with JSON.stringify and rewrote fields it never touched:

client sent provider received
"temperature": 1.0 "temperature":1
"seed": 12345678901234567890 "seed":12345678901234567000

The third is a different number. Elided content is now spliced into the original bytes; savings are measured on what's forwarded (48.5% claimed against 47.1% actual → 46.3% against 46.5%), and a forwarded body can no longer be larger than the one that arrived.

§55 — the LOW table was never scheduled. Nine findings that entered no wave table, which is §54's own failure mode one severity band down. L1, L7, L8 fixed; L4, L5, L9 recorded at their sites as acceptable rather than correct. L7 was rated too low — a Python function with a blank line after def was unoptimizable end-to-end: 436 → 436 bytes, against 434 → 96 for the same function without the blank line.

§56 — the measured precondition for widening elision. Not shipped behaviour. It corrects a sequencing warning that was wrong in the dangerous direction and would have produced silent unmeasured elision.

§57 — a file documenting the placeholder format is not a corrupted placeholder. regions.ts reduced 29.60% on the CLI and fell back to 0% on MCP, because the corruption scan matched the prose describing the legacy format. 22 files in this repo carry such a string — ARCHITECTURE.md and CHANGELOG.md among them — and every one was unoptimizable over MCP.

Numbering

Per §53: the roadmap reserves no numbers; a number is a fact about what shipped, assigned at ship time.

  • Minor rather than patch — the same command over the same input emits different bytes.
  • Minor rather than major — nothing that worked stopped working.

Verification

677 tests, typecheck, lint and build green. All three version surfaces read from dist/ and agree:

dist constant   -> 1.6.0
package.json    -> 1.6.0
MCP serverInfo  -> 1.6.0

There is no --version flag — it prints usage — so those three are the check.

🤖 Generated with Claude Code

…caller's

Ships DECISIONS §54, §55, §56 and §57. Typecheck, lint, build and 677 tests green;
built dist, package.json and MCP serverInfo all report 1.6.0.

max_audit.md had been declared closed twice while findings were open. This release
carries the work that actually closed it, plus one defect found afterwards by
pointing an MCP client at this repository's own source.

§54 (M7) -- the Gateway forwards the caller's bytes instead of a re-encoding of
them. When an elision fired, the proxy rebuilt the request with JSON.stringify and
rewrote fields it never touched; a seed past 2^53 reached the provider as a
different number. Savings are now measured on the bytes forwarded (48.5% claimed
against 47.1% actual, now 46.3% against 46.5%), and a forwarded body can no longer
be larger than the one that arrived.

§55 -- the audit's nine-row LOW table had entered no wave table and was never
scheduled, which is §54's own failure mode one severity band down. L1, L7 and L8
fixed; L4, L5 and L9 recorded at their sites as acceptable rather than correct.
L7 was rated too low: a Python function with a blank line after `def` was
unoptimizable end to end, 436 bytes in and 436 out against 434 -> 96 for the same
function without the blank line.

§56 -- the measured precondition for widening elision past TypeScript and Python.
Not shipped behaviour; it corrects a sequencing warning that was wrong in the
dangerous direction and would have produced silent unmeasured elision.

§57 -- a file that documents the block-hash placeholder format is not a corrupted
placeholder. regions.ts reduced 29.60% on the CLI and fell back to 0% on MCP,
because the corruption scan matched the prose describing the legacy format. 22
files in this repo carry such a string, ARCHITECTURE.md and CHANGELOG.md among
them, and every one was unoptimizable over MCP.

The one change that can break a startup: an unrecognized TOKENDAMPER_* enum value
is now a hard error instead of being silently ignored. Nothing that worked stops
working -- the setting never took effect -- but a stale TOKENDAMPER_LOG_LEVEL=verbose
that used to fall back to the default now fails at startup. It is the lede of the
release notes rather than a line in the LOW-table entry.

Numbered 1.6.0 by §53's rule: the roadmap reserves no numbers, and a number is a
fact about what shipped, assigned at ship time. Minor rather than patch because
the same command over the same input emits different bytes; minor rather than
major because nothing that worked stopped working.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ojassug
ojassug merged commit ddca1a7 into main Aug 16, 2026
3 checks passed
@ojassug
ojassug deleted the release-v1.6.0 branch August 16, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant