You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[finding] content/docs/api/data-api.mdx tells operators the batch cap is "the deployment's" and "configurable 1-1000" — the third carrier of the claim #15543 and #16801 corrected in code #16940
Filed unassigned and unlabelled by the domain:cli execution seat working #16801 (session session_015QE8qk46e5CHJxyQEUjbf8). ⛔ Not fixed there: it is outside that card's fenced file surface (packages/rest/src/rest-server.ts), and the dispatch said to stop and report rather than widen. Routing and grading are the triage seat's.
The limit is the deployment's batch.maxBatchSize (default 200, configurable 1-1000); over it the request is rejected with 400 BATCH_TOO_LARGE before anything is written
Two claims in one sentence, and both are the claim that #15543 and #16801 exist to retract: that the cap belongs to the deployment, and that a reader of this page can configure it.
Why it is false, measured on origin/main at 70f7d6d735
RestServerConfig is the argument a host passes when it constructs the server, and there is exactly one door — createRestApiPlugin({ api }) (packages/rest/src/rest-api-plugin.ts), whose start() is the only non-test site reaching new RestServer(...). Re-measured here rather than inherited:
new RestServer( across the tree: one non-test, non-example site, packages/rest/src/rest-api-plugin.ts inside start(). Every other hit is a *.test.ts, a CHANGELOG.md, or the @example block in rest-server.ts's own class docblock.
packages/cli/src/commands/serve.ts calls createRestApiPlugin({ api: { api: { enableProjectScoping, projectResolution } } as any }) — the api sub-block only, two keys, through an as any cast. No batch.
packages/plugins/plugin-dev/src/dev-plugin.ts calls createRestApiPlugin() with no config at all.
So a CLI-started deployment always gets maxBatchSize: 200 and cannot move it. The audience of this page is exactly the audience that cannot: it is the hand-written Data API guide, not the embedder reference.
content/docs/api/data-api.mdx — this card. Untouched by both, and named by neither.
#16801's file surface was fenced to packages/rest/src/rest-server.ts; widening it into content/ would have crossed that fence and mixed a published-docs change into a source-docblock PR.
⚠️ The docs-drift tool cannot find this one — measured, not assumed
scripts/docs-audit/affected-docs.mjs re-derived from a clean worktree ("dirty": false, diffBase70f7d6d735) against #16801's diff reports 4 docs, all releaseOwned: true, reached through a single anchor: the symbol RestServer. content/docs/api/data-api.mdx appears in neither the flagged list nor packageMentionDocs.
That is structural, not a bug in the run: this page states the rule by its inputs — the cap's value, its range, the error code — and shares no identifier with the emitter, whose carrier is a private method (enforceBatchSize) that no anchor kind reaches. ⇒ A tool-reported 0 for pages of this shape is not a clean bill, and only a hand-sweep for the claim's own tokens finds them. This card was found that way.
Hand-sweep of content/ for the claim's tokens, with its positive control:
token
hits in content/
deployment policy
0
enforceBatchSize
0
batch.maxBatchSize
9
maxBatchSize
20 (control — the probe reaches this tree)
RestServerConfig
14 (control)
What is wanted
⛔ No shape proposed; this seat measured the sentence and did not decide the fix. The obvious route is the one already taken twice: say the cap is embedder policy and that a CLI-started deployment gets the default, in the vocabulary #15543 landed, rather than inventing a fourth phrasing.
⚠️ Two neighbours a fixer should read but probably must not edit:
content/docs/releases/v17.mdx carries the same claim twice ("raisable to 1000", and a batch.maxBatchSize mention). That tree is RELEASE-OWNED — AGENTS.md forbids editing it in a code PR. A factual error there is a dedicated docs-only PR or its own card.
packages/spec/CHANGELOG.md and packages/rest/CHANGELOG.md each carry the original "deployment policy" sentence, twice apiece. Those are shipped release history compiled from changesets, not prose anyone should retro-edit.
Duplicate check — method stated, because a zero is only as good as how it was taken
Repository-scoped REST /search/issues is refused by this container's egress proxy (HTTP 403, "sessions are bound to their configured repositories"), so the channel was switched, and the switch is declared: one targeted MCP search_issues call.
Supplementary and deterministic: 200 documentation-labelled cards (100 open + 100 closed, page 1 of each state via REST — ⛔ not a complete enumeration) grepped locally for data-api / maxBatchSize / batch cap / batch size. 7 hits, every one a PR that merely touched a file, none a card for this page.
Holder reading at file time: 22 open PRs, each contributing at least one file row; content/docs/api/data-api.mdx has 0 holders. Sensitivity control — the same query resolves docs/qa/platform-checklist/FOLLOW-UPS.md to #16909, so it does answer holds rather than "free" to everything.
Filed unassigned and unlabelled by the
domain:cliexecution seat working #16801 (sessionsession_015QE8qk46e5CHJxyQEUjbf8). ⛔ Not fixed there: it is outside that card's fenced file surface (packages/rest/src/rest-server.ts), and the dispatch said to stop and report rather than widen. Routing and grading are the triage seat's.The sentence
content/docs/api/data-api.mdx, section Batch size, verbatim:Two claims in one sentence, and both are the claim that #15543 and #16801 exist to retract: that the cap belongs to the deployment, and that a reader of this page can configure it.
Why it is false, measured on
origin/mainat70f7d6d735RestServerConfigis the argument a host passes when it constructs the server, and there is exactly one door —createRestApiPlugin({ api })(packages/rest/src/rest-api-plugin.ts), whosestart()is the only non-test site reachingnew RestServer(...). Re-measured here rather than inherited:new RestServer(across the tree: one non-test, non-example site,packages/rest/src/rest-api-plugin.tsinsidestart(). Every other hit is a*.test.ts, aCHANGELOG.md, or the@exampleblock inrest-server.ts's own class docblock.packages/cli/src/commands/serve.tscallscreateRestApiPlugin({ api: { api: { enableProjectScoping, projectResolution } } as any })— theapisub-block only, two keys, through anas anycast. Nobatch.packages/plugins/plugin-dev/src/dev-plugin.tscallscreateRestApiPlugin()with no config at all.So a CLI-started deployment always gets
maxBatchSize: 200and cannot move it. The audience of this page is exactly the audience that cannot: it is the hand-written Data API guide, not the embedder reference.Why a separate card and not a rider on #16801
This is the third carrier of one claim, and each has been handled where it lives:
packages/spec— closed by [finding] No shipped boot path authorsRestServerConfigat all —os servefixes it and the dev plugin passes none, so every livecrud/metadata/batchkey is embedder-only #15543 / PR docs(spec): RestServerConfig's crud / metadata / batch keys are embedder-only, and the schema now says so #16775. The keys now readReachability: EMBEDDER-ONLYwith a per-keyREACHABILITYrow inpackages/spec/liveness/{crud,metadata,batch}_endpoints.json.packages/rest— [finding]rest-server.ts#enforceBatchSizecalls the batch cap "deployment policy", but no shipped boot path can set it — the same defect #15543 just closed inpackages/spec, one package over #16801, corrected in theenforceBatchSizedocblock.content/docs/api/data-api.mdx— this card. Untouched by both, and named by neither.#16801's file surface was fenced to
packages/rest/src/rest-server.ts; widening it intocontent/would have crossed that fence and mixed a published-docs change into a source-docblock PR.scripts/docs-audit/affected-docs.mjsre-derived from a clean worktree ("dirty": false,diffBase70f7d6d735) against #16801's diff reports 4 docs, allreleaseOwned: true, reached through a single anchor: the symbolRestServer.content/docs/api/data-api.mdxappears in neither the flagged list norpackageMentionDocs.That is structural, not a bug in the run: this page states the rule by its inputs — the cap's value, its range, the error code — and shares no identifier with the emitter, whose carrier is a private method (
enforceBatchSize) that no anchor kind reaches. ⇒ A tool-reported 0 for pages of this shape is not a clean bill, and only a hand-sweep for the claim's own tokens finds them. This card was found that way.Hand-sweep of
content/for the claim's tokens, with its positive control:content/deployment policyenforceBatchSizebatch.maxBatchSizemaxBatchSizeRestServerConfigWhat is wanted
⛔ No shape proposed; this seat measured the sentence and did not decide the fix. The obvious route is the one already taken twice: say the cap is embedder policy and that a CLI-started deployment gets the default, in the vocabulary #15543 landed, rather than inventing a fourth phrasing.
content/docs/releases/v17.mdxcarries the same claim twice ("raisable to 1000", and abatch.maxBatchSizemention). That tree is RELEASE-OWNED — AGENTS.md forbids editing it in a code PR. A factual error there is a dedicated docs-only PR or its own card.packages/spec/CHANGELOG.mdandpackages/rest/CHANGELOG.mdeach carry the original "deployment policy" sentence, twice apiece. Those are shipped release history compiled from changesets, not prose anyone should retro-edit.Duplicate check — method stated, because a zero is only as good as how it was taken
Repository-scoped REST
/search/issuesis refused by this container's egress proxy (HTTP 403, "sessions are bound to their configured repositories"), so the channel was switched, and the switch is declared: one targeted MCPsearch_issuescall.total_count: 2— [finding]rest-server.ts#enforceBatchSizecalls the batch cap "deployment policy", but no shipped boot path can set it — the same defect #15543 just closed inpackages/spec, one package over #16801 (this defect'spackages/restcarrier) and pm-dispatch SKILL.md arg table saysbatchdefaults to 3 while the maintainer's cap has been 5 since 2026-09-03 — say which is default and which is ceiling #16272 (apm-dispatchSKILL.md default-vs-ceiling wording card, unrelated).rest-server.ts#enforceBatchSizecalls the batch cap "deployment policy", but no shipped boot path can set it — the same defect #15543 just closed inpackages/spec, one package over #16801 is a card that must hit, and it did ⇒ the zero for acontent/docs/api/**carrier is a reading, not a dead index.documentation-labelled cards (100 open + 100 closed, page 1 of each state via REST — ⛔ not a complete enumeration) grepped locally fordata-api/maxBatchSize/batch cap/batch size. 7 hits, every one a PR that merely touched a file, none a card for this page.Holder reading at file time: 22 open PRs, each contributing at least one file row;
content/docs/api/data-api.mdxhas 0 holders. Sensitivity control — the same query resolvesdocs/qa/platform-checklist/FOLLOW-UPS.mdto #16909, so it does answer holds rather than "free" to everything.Refs
#15543 · #16801 · PR #16775 · the 2026-09-07 ruling (director seat, summon #17, decision batch #2, maintainer verbatim 「同意」)
Generated by Claude Code