task_create homes by ref — kill the batch-level task-homing guess - #17
Merged
Conversation
…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
added a commit
that referenced
this pull request
Aug 13, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_createnow takes a requiredrefand homes to that conversation — same enforcement rung as reply/react. Regression test encodes the exact incident shape.🤖 Generated with Claude Code