Dispatch recall: the nearest rulings to a brief's citations reach the subagent #54

Merged
eureka merged 6 commits from hands/dispatch-recall-anchored into main 2026-11-07 07:21:41 +00:00
Owner

Cut eureka-substrate:cut_spec:cut-dispatch-recall-anchored.r1 (reports h1-h3; Soul s1-s3). recall.py dispatch: a PreToolUse hook on the Agent tool rewrites only the prompt, appending the in-force neighbours of every ruling/question/follow-up the brief cites, per anchor (a failed anchor gets a status line), never a permission decision, silent on total failure. Ruling eureka-substrate:ruling:recall-triggers-rescoped step 2. Live probes: a real subagent received the neighbours twice. Last commit restores two literal CR bytes (s3 crlf-fixture-stripped).

🤖 Generated with Claude Code

Cut eureka-substrate:cut_spec:cut-dispatch-recall-anchored.r1 (reports h1-h3; Soul s1-s3). recall.py dispatch: a PreToolUse hook on the Agent tool rewrites only the prompt, appending the in-force neighbours of every ruling/question/follow-up the brief cites, per anchor (a failed anchor gets a status line), never a permission decision, silent on total failure. Ruling eureka-substrate:ruling:recall-triggers-rescoped step 2. Live probes: a real subagent received the neighbours twice. Last commit restores two literal CR bytes (s3 crlf-fixture-stripped). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
neighbours(text, schemas, excluded, k, left) is the one query helper admit and dispatch share; fan_out and plain_id replace admit's private thread bookkeeping and id test. The fake binding answers view of any id and queries by text with scores.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The context-pack CRLF fixture (sed 's/$/\r/') and the CR-stripped check (tr -d '\r')
need a literal CR; an editor on Windows split each line at it. Byte-identical to
db2b250 on both lines (Soul s3 finding crlf-fixture-stripped).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eureka merged commit e7f7451192 into main 2026-11-07 07:21:41 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Eureka!54
No description provided.