Repository navigation
Commit 37bdfb7
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 b21c6c8 commit 37bdfb7
2 files changed
Lines changed: 13 additions & 2 deletions
File tree
- apps/sim
- app/workspace/[workspaceId]/home/hooks/stream
- lib/mothership/request/session
| 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 | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
298 | 302 | | |
299 | 303 | | |
300 | 304 | | |
| |||
0 commit comments