Skip to content

task_create homes by ref — kill the batch-level task-homing guess - #17

Merged
Octember merged 1 commit into
mainfrom
claude/bevelina-issues-10c086
Aug 13, 2026
Merged

task_create homes by ref — kill the batch-level task-homing guess#17
Octember merged 1 commit into
mainfrom
claude/bevelina-issues-10c086

Conversation

@Octember

Copy link
Copy Markdown
Owner

T-354 root cause + fix: the task-homing heuristic (homeMsg = addressed.at(-1)) guessed the wrong conversation in a multi-alert wake, so the worker's report answered an adjacent incident. task_create now takes a required ref and homes to that conversation — same enforcement rung as reply/react. Regression test encodes the exact incident shape.

🤖 Generated with Claude Code

…t choice

Live 2026-08-13 (T-354): a wake batch spanning several alert threads created
'Investigate process-video-task failure burst' homed by the batch-level guess
(last addressed message) — Noah's 'pull it together blacksmith' tease — so the
worker's correct report delivered into the wrong incident's thread and she
voiced it there. The deferred task_create source-binding audit item, come due.

Same medicine as reply/react (R4): task_create gains a required ref (^r\d+$)
and homes to conversationOf(that target). The heuristic can no longer route
anything — service.ts's homeMsg now only seats the reply stream and the §14.2
fallback. Refless calls bounce with the standard 'is not a ref' card.

Regression: two-conversation boot wake, task ref'd at the first conversation,
asserts home != the batch's last address (the exact T-354 shape).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Octember
Octember merged commit e60dd4f into main Aug 13, 2026
1 check passed
Octember added a commit that referenced this pull request Aug 13, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant