Repository navigation
fix(cognition): think-only generation routes the teacher sentinel, not empty Speak (#181 tail) - #2314
Merged
Merged
Conversation
…er sentinel + retry (#181 tail) Glass-boxed on the 2026-08-15 bench round: 17 turns reached inference with tools and produced ZERO acts. Capture 19397b2f shows the shape — finish=stop, a lucid full-length reasoning chain, text:"" — the model spent the entire generation inside the thinking channel and stopped before ever entering the answer channel. The two-arm serving test proved the splitter innocent (simple prompts return perfect content), so this is a turn-contract gap, not a serving bug and not a model to hardcode around. The existing accommodation (persona.act.reasoning_lift) already handles "she committed an act inside thought". The hole is the case where the thinking contains NO liftable call: that fell through to verdict() -> Speak("") — a silent dead turn. Maximal thought, zero commitment, and the round dies of it. Fix reuses the #159 sentinel mechanism verbatim shape: content empty + reasoning present + nothing lifted -> route THINK_ONLY_SENTINEL (uncallable namespace, REPORTED never executed). The executor's teacher names what happened as an observation — thinking is private, not an answer or an act; commit via tool call / plain answer / PASS — and drive_to_settle hands her another generation, which starts from her own conclusions because the reasoning was already recorded into working memory. Bounded by max_acts; an identical repeat short-circuits via all_calls_already_satisfied. Model-agnostic by construction (Joel: "good adapters, good OOP, no hard codings"): `reasoning` is an adapter fact; no model names anywhere; thinking stays ON per Joel's ruling — the system accommodates the reasoning channel instead of suppressing it, and raw CoT still never publishes as speech. 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.
The kill point this closes
Round 3 of the bench: 17 turns reached inference with tools, zero acts. Capture 19397b2f:
finish=stop, full lucid reasoning naming all 12 tasks tractable,text:"". The model ended its generation inside the thinking channel — no answer, no act, no liftable call. The two-arm serving test on an idle lane proved the channel splitter innocent (simple prompts return perfect content both with and without/no_think), so this is the turn contract, not serving.The fix (reuses #159's mechanism, zero new machinery)
THINK_ONLY_SENTINELnext toNAMELESS_ARGS_SENTINEL— uncallable namespace, reported never executed.drive_to_settlegrants another generation that starts from her own conclusions (reasoning already recorded into working memory).max_acts; identical repeats short-circuit viaall_calls_already_satisfied.reasoningis an adapter fact. No model names, no hardcodes. Thinking stays ON (Joel's ruling); raw CoT still never publishes as speech.Tests
think_only_turn_routes_the_teacher_sentinel_not_empty_speak(faculty verdict, existing mod)think_only_sentinel_teaches_commitment_not_unknown_tool(executor teacher, existing mod)cargo check --features metal,accelerateclean.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo