Commit 0bb8dbd
packages/runtime/src/dispatcher-plugin.ts mounts routes (/actions,
/automation, /packages — the registration path separate from the
@objectstack/rest one) and already writes SSE at two sites, yet none of the
five #2992 / ADR-0096 D4 transport tripwires watch it. A subscribe/fan-out
transport wired there mints no TRANSPORT-WIRED key and reds no build, and
the protocol page stated that limitation only in general terms.
This is a recording. No probe is added, no key is minted, and no matrix row
is written for the two existing sites.
The reason, recorded because a reader cannot re-derive it cheaply: both
text/event-stream sites are per-request AI response streaming, not realtime
subscription fan-out. Each drains one AsyncIterable returned by the route
handler into that same request's response body and then calls res.end();
no subscriber is registered, no event reaches a set of recipients, and the
file carries no upgrade handler, no subscribe registration and no
realtime-service call. Watching it with the existing mechanics pattern
would mint a key on day one for a surface the tripwires are not about.
The boundary is drawn on fan-out, not on the SSE content type, and both
records say so. Promoting the file into the population with a
fan-out-specific marker is written into #8347's acceptance as a
precondition of the WebSocket/SSE transport landing.
Claude-Session: https://claude.ai/code/session_012WKSnqAaoqtW3QX7SSf1Vk
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 072b55a commit 0bb8dbd
3 files changed
Lines changed: 86 additions & 1 deletion
File tree
- .changeset
- content/docs/protocol/kernel
- packages/qa/dogfood/test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
228 | 262 | | |
229 | 263 | | |
230 | 264 | | |
| |||
0 commit comments