Repository navigation
guard(registry): dispatch-parity audit + outbound tool-surface wire probe - #2131
Merged
Merged
Conversation
…r chat request Live residents narrated for hours with ZERO tool calls while every offline replay of the same context+tools+sampling (exact captured system+messages, all 20 tools, temp 0.7, live stop list, streaming) called list_tasks instantly — 2/3 at live temperature, 3/3 at temp 0. The only remaining unknown is what the live body actually carries; this probe states it per request so the offer is never inferred from a capture again. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…routable (#309 structural kill) Every command descriptor (help / did-you-mean / persona tool offer) must be dispatchable — a typed object or a prefix route. register_command! and commands() are two per-module lists a human keeps in sync; work/list shipped advertised-but-unroutable for a night, and Benchy's first live native tool call was refused with a did-you-mean listing the refused name ITSELF. dispatch_orphans() reads both sides; boot logs each orphan as ERROR (registry.dispatch_parity) before any client is told the command exists — promotable to boot-refusal once fleet-clean. The test failed on the pre-fix tree and passes post-merge: it catches the exact bug that shipped. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
Two fixes from tonight's live hunt, per 'fix bugs as you find em':
Dispatch-parity audit —
dispatch_orphans()verifies at boot that every advertised command descriptor is actually routable (typed object or prefix route), logging each orphan as an ERROR probe before any client can be told it exists. The structural kill for thework/listregistered-but-undispatchable class; the new test failed on the pre-fix tree and passes post-merge — it catches the exact bug that shipped.Wire-truth probe (
ai.request.tool_surface, already live-deployed) — tools_n/stops_n/msgs_n/temperature per outbound chat request, so the tool offer is never inferred from a capture again. This probe exonerated the model and the transport in ~10 minutes tonight after hours of layer-peeling.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo