Skip to content

docs: include interop in free paths list - #410

Closed
Xelp66 wants to merge 2 commits into
flop-labs:mainfrom
Xelp66:docs/add-interop-to-free-paths
Closed

Xelp66 wants to merge 2 commits into
flop-labs:mainfrom
Xelp66:docs/add-interop-to-free-paths

Conversation

@Xelp66

@Xelp66 Xelp66 commented Aug 27, 2026

Copy link
Copy Markdown

Summary

Adds /interop.md to the README list of paths that are never rate limited. The implementation already includes this endpoint in FREE_PATHS, so this keeps the operator-facing documentation consistent with the enforced behavior.

Checks

  • Documentation-only change; code tests, lint, formatting, and type checks were not run.
  • No API or compatibility changes.
  • No new public surface or abuse impact.

@luch91 luch91 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed exact head 9e62781. The README free-path list now includes /interop.md, matching the existing FREE_PATHS implementation described by the PR. This is a one-line documentation correction with no runtime change. No blocker found.

zkasuran added a commit to zkasuran/technocore-chat that referenced this pull request Sep 8, 2026
Narrowed from five corrections to the three nobody else is making, at @luch91's
request on this PR. The interop free-paths README line is flop-labs#410's and the e-room
ephemeral-semantics correction is flop-labs#462's, so both are dropped here and left to those
focused PRs. Rebased onto current main.

What remains, each a served claim or a source comment the code disproves:

- The room-cap worst case is 50 GiB, not 51: 5120 rooms times a 10 MiB ring is
  51,200 MiB, which is exactly 50 GiB. Fixed in README.md, docs/design.md and the
  two src/store.py comments that state it.
- Four documents negotiate markdown, not three. doc_md serves /skill.md, /patterns.md
  and /interop.md from _DOCS with markdown=True; auth_md adds /auth.md, so the
  _quality and _plain comments that say "three" undercount, and
  test_only_the_markdown_documents_negotiate_markdown loops over four while its
  docstring named three.
- The humans page Link header discloses nothing new, but not because all three of its
  paths are footer anchors: /openapi.json and /llms.txt are, while
  /.well-known/api-catalog rides the header alone and robots.txt already names it. The
  app.py comment and the test_humans comment both overclaimed.

Docs and comments only, no behaviour change. 770 passed, 1 skipped; ruff and caps
clean; no interop free-paths line and no e-room change here, so no overlap with flop-labs#410
or flop-labs#462.
@sv sv mentioned this pull request Sep 17, 2026
6 tasks done
sv added a commit that referenced this pull request Sep 17, 2026
## 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:

- `README.md`'s never-limited list omitted `/interop.md`, which
`limit.FREE_PATHS` has carried since the document existed (#410, @Xelp66
— and #354, @zkasuran, which found the same line first).
- The `CHAT_STILLBORN_SECONDS` row said the clamp was against a
`CHAT_IDLE_SECONDS` knob. There is no such knob:
`store.STILLBORN_SECONDS` clamps to `IDLE_SECONDS`, a fixed 7 days
(#848, @Baophan00).
- `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 why robots.txt is not one of them — its `Sitemap` line is built
from `CHAT_PUBLIC_URL` (#850, @kuky123100-create).

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

- [x] `uv run coverage run -m pytest tests -q && uv run coverage report`
— 782 passed, 1 skipped, 98.01% (after the `main` merge that brought
#858 in)
- [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` 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
- [x] 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
- [x] 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
- [x] New surface on a world-writable service: **nothing new** — no
route, parameter or persistent state moves

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

https://claude.ai/code/session_01KPQWysM3BJjzZCtyfPZGE4

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

sv commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Thanks — this shipped. It's on main in the 0.14.0 release (#866, 11aedaf), so the README's never-limited list now names /interop.md as limit.FREE_PATHS always has; the tag follows shortly.

Credit where it's due in both directions: #354 (@zkasuran) found the same line first, as item 2 of a larger set, so whichever of your two PRs had landed would have made the other's hunk a no-op. That's what happened here — nothing was wrong with this diff, it was just one line in a release that was already touching the file.

Nothing left to do on your side; this can be closed as included rather than stale.


Generated by Claude Code

crazywriter1 added a commit to crazywriter1/technocore-chat that referenced this pull request Sep 24, 2026
Keep budget stride docs; take /interop.md free-path and stillborn
IDLE wording from main (flop-labs#410/flop-labs#781).
@sv sv added the nit Minor: wording, cosmetic, test-only, unreachable, or negligible impact label Oct 19, 2026
@sv

sv commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Nit fold: tracked in #1000 instead of holding its own queue slot. The branch and diff stay put — reopen this (or comment on the fold) to have it reviewed standalone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nit Minor: wording, cosmetic, test-only, unreachable, or negligible impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants