fix(tui): isolate prior-session work receipts#4488
Conversation
Keep the live Work surface session-local by excluding prior-session worker snapshots and requiring terminal durable tasks to originate in the current TUI session. Shared durable history remains available through explicit task and agent inspection. Refs #4416 Signed-off-by: Hunter B <hmbown@gmail.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Claude finished @Hmbown's task in 2m 49s —— View job Review: fix(tui): isolate prior-session work receipts
SummaryThis is a narrow, well-scoped fix. Two independent leaks are closed at the two places that own the "live work" claim:
No correctness bugs, no provider/model-route concerns (this diff doesn't touch model/provider selection), no security issues, and no unnecessary duplication — the change is a targeted tightening of two existing filters rather than new machinery. Not verified in this runI wasn't able to execute |
Draft handoff: narrow #4416 slice
This preserves the release-safe projection fix for another agent/device.
This intentionally references rather than resolves #4416. Durable task/run/worker owner or lease identity is still missing, and a second TaskManager can still rewrite a shared persisted Running task to Failed during startup reconciliation.
Verification:
Refs #4416