Commit ea588b6
committed
fix(mothership): Go-parity gaps from the wire audit — sim side
Live CLI rows read "Running CLI command" for their whole run: the
worker's partial frame names them sim_cli (args unknowable mid-stream)
and the browser only filled EMPTY names. upsertToolNode now replaces
exactly that placeholder with the finalized frame's verb — scoped so the
gateway rebind's model-authored branding is never clobbered.
isValidRunPayload accepts run/steering_applied: the worker emits it per
the loss-free-ack contract and the validator's rejection escalated to
FatalSseEventError — the ack would have killed the live turn the moment
steering shipped.
Claude-Session: https://claude.ai/code/session_01CgaxNAaeD3taGdghbXn17w1 parent 30539cd commit ea588b6
2 files changed
Lines changed: 13 additions & 2 deletions
File tree
- apps/sim
- app/workspace/[workspaceId]/home/hooks/stream
- lib/mothership/request/session
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
367 | 374 | | |
368 | 375 | | |
369 | 376 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
293 | 297 | | |
294 | 298 | | |
295 | 299 | | |
| |||
0 commit comments