REQ-INFER-002: Teardown releases every model, context and adapter handle

← Requirements

What it requires

  1. Given two orchestrators constructed and destroyed side by side in one process, Then both construct and tear down cleanly with no residual state.
  2. Given a backend that failed to load, When unloaded, Then teardown is a safe no-op.
  3. Given loaded LoRA adapters, When the orchestrator is destroyed, Then unload_all frees every adapter handle and is safe to call repeatedly.
  4. Given a COLD backend, When load_and_activate runs, Then the model file is read exactly ONCE and the backend is usable; Given a WARM backend, When it is activated, Then the file is read again (two reads in total), which is the documented cost of the WARM state.
tier
NOT_RUN

Where it lives

  • src/inference12
  • include/entropic1

See it on the map

How it is met

implemented byresults (328 tests)do_load_activedo_load_activedo_unloadload_and_activatepromote_to_activerelease_roleshutdownshutdownteardown_mtp_draftunloadunload_all~LlamaCppBackend~ModelOrchestrator328 absent328 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (328)

Reached through calls

328 tests: 328 absent

testresultlinked byimplementers exercisedcalls away
ModelOrchestrator real-model generate (one load, CPU)absentinferred6 of 131
gh#148 auto: a VRAM reserve forces a real partial offload that absentinferred6 of 131
v2.14.6: a real image runs through E4B QAT and its projectorabsentinferred6 of 131
Orchestrator drives create_tier_backends + activation failureabsentinferred5 of 131
Orchestrator empty-tiers + handoff + observer + accessor coverageabsentinferred5 of 131
Orchestrator multi-instance side-by-side constructionabsentinferred5 of 131
SecondaryModelLoader v2.3.10 topup — failure isolation + idempotencyabsentinferred5 of 131
gh#157: the first use loads exactly once, through the gateabsentinferred5 of 131
gh#164: release evicts the model and the next use brings it backabsentinferred5 of 131
gh#106 MTP kernel: engaged + lossless-coherentabsentinferred4 of 13: promote_to_active, shutdown, teardown_mtp_draft, unload1
gh#108 MTP + flash + q4 KV succeeds on E4B QAT Q4 absentinferred4 of 13: promote_to_active, shutdown, teardown_mtp_draft, unload1
gh#108 MTP + flash attention succeeds (v2.9.3, upstream #25148)absentinferred4 of 13: promote_to_active, shutdown, teardown_mtp_draft, unload1
gh#108 MTP greedy holds across a multi-turn contextabsentinferred4 of 13: promote_to_active, shutdown, teardown_mtp_draft, unload1
gh#108 MTP guards: out-of-envelope requests fail loudabsentinferred4 of 13: promote_to_active, shutdown, teardown_mtp_draft, unload1
gh#108 MTP is lossless at temperature>0 (empirical distribution check)absentinferred4 of 13: promote_to_active, shutdown, teardown_mtp_draft, unload1
gh#144: MTP prefill must not re-decode an unchanged prefixabsentinferred4 of 13: promote_to_active, shutdown, teardown_mtp_draft, unload1
gh#148: one cold activation reads the model file onceabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload1
LlamaCppBackend lifecycle on a small real model (one load)absentinferred3 of 13: promote_to_active, shutdown, unload1
gh#87 Increment-2: backend render_with_tools → parse_response absentinferred3 of 13: promote_to_active, shutdown, unload1
gh#87 diag: multi-parameter tool call — gemma4 (dedicated PEG)absentinferred3 of 13: promote_to_active, shutdown, unload1
gh#106 observe: QAT thinking-model tool-call structureabsentinferred2 of 13: promote_to_active, unload1
gh#144: a session switch must not force a full re-prefillabsentinferred2 of 13: promote_to_active, unload1
gh#144: interleaved sessions do not leak context to each otherabsentinferred2 of 13: promote_to_active, unload1
gh#144: max_sessions == 1 preserves the warm-keep prefill shapeabsentinferred2 of 13: promote_to_active, unload1
gh#148: the WARM path deliberately keeps its reloadabsentinferred2 of 13: promote_to_active, unload1
gh#158: a batch does not wipe another session's resident KVabsentinferred2 of 13: promote_to_active, unload1
gh#158: concurrent sessions on a HYBRID arch keep KV in syncabsentinferred2 of 13: promote_to_active, unload1
gh#87 Increment-3a: generate() routes through common_chat when absentinferred2 of 13: promote_to_active, unload1
gh#95 isolation: GBNF grammar constrains backend output with NO toolsabsentinferred2 of 13: promote_to_active, unload1
gh#96 oracle: cancellation mid-generation leaves clean KVabsentinferred2 of 13: promote_to_active, unload1
gh#96 oracle: two conversations interleaved on one backendabsentinferred2 of 13: promote_to_active, unload1
gh#96 probe: is greedy decode deterministic run-to-run?absentinferred2 of 13: promote_to_active, unload1
gh#96: agent-loop prefill must not grow with history (warm-keep)absentinferred2 of 13: promote_to_active, unload1
gh#97: prompt-cache/warm-keep must not corrupt KV on a hybrid modelabsentinferred2 of 13: promote_to_active, unload1
gh#98: hybrid arch falls back to serial (no seq-op corruption)absentinferred2 of 13: promote_to_active, unload1
gh#98: multi-seq batch decodes N sequences togetherabsentinferred2 of 13: promote_to_active, unload1
LlamaCppBackend re-load after unload reuses do_loadabsentinferred1 of 13: unload1
LlamaCppBackend unload after failed load is a safe no-opabsentinferred1 of 13: unload1
LlamaCppBackend::load against a vocab-only GGUF exercises do_loadabsentinferred1 of 13: unload1
Orchestrator shutdown is safe on uninitialized stateabsentinferred1 of 13: shutdown1
SecondaryModelLoader: release of unknown role is falseabsentinferred1 of 13: release_role1
SecondaryModelLoader: shutdown is idempotent on emptyabsentinferred1 of 13: shutdown1
testRunEndedabsentinferred1 of 13: shutdown1
gh#164: release then reload decodes correctly on a hybrid archabsentinferred6 of 132
gh#164: release then reload decodes correctly on gemma4 (plain KV)absentinferred6 of 132
gh#106 MTP functions on the E4B QAT trunkabsentinferred4 of 13: promote_to_active, shutdown, teardown_mtp_draft, unload2
Backend evaluation failure propagatesabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
Basic logprob evaluation returns correct structureabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
Deterministic results across callsabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
Minimum sequence (2 tokens) succeedsabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
Perplexity matches manual computationabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
Perplexity math correctness with known logprobsabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
SecondaryModelLoader: ensure_loaded with bogus path fails cleanlyabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
Single token is rejectedabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
Zero tokens is rejectedabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
compute_perplexity returns perplexity onlyabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
do_evaluate_logprobs is called exactly onceabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
total_logprob equals sum of logprobsabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active2
gh#100 floor: default f16 KV path on E4B QAT Q4 is unchangedabsentinferred2 of 13: promote_to_active, unload2
gh#100: q8_0 KV halves per-seq bytes and stays valid on absentinferred2 of 13: promote_to_active, unload2
gh#164: releasing an unknown tier is refused, not silently ignoredabsentinferred2 of 13: shutdown, unload2
gh#87 Phase A: nemotron3 tool call round-trips through common_chatabsentinferred2 of 13: promote_to_active, unload2
gh#87 Phase A: qwen35 tool call round-trips through common_chatabsentinferred2 of 13: promote_to_active, unload2
gh#96 oracle: append-growth — warm output == cold + reuse + fasterabsentinferred2 of 13: promote_to_active, unload2
gh#96 oracle: mid-history mutation (prune/compaction) stays correctabsentinferred2 of 13: promote_to_active, unload2
gh#96 oracle: system-prompt swap (tier change) stays correctabsentinferred2 of 13: promote_to_active, unload2
inference C ABI: exception paths + parse_params field sweepabsentinferred2 of 13: promote_to_active, unload2
entropic_adapter_unload on configured handle for unknown adapterabsentinferred1 of 13: unload2
entropic_adapter_unload on unconfigured handle returns INVALID_STATEabsentinferred1 of 13: unload2
entropic_inference_unload increments the counterabsentinferred1 of 13: unload2
entropic_inference_unload rejects NULL handleabsentinferred1 of 13: unload2
gh#164: entropic_release_model frees VRAM through the C ABIabsentinferred6 of 133
gh#165 + gh#164: release the weights, keep the conversationabsentinferred6 of 133
gh#217: release is refused while another session is decodingabsentinferred6 of 133
gh#164 entropic_release_model rejects a NULL handleabsentinferred2 of 13: shutdown, unload3
gh#217: release is refused while ANY session is decodingabsentinferred2 of 13: shutdown, unload3
entropic_inference_activate happy and failure pathsabsentinferred1 of 13: promote_to_active3
entropic_inference_activate rejects NULL handleabsentinferred1 of 13: promote_to_active3
entropic_inference_complete returns serialized resultabsentinferred1 of 13: promote_to_active3
entropic_inference_deactivate increments the counterabsentinferred1 of 13: promote_to_active3
entropic_inference_generate catches backend exceptionsabsentinferred1 of 13: promote_to_active3
entropic_inference_generate returns error_code on backend failureabsentinferred1 of 13: promote_to_active3
entropic_inference_generate returns serialized JSON resultabsentinferred1 of 13: promote_to_active3
entropic_inference_generate_streaming fires the token callbackabsentinferred1 of 13: promote_to_active3
entropic_inference_generate_streaming respects cancel flagabsentinferred1 of 13: promote_to_active3
entropic_inference_generate_with_cancel aborts mid-decode when flag setabsentinferred1 of 13: promote_to_active3
entropic_inference_generate_with_cancel completes when not cancelledabsentinferred1 of 13: promote_to_active3
entropic_inference_generate_with_cancel honors a NULL cancel pointerabsentinferred1 of 13: promote_to_active3
entropic_inference_state returns the backend's state enumabsentinferred1 of 13: promote_to_active3
Orchestrator generate() returns typed error when tier missingabsentinferred6 of 134
Orchestrator generate_streaming error + routing + fallback pathsabsentinferred6 of 134
gh#122: fenced-json block in model output yields a tool callabsentinferred6 of 134
gh#127: ambiguous fenced args object returns empty (no false positive)absentinferred6 of 134
gh#127: fenced args-only object matched by registered tool schemaabsentinferred6 of 134
gh#154 a REQUEST-level grammar_key miss still fails openabsentinferred6 of 134
gh#154 a tier grammar that is not registered refuses the runabsentinferred6 of 134
gh#154 registering the tier's grammar after configure opens the absentinferred6 of 134
interface_factory: wiring + iface_* surface sweepabsentinferred6 of 134
Classification runs the router and yields a configured tierabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
Cleared classification_prompt makes routing a no-op (RED control)absentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
Orchestrator VRAM budget env override is read at initializeabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
Orchestrator initialize against missing tier paths fails cleanlyabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
Orchestrator member apply_tier_sampler_defaults maps all 8 absentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
Orchestrator residency_snapshot_json reports configured budgetabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
Orchestrator route() exercises both enabled and disabled pathsabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
Orchestrator route() with router configured but unloadableabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
gh#148 auto: a reserve no placement can fit is refused with a absentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
gh#157: a deferred tier answers vision from config while unloadedabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
gh#157: defer_load decides whether init touches the model at allabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
gh#198: a deferred handle does not touch the device until it loadsabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload4
Consecutive same-tier generations do not leak content across absentinferred6 of 135
Conversation with model output survives save and loadabsentinferred6 of 135
Engine produces coherent text from a simple promptabsentinferred6 of 135
GBNF grammar constrains output to valid JSONabsentinferred6 of 135
Gemma 4 A4B GGUF loads and generates first tokenabsentinferred6 of 135
Gemma 4 E4B GGUF loads and generates first tokenabsentinferred6 of 135
Generation succeeds with non-default GPU profileabsentinferred6 of 135
Lead delegates to child and receives resultabsentinferred6 of 135
LoRA adapter load failure is handled gracefullyabsentinferred6 of 135
Model output is correctly parsed into tool callsabsentinferred6 of 135
Multi-turn context is retained across generationsabsentinferred6 of 135
Nemotron 3 family GGUF loads and generates first tokenabsentinferred6 of 135
Qwen 3.5 family GGUF loads and generates first tokenabsentinferred6 of 135
Recall-style prompts do not surface prior-generation contentabsentinferred6 of 135
Text-only model handles multimodal input gracefullyabsentinferred6 of 135
gh#103 contrast: batch mode may generate past the tool callabsentinferred6 of 135
gh#103 gemma severe case: sequential mode stops at <tool_call|> AND absentinferred6 of 135
gh#103: sequential tool_call_mode hard-stops at the first tool call absentinferred6 of 135
gh#106 MTP routes through orchestrator->generate()absentinferred6 of 135
gh#108 (v2.10.0) a request-level grammar routes to MTP on an absentinferred6 of 135
gh#108 (v2.10.3) CONTROL: non-streaming generate on the same tierabsentinferred6 of 135
gh#108 (v2.10.3) CONTROL: plain-decode streaming on the same tierabsentinferred6 of 135
gh#108 (v2.10.3) MTP + grammar + streaming through absentinferred6 of 135
gh#108 (v2.10.3) MTP + streaming without a grammar still streamsabsentinferred6 of 135
gh#108 CPU-only feasibility: E2B-QAT-Q4 x MTP x flash+q4KV, absentinferred6 of 135
gh#108 MTP engages with tools staged through orchestrator (agent loop)absentinferred6 of 135
gh#108 MTP loud error propagates through orchestrator (no fallback)absentinferred6 of 135
gh#108 agentic benchmark: full 24-config permutation matrix absentinferred6 of 135
gh#108 per-tier speculative_mtp=false overrides the global flagabsentinferred6 of 135
gh#134 (v2.10.4) A/B: the knob, not the model, produces the callabsentinferred6 of 135
gh#134 (v2.10.4) closest replication of the reported stall configabsentinferred6 of 135
gh#134 (v2.10.4) multi-turn: rails hold past the stall onsetabsentinferred6 of 135
gh#134 (v2.10.4) require_tool_call forces a tool call under MTPabsentinferred6 of 135
gh#137 a toolless enable_thinking:false turn must not deliver absentinferred6 of 135
gh#87 cutover: params.tools drives common_chat through the orchestratorabsentinferred6 of 135
gh#88: a parroted {action:...} emission dispatches via the gemma absentinferred6 of 135
gh#90: gemma <|\"|> escape on a numeric value keeps string typingabsentinferred6 of 135
testRunStartingabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload5
Orchestrator last_routing_result is populated after a route callabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active5
Orchestrator route returns the default tier when routing disabledabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active5
Orchestrator route returns the default tier with empty messagesabsentinferred3 of 13: do_load_active, load_and_activate, promote_to_active5
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 26B-A4B absentinferred6 of 136
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 E4B absentinferred6 of 136
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 131072 contextabsentinferred6 of 136
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 32768 contextabsentinferred6 of 136
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 65536 contextabsentinferred6 of 136
entropic_adapter_load on NULL handle returns INVALID_HANDLEabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
entropic_adapter_load on configured handle with bad path fails cleanlyabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
entropic_adapter_load on unconfigured handle returns INVALID_STATEabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
entropic_compute_perplexity on configured handle without tier failsabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
entropic_compute_perplexity on unconfigured handle returns INVALID_STATEabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
entropic_get_logprobs on NULL handle returns INVALID_HANDLEabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
entropic_get_logprobs on configured handle without active tier failsabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
entropic_get_logprobs on unconfigured handle returns INVALID_STATEabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
entropic_get_logprobs with n_tokens<2 returns INVALID_ARGUMENTabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
gh#193: what cold prefill costs at each residency levelabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload7
gh#144: the ask tool advertises session as OPTIONALabsentinferred2 of 13: shutdown, unload7
gh#205: ask advertises tier and workspace, both OPTIONALabsentinferred2 of 13: shutdown, unload7
Compaction fires when context exceeds thresholdabsentinferred6 of 138
Configure with null JSON returns errorabsentinferred6 of 138
Constitutional validator detects violations and revisesabsentinferred6 of 138
Delegation wiring fires on_delegation_start callbackabsentinferred6 of 138
Double-configure on one handle is refusedabsentinferred6 of 138
Dynamic identity creation and generation through engine loopabsentinferred6 of 138
Engine state transitions include PLANNING and EXECUTINGabsentinferred6 of 138
Hooks fire in correct order during a generation cycleabsentinferred6 of 138
MCP authorization denial propagates through engineabsentinferred6 of 138
Multi-turn engine calls retain contextabsentinferred6 of 138
Nemotron3-Nano-4B Q8 first inference does not crash (gh#66)absentinferred6 of 138
Routing fires on_tier_selected callbackabsentinferred6 of 138
Single-turn engine loop produces coherent responseabsentinferred6 of 138
Three handles can coexistabsentinferred6 of 138
Tool call cycle: generate, parse, execute, regenerateabsentinferred6 of 138
True end-to-end: real prompts, real engine, real modelabsentinferred6 of 138
Two GPU-resident handles can coexist (v2.2.8 target)absentinferred6 of 138
Two handles configure independentlyabsentinferred6 of 138
entropic_configure called twice on the same handle returns ALREADY_CONFIGUREDabsentinferred6 of 138
entropic_configure rejects NULL config_jsonabsentinferred6 of 138
entropic_configure rejects NULL handleabsentinferred6 of 138
entropic_configure_dir on /dev/null subpath returns an error, not an exceptionabsentinferred6 of 138
entropic_configure_dir on a tmp dir runs the loader pathabsentinferred6 of 138
entropic_configure_dir rejects NULL handleabsentinferred6 of 138
entropic_configure_dir with empty string path returns an error code, not an exceptionabsentinferred6 of 138
entropic_configure_from_file rejects NULL handleabsentinferred6 of 138
entropic_configure_from_file rejects NULL pathabsentinferred6 of 138
entropic_configure_from_file rejects missing fileabsentinferred6 of 138
entropic_last_error reflects most-recent operation failureabsentinferred6 of 138
entropic_last_error returns per-handle state (v2.2.6)absentinferred6 of 138
entropic_register_mcp_server on a configured handle absentinferred6 of 138
entropic_run_messages with console logging disabled still absentinferred6 of 138
entropic_seconds_since_last_activity returns 0 before any run absentinferred6 of 138
gh#105: constitutional validator's toolless render must NOT clobber absentinferred6 of 138
gh#110: MTP engages through the real agent loop (entropic_run)absentinferred6 of 138
gh#121 regression: configure populates engine's allowed_tools from identity frontmatterabsentinferred6 of 138
gh#144: concurrent bridge clients queue instead of racingabsentinferred6 of 138
gh#154 a tier grammar stem that cannot resolve YET still absentinferred6 of 138
gh#154 a tier grammar stem that resolves still configuresabsentinferred6 of 138
gh#154 a tier with no grammar is unaffectedabsentinferred6 of 138
gh#154 entropic_metrics_json carries a generations arrayabsentinferred6 of 138
gh#156 a frontmatter-less app_context fails configure absentinferred6 of 138
gh#156 a frontmatter-less constitution fails configure tooabsentinferred6 of 138
gh#156 a missing app_context path fails configureabsentinferred6 of 138
gh#156 a well-formed app_context file still configuresabsentinferred6 of 138
gh#156 app_context false still configuresabsentinferred6 of 138
gh#156 inline app_context content still configuresabsentinferred6 of 138
gh#158 entropic_interrupt_session targets exactly one runabsentinferred6 of 138
gh#160: an isolated delegation never writes the project, and absentinferred6 of 138
gh#162: a delegate seeded with context answers from the named absentinferred6 of 138
gh#163 entropic_configure carries app_context into ParsedConfigabsentinferred6 of 138
gh#163 entropic_configure_dir carries app_contextabsentinferred6 of 138
gh#163 entropic_configure_from_file carries app_contextabsentinferred6 of 138
gh#163 the object and false spellings survive configure_dir tooabsentinferred6 of 138
gh#164 entropic_release_model names an unknown tierabsentinferred6 of 138
gh#164 entropic_release_model refuses to unload mid-turnabsentinferred6 of 138
gh#165 entropic_session_context_set guards its preconditionsabsentinferred6 of 138
gh#165 entropic_session_context_set refuses the running sessionabsentinferred6 of 138
gh#165 entropic_session_context_set round-trips through the C ABIabsentinferred6 of 138
gh#175: a non-positive mcp.server_timeout_seconds is refused at configureabsentinferred6 of 138
gh#203: followup returns delegation_id and summary from real storageabsentinferred6 of 138
gh#204: an unservable http_port fails configure loudlyabsentinferred6 of 138
gh#88: a gemma multi-turn session never accumulates a parrotable absentinferred6 of 138
gh#95: identity grammar: field constrains that tier's outputabsentinferred6 of 138
h1.run() after h2.configure() does not segfault (v2.2.6)absentinferred6 of 138
v2.14.3: release frees the model over MCP and the conversation survivesabsentinferred6 of 138
v2.14.6: a lead that answers in prose is nudged, and its forced absentinferred6 of 138
v2.14.6: with thinking on, each loop turn ends in a real tool callabsentinferred6 of 138
entropic_state_load on unconfigured handle returns INVALID_STATEabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload8
entropic_state_load rejects NULL handleabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload8
entropic_state_load rejects NULL pathabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload8
entropic_state_load rejects NULL tier_nameabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload8
entropic_state_save on unconfigured handle returns INVALID_STATEabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload8
entropic_state_save rejects NULL handleabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload8
entropic_state_save rejects NULL pathabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload8
entropic_state_save rejects NULL tier_nameabsentinferred4 of 13: do_load_active, load_and_activate, promote_to_active, unload8
A call that fails identically is refused rather than retried absentinferred2 of 13: shutdown, unload8
Anti-spiral hard block stops dispatch and emits absentinferred2 of 13: shutdown, unload8
Anti-spiral hard block uses derived default when sentinel setabsentinferred2 of 13: shutdown, unload8
Error result not cached for dedupabsentinferred2 of 13: shutdown, unload8
POST_TOOL_CALL fires on schema rejection with kindabsentinferred2 of 13: shutdown, unload8
POST_TOOL_CALL hook transforms schema-rejection contentabsentinferred2 of 13: shutdown, unload8
Permission denied returns feedbackabsentinferred2 of 13: shutdown, unload8
Schema validation rejects invalid enum valueabsentinferred2 of 13: shutdown, unload8
Schema validation rejects missing required fieldabsentinferred2 of 13: shutdown, unload8
Tool executor processes calls via ServerManagerabsentinferred2 of 13: shutdown, unload8
gh#143: an argument-free call to a no-required-fields tool absentinferred2 of 13: shutdown, unload8
gh#190: a structured JSON error counts as a failure everywhereabsentinferred2 of 13: shutdown, unload8
mcp.bash.timeout_seconds reaches the dispatched bash serverabsentinferred2 of 13: shutdown, unload8
v2.14.0: schema validation enforces declared minimum and maximumabsentinferred2 of 13: shutdown, unload8
v2.14.6: a headless host still dispatches engine directivesabsentinferred2 of 13: shutdown, unload8
v2.14.6: the model's own tool call stays in the history it is shownabsentinferred2 of 13: shutdown, unload8
gh#158: interrupting one session leaves the other runningabsentinferred6 of 139
gh#158: metrics and context reads are safe during live runsabsentinferred6 of 139
gh#158: two concurrent sessions do not bleed into each otherabsentinferred6 of 139
gh#165: a dropped session restored from JSON keeps answeringabsentinferred6 of 139
gh#166: two workspaces on one handle do not read each other's absentinferred6 of 139
gh#169: an iteration-capped delegate hands its parent the audit it absentinferred6 of 139
gh#179: each workspace's sessions answer from its own app_context, absentinferred6 of 139
gh#181: a delegate hard-cut by the thinking budget hands its absentinferred6 of 139
gh#194: a plain generation publishes the prefill it performedabsentinferred6 of 139
gh#198: a deferred handle holds no GPU memory until it runsabsentinferred6 of 139
gh#204/gh#205: two HTTP clients, different session, workspace and absentinferred6 of 139
gh#214: a prompt that does not fit fails the turn, typedabsentinferred6 of 139
gh#216: multi-byte text at the history cut does not poison later turnsabsentinferred6 of 139
gh#93: autoparser family parses a multi-parameter tool callabsentinferred6 of 139
gh#93: entropic_interrupt stops a long run early (cancel-bridge)absentinferred6 of 139
gh#94: enable_thinking:false suppresses think blocks (facade)absentinferred6 of 139
gh#99: run_as emits each tier's grammar on a shared modelabsentinferred6 of 139
outside-root optional: a real model's reads outside its root absentinferred6 of 139
v2.14.1: a declared server serves each workspace from its own repositoryabsentinferred6 of 139
v2.14.4: a model's commit message with shell syntax is text, not a commandabsentinferred6 of 139
v2.14.5: a failed turn is an error carrying only its own textabsentinferred6 of 139
Auto approve skips callbackabsentinferred2 of 13: shutdown, unload9
Chained POST_TOOL_CALL hooks: last write winsabsentinferred2 of 13: shutdown, unload9
Circuit breaker at threeabsentinferred2 of 13: shutdown, unload9
Duplicate counter resetsabsentinferred2 of 13: shutdown, unload9
Duplicate detection skipsabsentinferred2 of 13: shutdown, unload9
Headless mode denies without callbackabsentinferred2 of 13: shutdown, unload9
Max tool calls per turnabsentinferred2 of 13: shutdown, unload9
Multiple tool calls in batchabsentinferred2 of 13: shutdown, unload9
POST_TOOL_CALL fires on duplicate rejection with kindabsentinferred2 of 13: shutdown, unload9
POST_TOOL_CALL hook transforms duplicate-rejection contentabsentinferred2 of 13: shutdown, unload9
POST_TOOL_CALL hook transforms successful tool result contentabsentinferred2 of 13: shutdown, unload9
POST_TOOL_CALL with *modified_json == NULL leaves content untouchedabsentinferred2 of 13: shutdown, unload9
PRE/POST_TOOL_CALL fire for successful callsabsentinferred2 of 13: shutdown, unload9
PRE_TOOL_CALL cancel short-circuits dispatch and still fires POSTabsentinferred2 of 13: shutdown, unload9
Process single tool callabsentinferred2 of 13: shutdown, unload9
Tool call history records successful executionsabsentinferred2 of 13: shutdown, unload9
Tool emits directives → ToolExecutor extracts + dispatches themabsentinferred2 of 13: shutdown, unload9
effective_max_tool_calls_per_turn overrides global limitabsentinferred2 of 13: shutdown, unload9
gh#111: POST_TOOL_CALL hook returning malformed UTF-8 is absentinferred2 of 13: shutdown, unload9
gh#143: an argument-free call serialises as an object absentinferred2 of 13: shutdown, unload9
gh#143: dispatch converts a throwing tool into a tool errorabsentinferred2 of 13: shutdown, unload9
gh#158: a delegated child's read satisfies its parent's write — absentinferred2 of 13: shutdown, unload9
gh#158: clearing the default conversation releases the default absentinferred2 of 13: shutdown, unload9
gh#158: each session's todo list is its ownabsentinferred2 of 13: shutdown, unload9
gh#158: ending a session's conversation releases its read absentinferred2 of 13: shutdown, unload9
gh#158: read-before-write is judged per session — another absentinferred2 of 13: shutdown, unload9
gh#158: two sessions reading and writing through ONE filesystem absentinferred2 of 13: shutdown, unload9
gh#168: a rewritten payload carrying bad UTF-8 is sanitized, absentinferred2 of 13: shutdown, unload9
gh#168: the rewrite is visible to the dup cache and POST hookabsentinferred2 of 13: shutdown, unload9
gh#211: a tier that declares an EMPTY allowlist may call nothingabsentinferred2 of 13: shutdown, unload9
gh#83: allowlisted tool dispatches normallyabsentinferred2 of 13: shutdown, unload9
gh#83: empty locked_tier bypasses enforcementabsentinferred2 of 13: shutdown, unload9
gh#83: no map wired = pass-through (pre-v2.5.2 behavior)absentinferred2 of 13: shutdown, unload9
gh#83: off-allowlist tool is rejected_unauthorized at dispatchabsentinferred2 of 13: shutdown, unload9
gh#83: tier with no allowlist entry is unrestrictedabsentinferred2 of 13: shutdown, unload9
process_single_call completes with locked_tier setabsentinferred2 of 13: shutdown, unload9
ExternalBridge start() declines duplicate in-process socket bindingabsentinferred2 of 13: shutdown, unload10
gh#158: a session's tool call never resolves inside another absentinferred2 of 13: shutdown, unload10
gh#158: repeated sandbox swaps race nothing a concurrent absentinferred2 of 13: shutdown, unload10
gh#158: two sessions writing todos through ONE entropic server absentinferred2 of 13: shutdown, unload10
gh#168: a PRE_TOOL_CALL hook's modified args reach the toolabsentinferred2 of 13: shutdown, unload10
gh#168: a malformed modification is refused, not half-appliedabsentinferred2 of 13: shutdown, unload10
gh#168: a modification that renames the tool is refusedabsentinferred2 of 13: shutdown, unload10
gh#168: a non-zero return still cancels, modification or notabsentinferred2 of 13: shutdown, unload10
gh#204: a listener stopped the instant it started still stopsabsentinferred2 of 13: shutdown, unload10
gh#204: the HTTP listener serves the bridge to authenticated clients onlyabsentinferred2 of 13: shutdown, unload10
gh#220: a port another listener holds is refused, not sharedabsentinferred2 of 13: shutdown, unload10