Repository navigation
Commit 0e4fd70
committed
docs(spec): the batch cap is embedder-only, not "DEPLOYMENT policy"
`BatchUpdateRequestSchema`'s `[#3939]` comment still told a reader the
batch-size cap is DEPLOYMENT policy. That claim was ruled false on
2026-09-07, and four other carriers of it have already been corrected;
this is the fifth, and it carries the exact phrase struck from
`packages/rest/src/rest-server.ts#enforceBatchSize`.
Same shape as that correction: the cap keeps its 1..1000 span and its
default of 200 as schema facts, and the reachability sentence says who
can actually write it — a host that constructs the `RestServerConfig`
itself, never `os serve` or the dev plugin.
Measured, not assumed: the WHO CAN WRITE THIS CONFIG (#15543) header in
`packages/spec/src/api/rest-server.zod.ts` names `batch` explicitly
among the embedder-only sub-objects, and the per-key REACHABILITY row
in `packages/spec/liveness/batch_endpoints.json` says the same for
`maxBatchSize`. Comment text only — no schema, no export moves.
Claude-Session: https://claude.ai/code/session_01JbZnqu8bt6YqfJsr9vaFb3
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0e2ebce commit 0e4fd70
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
134 | 145 | | |
135 | 146 | | |
136 | 147 | | |
| |||
0 commit comments