Skip to content

fix(cognition): think-only generation routes the teacher sentinel, not empty Speak (#181 tail) - #2314

Merged
joelteply merged 1 commit into
canaryfrom
fix/think-only-turn-teacher-sentinel
Aug 15, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/think-only-turn-teacher-sentinel

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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)

  • New THINK_ONLY_SENTINEL next to NAMELESS_ARGS_SENTINEL — uncallable namespace, reported never executed.
  • Verdict seam: content empty + reasoning present + reasoning-lift found nothing → route the sentinel as an Act. The executor's teacher fires as an observation (thinking is private; commit via tool call / plain answer / PASS) and drive_to_settle grants another generation that starts from her own conclusions (reasoning already recorded into working memory).
  • Bounded by max_acts; identical repeats short-circuit via all_calls_already_satisfied.
  • Model-agnostic: reasoning is 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)
  • All 34 neighboring verdict/teacher tests green; cargo check --features metal,accelerate clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…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
@joelteply
joelteply merged commit 190676a into canary Aug 15, 2026
5 checks passed
@joelteply
joelteply deleted the fix/think-only-turn-teacher-sentinel branch August 15, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant