Skip to content

release: 0.14.0 - #866

Merged
sv merged 5 commits into
mainfrom
claude/pr-858-release-prep-7ervq8
Sep 17, 2026
Merged

sv merged 5 commits into
mainfrom
claude/pr-858-release-prep-7ervq8

Conversation

@sv

@sv sv commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

What

Cuts 0.14.0: folds [Unreleased] into a dated section, bumps the version the service, the MCP wrapper and the worker share (the same eight files as #776), and re-ratchets sz-baseline.json. Three verified doc corrections ride along. Nothing a caller sees changes until the tag.

Why

Three commits since v0.13.0: #860 (brotli on the wire), #796 (the manual names the operator's measurement probe), and #858 (/stats served stale while it refreshes), which merged after this branch was cut and is now folded in — without its entry the tag would have shipped it undocumented.

MINOR rather than PATCH because #860 puts a Content-Encoding on every reply and adds Accept-Encoding to Vary. Nothing a client parses moves — compression is a transport encoding, and the export is byte-exact once decoded — but it is an addition to the HTTP surface, which the changelog's own rule calls MINOR, and it lands a runtime dependency in the image. A reviewer could call it a patch; the version files are one substitution away.

The baseline refresh rides along, as #860 asked for at merge and #858 needs again: main has failed sz.py --check since #860, and #858 moved it further — app.py 1020 → 1030, store.py 992 → 987. Only the measured files block moves; every cap is untouched.

core/app.py is now at 1030 against a cap of 1030. Passing, with no headroom left: the next code line in that file fails sz.py --caps for whoever writes it. Raising a cap is a policy call, so this PR states it rather than moving it — worth a decision before the next app.py change, not after.

Three doc corrections, each checked against the code it describes rather than taken on trust — a release is the wrong moment to ship prose that contradicts the service. Credit to the authors who filed them; close those PRs as included rather than stale:

I left the path counts in those edge files alone, which #850 also touches: edge/README.md says seventeen (the snapshot surface), wrangler.jsonc says sixteen where the routes list holds twenty patterns, and /rooms* is a wildcard beside a comment saying nothing here is one. Three different things are being counted; #850's "seventeen" is not right either. That deserves its own change with a test pinning the numbers, not a release PR. #354's other four corrections — the 51 GiB → 50 GiB arithmetic among them — are likewise left to that PR.

After merge, by hand and in this order: tag v0.14.0 and mcp-v0.14.0, which builds the image and publishes the wrapper; pull the image on the box; then edge/deploy.sh, once the origin is up, so the snapshot carries this release's documents — including the two-document static lane.

Checks

  • uv run coverage run -m pytest tests -q && uv run coverage report — 782 passed, 1 skipped, 98.01% (after the main merge that brought perf(stats): maintained room totals, and serve /stats stale while it refreshes #858 in)
  • uv run ruff check . && uv run ruff format --check . and uv run ty check — clean
  • uv lock --check (root and mcp/worker, after uv build --project mcp produces the 0.14.0 wheel), uv run sz.py --caps, uv run sz.py --check, uv run just contract (881 cases, no issues), and both gates release.yml runs before building
  • Verified on a booted service, not just in tests: /openapi.json and /config report 0.14.0; Content-Encoding: br with Vary: Accept-Encoding, and Vary: Accept, Accept-Encoding on the four .md documents — which is what the deployer note in the changelog now states
  • Docs that would now be wrong are updated: CHANGELOG.md is the change; the three corrections above are the rest; the manual and /skill.md need nothing
  • New surface on a world-writable service: nothing new — no route, parameter or persistent state moves

🤖 Generated with Claude Code

https://claude.ai/code/session_01KPQWysM3BJjzZCtyfPZGE4

Folds [Unreleased] into a dated 0.14.0 section, bumps the version the service, the
MCP wrapper and the worker share across the same eight files as 0.13.0, and
re-ratchets sz-baseline.json. Nothing a caller sees changes until the tag.

MINOR rather than PATCH: #860 puts a Content-Encoding on every reply and adds
Accept-Encoding to Vary. Nothing a client parses moves -- compression is a
transport encoding and the export is still byte-exact once decoded -- but it is
an addition to the HTTP surface, which the changelog's own rule calls MINOR, and
it lands a runtime dependency in the image. A reviewer could call it a patch; the
version files are one substitution away.

The baseline refresh rides along, as #860 asked for at merge: main has failed
`sz.py --check` since it put app.py at 1023 code lines against a recorded 1020.
Only the measured `files` block moves; every cap is untouched.

Three doc corrections ride with it, each verified against the code it describes
rather than taken on trust, so the release does not ship prose that contradicts
the service:

- README's never-limited list omitted /interop.md, which limit.FREE_PATHS has
  carried since the document existed (#410).
- The CHAT_STILLBORN_SECONDS row said the clamp was against a CHAT_IDLE_SECONDS
  knob. No such knob exists: store.STILLBORN_SECONDS clamps to IDLE_SECONDS, a
  fixed 7 days (#848).
- edge/README.md and the Worker's header comment listed /robots.txt in the
  static-first lane. snapshot.py's STATIC_FIRST is two paths and says in so many
  words why robots.txt is not one of them -- its Sitemap line is built from
  CHAT_PUBLIC_URL. Documentation only; the lane the Worker enforces is
  STATIC_FIRST (#850).

After merge, by hand and in this order: tag v0.14.0 and mcp-v0.14.0, which builds
the image and publishes the wrapper; pull the image on the box; then
edge/deploy.sh, once the origin is up, so the snapshot carries this release's
documents.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KPQWysM3BJjzZCtyfPZGE4
@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-17T02:43:06.186626Z 2b02dd3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Minh3132 Minh3132 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The release currently cuts 0.14.0 with #860's Brotli export regression still present on its base. Issue #861 measures the production-preferred gzip, br path withholding the first /r/<room>/export body bytes until 57/64 source blocks (3.56 MiB, 89%) have been consumed, which defeats the StreamingResponse/back-pressure property of the largest response lane. #865 is already open with the one-line streaming=True fix and a base-failing ASGI regression, but this release PR neither includes it nor lists it under “Not in this release” (which currently names only #858).

That makes the release boundary materially inconsistent with the headline change: 0.14.0 is specifically the release that introduces Brotli on every eligible reply, and the documented deployment path says the CDN requests gzip, br, so tagging this head knowingly publishes the newly introduced transport regression before its already-prepared fix. This is not about decoded byte correctness—the bytes remain exact—but about the streaming contract/resource behavior of export under the encoding this release enables.

Please either bring #865 into the release before tagging, or explicitly defer #861/#865 with the rationale for shipping 0.14.0 while the Brotli export lane is known not to stream. Given that #865 is focused, tested against the pre-fix registration, and directly repairs the feature being released, including it before the version cut seems the safer release boundary.

sv commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

On the three the queue guard listed: one is a real overlap, two are not.

#354 (@zkasuran) — real, and it has priority on the item. Its item 2 is the same one-line README edit as #410, which I folded in here, so the two hunks now collide textually on that line and whichever lands second no-ops it. #354 was filed first (27 Aug, against #410's later filing) and its own body already says either is welcome to take it, so the credit for finding it is theirs as much as #410's — the changelog entry names #410 because that is the PR whose diff this matches; happy to name both.

I deliberately did not take #354's other four items, and they are the reason that PR should still land on its own: the 51 GiB → 50 GiB arithmetic in README.md, docs/design.md and the store.py comments (MAX_ROOMS * MAX_ROOM_BYTES is 50.0 GiB exactly, and an operator sizes a volume off that number), the agent.json e- class string that describes read-once delivery the service does not do, the /humans Link-header claim, and "three" markdown documents where four negotiate. Each is a separate surface with its own verification, and a release PR is the wrong place to absorb them.

#777 cites #776 only to say the 0.13.0 release packaging did not contain its DeepSeek Harness recipe. #797 cites #796 only as the commit it started from — a draft test-diagnostics change. Neither touches anything in this diff.


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2b02dd351b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CHANGELOG.md Resolved
sv and others added 4 commits September 17, 2026 02:45
The section heading is a reference link, so without a definition it renders as
literal brackets, and [Unreleased] kept comparing from v0.13.0 -- which would
have shown every 0.14.0 change as unreleased for the whole next cycle. Both are
what the 0.12.1 and 0.13.0 release commits did; I folded the section in without
them. Caught by Codex on 2b02dd3.

Four much older headings (0.6.0, 0.3.3, 0.3.2, 0.3.1) have never had definitions
either. Pre-existing and not this release's to churn.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KPQWysM3BJjzZCtyfPZGE4
#858 merged after this branch was cut, so the tag would have carried the /stats
change with no changelog entry -- and `sz.py --check` would have failed again on
main, which is half of what this PR exists to fix: app.py is 1023 -> 1030 and
store.py 992 -> 987. Only the measured `files` block moves; every cap is still
untouched.

app.py is now at 1030 against a cap of 1030. Passing, with nothing left: the next
code line in that file fails `sz.py --caps`. Raising a cap is a policy call and
not a release PR's to make, so this states it rather than moving it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KPQWysM3BJjzZCtyfPZGE4
Every stale claim these edits were fixing was a count: "the static three",
"the other fourteen", "seventeen exact paths", "sixteen exact paths" -- each
one correct when written and wrong the moment STATIC_FIRST or the route list
moved. Three open PRs are queued against those same numbers, and two of the
replacement numbers on offer are wrong again, which is the tell: a number in
prose is a second copy of something the code already knows, and it is the copy
nobody re-derives.

So the lanes name their members or defer to the list, and nothing counts. The
wrangler comment loses a figure that was already wrong (twenty route patterns,
one of them the deliberate /rooms* wildcard) rather than gaining a corrected
one, and the README's "four .md documents" goes the same way -- it was "three"
before /auth.md existed.

The same wording sits in app.py and manifest.py comments, which a release PR
should not be editing; noted for a follow-up rather than done here.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KPQWysM3BJjzZCtyfPZGE4
@sv
sv merged commit 11aedaf into main Sep 17, 2026
8 checks passed
@sv
sv deleted the claude/pr-858-release-prep-7ervq8 branch September 17, 2026 05:18
sv added a commit that referenced this pull request Sep 17, 2026
## What

Four comments counted how many documents negotiate `text/markdown`. None
of them counts now — the code already enumerates the set, and the prose
defers to it. Comments and one test docstring only; no behaviour
changes.

## Why

The set has grown twice, and the prose did not keep up:

- `app._markdown_wanted` says **three** documents. `markdown=True`
reaches **four** paths: `_DOCS` covers `/skill.md`, `/patterns.md` and
`/interop.md`, and `auth_md` passes it too. Verified on a booted service
— all four answer `text/markdown` under `Accept: text/markdown` and
carry `Vary: Accept, Accept-Encoding`, while `/` and `/llms.txt` stay
`text/plain`.
- `manifest._prose` says **three** for the same reason.
- `test_only_the_markdown_documents_negotiate_markdown`'s docstring
enumerated `/auth.md`, `/skill.md` and `/patterns.md` while the loop
directly beneath it asserts four, `/interop.md` included. The loop is
the list; the prose was a second, staler copy.
- `app.py`'s "unlike the four `.md` files" and `manifest.py`'s "the four
URL write lanes" are both correct today (four
`{text:path}`/`{value:path}` routes), and both the same shape of claim —
the first was "three" before `/auth.md` existed.

This follows the same reasoning as the edge-lane prose in 0.14.0 (#866):
every stale claim in that area was a count that was right when written
and wrong the moment the set moved, and two of the corrected numbers on
offer across open PRs were wrong again. A number in prose is a second
copy of something the code owns, and it is the copy nobody re-derives.

This is **#354's item 5**, taken as a deletion rather than the "three →
four" correction that PR proposes, so that hunk becomes a no-op on its
rebase.

## Deliberately left to #354

- The `/humans` `Link`-header trio counts in `app.py` and `manifest.py`
— its **item 4** rewrites those exact lines, and it is a claim
correction (`/.well-known/api-catalog` is not an anchor in the page)
rather than a count. Touching them here would cost that author a
conflict on the one passage they are changing.
- Its **51 GiB → 50 GiB** arithmetic and the `agent.json` `e-` class
string: corrections, not counts.

Two more counts in `manifest.py` look **stale rather than merely
fragile** to me — the "four small documents" in the discovery-documents
section, and "three reserved namespaces" on the note lanes where the
README says four hold one note per room. I did not verify either, so
they want checking and correcting rather than a silent reword; not
touched here.

## Release note

> Comments only: the places that said how many documents negotiate
`text/markdown` now name the set instead of counting it. One of them
said three where four negotiate.

## Checks

- [x] `uv run coverage run -m pytest tests -q && uv run coverage report`
— 782 passed, 1 skipped, 98.01%
- [x] `uv run ruff check . && uv run ruff format --check .` and `uv run
ty check` — clean
- [x] `uv run sz.py --check` — core code-lines unchanged at 2322, so
`sz-baseline.json` stays exactly as the release left it. Neither it nor
`CHANGELOG.md` is in the diff
- [x] Docs that would now be wrong are updated: this change *is* the doc
fix; the manual and `/skill.md` need nothing
- [x] New surface on a world-writable service: **nothing new** — no
route, parameter, response or persistent state moves

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01KPQWysM3BJjzZCtyfPZGE4

---
_Generated by [Claude
Code](https://claude.ai/code/session_01KPQWysM3BJjzZCtyfPZGE4)_

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@sv sv mentioned this pull request Sep 23, 2026
5 tasks done
sv added a commit that referenced this pull request Sep 23, 2026
## What

Cuts **0.14.1**. It dates the CHANGELOG section, bumps the version in
the files the service, the MCP wrapper and the worker share (the same
set as #866), and re-ratchets the measured block of `sz-baseline.json`.
No cap moves.

## Why

One change since v0.14.0, #890. Room reads stop reparsing seq-state
shards, and long-poll ticks skip rooms whose file is unchanged. On the
live box that parse was 71% of worker GIL time. PATCH, because nothing
on the HTTP surface moves.

After merge: tag `v0.14.1` and `mcp-v0.14.1`, then create the GitHub
Release. The box is deployed with `deploy-agent-chat.sh --tag 0.14.1`
from flop-core main, which also applies flop-core#1767
(`MALLOC_ARENA_MAX=2`), so the rollout is one restart.

## Checks

- [x] `uv run coverage run -m pytest tests -q && uv run coverage
report`: 788 passed, 1 skipped, 98.05%
- [x] `uv run ruff check . && uv run ruff format --check .` and `uv run
ty check`: clean
- [x] `uv lock --check` (root, and `mcp/worker` after `uv build
--project mcp` built the 0.14.1 wheel), `sz.py --caps`, `sz.py --check`,
`just contract`, and both `release.yml` gates
- [x] Docs that would now be wrong are updated: `CHANGELOG.md` is the
change
- [x] New surface on a world-writable service: nothing new
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.

3 participants