REQ-INFER-011: Reasoning-block markers are declared once per model family

← Requirements

What it requires

  1. Given a gemma4 tier, When its adapter is resolved, Then that adapter strips its own family's marker.
  2. Given the gemma4 adapter and the stream filter, Then both agree on the same marker pair.
  3. Given a live token stream containing the family's markers, Then the filter suppresses the reasoning span incrementally.
tier
NOT_RUN

Where it lives

  • src/inference3
  • include/entropic1

See it on the map

How it is met

implemented byresults (151 tests)generate_streamingstrip_think_blocksthinking_markersthinking_markers151 absent151 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (151)

Reached through calls

151 tests: 151 absent

testresultlinked byimplementers exercisedcalls away
ModelOrchestrator real-model generate (one load, CPU)absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
Orchestrator generate() returns typed error when tier missingabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
Orchestrator generate_streaming error + routing + fallback pathsabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
gh#108 (v2.10.3) CONTROL: plain-decode streaming on the same tierabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
gh#108 (v2.10.3) MTP + grammar + streaming through absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
gh#108 (v2.10.3) MTP + streaming without a grammar still streamsabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
gh#134 (v2.10.4) A/B: the knob, not the model, produces the callabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
gh#134 (v2.10.4) closest replication of the reported stall configabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
gh#134 (v2.10.4) multi-turn: rails hold past the stall onsetabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
gh#134 (v2.10.4) require_tool_call forces a tool call under MTPabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
gh#154 a tier grammar that is not registered refuses the runabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers1
gh#108 the gemma4 adapter and the stream filter agree on markersabsentinferred2 of 4: strip_think_blocks, thinking_markers1
gh#137 an unclosed reasoning marker discards only what follows itabsentinferred2 of 4: strip_think_blocks, thinking_markers1
gh#108 StreamThinkFilter suppresses the family's marker liveabsentinferred1 of 4: thinking_markers1
gh#122: fenced-json block in model output yields a tool callabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers3
gh#127: ambiguous fenced args object returns empty (no false positive)absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers3
gh#127: fenced args-only object matched by registered tool schemaabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers3
gh#88: a parroted {action:...} emission dispatches via the gemma absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers3
interface_factory: wiring + iface_* surface sweepabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers3
Compaction fires when context exceeds thresholdabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Constitutional validator detects violations and revisesabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Delegation wiring fires on_delegation_start callbackabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Dynamic identity creation and generation through engine loopabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Engine state transitions include PLANNING and EXECUTINGabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Hooks fire in correct order during a generation cycleabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
MCP authorization denial propagates through engineabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Multi-turn engine calls retain contextabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Routing fires on_tier_selected callbackabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Single-turn engine loop produces coherent responseabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Tool call cycle: generate, parse, execute, regenerateabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
True end-to-end: real prompts, real engine, real modelabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
gh#105: constitutional validator's toolless render must NOT clobber absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
gh#160: an isolated delegation never writes the project, and absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
gh#162: a delegate seeded with context answers from the named absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
gh#88: a gemma multi-turn session never accumulates a parrotable absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
v2.14.6: a lead that answers in prose is nudged, and its forced absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
v2.14.6: with thinking on, each loop turn ends in a real tool callabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers4
Consecutive same-tier generations do not leak content across absentinferred2 of 4: strip_think_blocks, thinking_markers5
Conversation with model output survives save and loadabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Engine produces coherent text from a simple promptabsentinferred2 of 4: strip_think_blocks, thinking_markers5
GBNF grammar constrains output to valid JSONabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Gemma 4 A4B GGUF loads and generates first tokenabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Gemma 4 E4B GGUF loads and generates first tokenabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Generation succeeds with non-default GPU profileabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Lead delegates to child and receives resultabsentinferred2 of 4: strip_think_blocks, thinking_markers5
LoRA adapter load failure is handled gracefullyabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Model output is correctly parsed into tool callsabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Multi-turn context is retained across generationsabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Nemotron 3 family GGUF loads and generates first tokenabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Qwen 3.5 family GGUF loads and generates first tokenabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Recall-style prompts do not surface prior-generation contentabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Text-only model handles multimodal input gracefullyabsentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#103 contrast: batch mode may generate past the tool callabsentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#103 gemma severe case: sequential mode stops at <tool_call|> AND absentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#103: sequential tool_call_mode hard-stops at the first tool call absentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#106 MTP routes through orchestrator->generate()absentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#108 (v2.10.0) a request-level grammar routes to MTP on an absentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#108 (v2.10.3) CONTROL: non-streaming generate on the same tierabsentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#108 MTP engages with tools staged through orchestrator (agent loop)absentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#108 MTP loud error propagates through orchestrator (no fallback)absentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#108 per-tier speculative_mtp=false overrides the global flagabsentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#137 a toolless enable_thinking:false turn must not deliver absentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#148 auto: a VRAM reserve forces a real partial offload that absentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#154 a REQUEST-level grammar_key miss still fails openabsentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#154 registering the tier's grammar after configure opens the absentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#87 cutover: params.tools drives common_chat through the orchestratorabsentinferred2 of 4: strip_think_blocks, thinking_markers5
gh#90: gemma <|\"|> escape on a numeric value keeps string typingabsentinferred2 of 4: strip_think_blocks, thinking_markers5
v2.14.6: a real image runs through E4B QAT and its projectorabsentinferred2 of 4: strip_think_blocks, thinking_markers5
Configure with null JSON returns errorabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
Double-configure on one handle is refusedabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
Nemotron3-Nano-4B Q8 first inference does not crash (gh#66)absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
Three handles can coexistabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
Two GPU-resident handles can coexist (v2.2.8 target)absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
Two handles configure independentlyabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure called twice on the same handle returns ALREADY_CONFIGUREDabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure rejects NULL config_jsonabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure rejects NULL handleabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure_dir on /dev/null subpath returns an error, not an exceptionabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure_dir on a tmp dir runs the loader pathabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure_dir rejects NULL handleabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure_dir with empty string path returns an error code, not an exceptionabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure_from_file rejects NULL handleabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure_from_file rejects NULL pathabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_configure_from_file rejects missing fileabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_last_error reflects most-recent operation failureabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_last_error returns per-handle state (v2.2.6)absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_register_mcp_server on a configured handle absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_run_messages with console logging disabled still absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
entropic_seconds_since_last_activity returns 0 before any run absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#110: MTP engages through the real agent loop (entropic_run)absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#121 regression: configure populates engine's allowed_tools from identity frontmatterabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#144: concurrent bridge clients queue instead of racingabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#154 a tier grammar stem that cannot resolve YET still absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#154 a tier grammar stem that resolves still configuresabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#154 a tier with no grammar is unaffectedabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#154 entropic_metrics_json carries a generations arrayabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#156 a frontmatter-less app_context fails configure absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#156 a frontmatter-less constitution fails configure tooabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#156 a missing app_context path fails configureabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#156 a well-formed app_context file still configuresabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#156 app_context false still configuresabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#156 inline app_context content still configuresabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#158 entropic_interrupt_session targets exactly one runabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#163 entropic_configure carries app_context into ParsedConfigabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#163 entropic_configure_dir carries app_contextabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#163 entropic_configure_from_file carries app_contextabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#163 the object and false spellings survive configure_dir tooabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#164 entropic_release_model names an unknown tierabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#164 entropic_release_model refuses to unload mid-turnabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#165 entropic_session_context_set guards its preconditionsabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#165 entropic_session_context_set refuses the running sessionabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#165 entropic_session_context_set round-trips through the C ABIabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#175: a non-positive mcp.server_timeout_seconds is refused at configureabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#203: followup returns delegation_id and summary from real storageabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#204: an unservable http_port fails configure loudlyabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#95: identity grammar: field constrains that tier's outputabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
h1.run() after h2.configure() does not segfault (v2.2.6)absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers7
gh#108 CPU-only feasibility: E2B-QAT-Q4 x MTP x flash+q4KV, absentinferred2 of 4: strip_think_blocks, thinking_markers7
gh#108 agentic benchmark: full 24-config permutation matrix absentinferred2 of 4: strip_think_blocks, thinking_markers7
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 26B-A4B absentinferred2 of 4: strip_think_blocks, thinking_markers7
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 E4B absentinferred2 of 4: strip_think_blocks, thinking_markers7
gh#164: release then reload decodes correctly on a hybrid archabsentinferred2 of 4: strip_think_blocks, thinking_markers7
gh#164: release then reload decodes correctly on gemma4 (plain KV)absentinferred2 of 4: strip_think_blocks, thinking_markers7
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 131072 contextabsentinferred2 of 4: strip_think_blocks, thinking_markers7
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 32768 contextabsentinferred2 of 4: strip_think_blocks, thinking_markers7
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 65536 contextabsentinferred2 of 4: strip_think_blocks, thinking_markers7
gh#158: interrupting one session leaves the other runningabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#158: metrics and context reads are safe during live runsabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#158: two concurrent sessions do not bleed into each otherabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#164: entropic_release_model frees VRAM through the C ABIabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#165 + gh#164: release the weights, keep the conversationabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#165: a dropped session restored from JSON keeps answeringabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#166: two workspaces on one handle do not read each other's absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#169: an iteration-capped delegate hands its parent the audit it absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#179: each workspace's sessions answer from its own app_context, absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#181: a delegate hard-cut by the thinking budget hands its absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#194: a plain generation publishes the prefill it performedabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#198: a deferred handle holds no GPU memory until it runsabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#204/gh#205: two HTTP clients, different session, workspace and absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#214: a prompt that does not fit fails the turn, typedabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#216: multi-byte text at the history cut does not poison later turnsabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#217: release is refused while another session is decodingabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#93: autoparser family parses a multi-parameter tool callabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#93: entropic_interrupt stops a long run early (cancel-bridge)absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#94: enable_thinking:false suppresses think blocks (facade)absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
gh#99: run_as emits each tier's grammar on a shared modelabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
outside-root optional: a real model's reads outside its root absentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
v2.14.1: a declared server serves each workspace from its own repositoryabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
v2.14.3: release frees the model over MCP and the conversation survivesabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
v2.14.4: a model's commit message with shell syntax is text, not a commandabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8
v2.14.5: a failed turn is an error carrying only its own textabsentinferred3 of 4: generate_streaming, strip_think_blocks, thinking_markers8