Commit 08ec147
committed
fix(rest): escape the NUL batch-dedup separator + regenerate batch docs reference
CI follow-up on the cross-object batch hardening (#1604):
- The per-op (object, action) dedup key in the /batch handler used a raw NUL
(0x00) byte as its separator, which trips the check:nul-bytes gate (a raw NUL
makes the file read as binary to grep/ripgrep). Replaced with the standard
unicode NUL escape sequence, matching the convention already used for the
exec-ctx memo key elsewhere in rest-server.ts. Byte-identical at runtime.
- Regenerated content/docs/references/api/batch.mdx (generated from the Zod
spec) so it documents the new CrossObjectBatch* schemas — the check:docs gate
requires the reference to track packages/spec.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015DgfsaEfmwVAY1SsPtQJ6U1 parent 775d552 commit 08ec147
2 files changed
Lines changed: 40 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
138 | 175 | | |
139 | 176 | | |
140 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6103 | 6103 | | |
6104 | 6104 | | |
6105 | 6105 | | |
6106 | | - | |
| 6106 | + | |
6107 | 6107 | | |
6108 | 6108 | | |
6109 | 6109 | | |
| |||
0 commit comments