rowboat/apps/x/packages
Ramnique Singh b6c2905af7 fix(x): notify-user derives its use-case fallback from the turn record
The ALS-miss fallback still imported fetchRun from the legacy runs
store, but ctx.runId has been a turn id since the runs->turns
migration — the lookup always threw and fell through, so a
background-task notification delivered outside its starting ALS
context (crash recovery, resume paths) lost its background_task
gating and fired as a plain notification.

The durable equivalent lives on the turn itself: turn_created's
agent.resolved.agentId, and only the background-task runner starts
'background-task-agent' turns. Also removes one of the last live
imports into runtime/legacy/.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 16:40:44 +05:30
..
core fix(x): notify-user derives its use-case fallback from the turn record 2026-07-10 16:40:44 +05:30
shared ci(x): typecheck test files — the gap vitest and the build tsconfigs both miss 2026-07-10 16:30:26 +05:30