REQ-CFG-005: Per-tier knobs override global defaults without an all-or-nothing switch

← Requirements

What it requires

  1. GIVEN a tier declaring speculative: { mtp: true } alongside a static grammar:, WHEN loaded, THEN the load succeeds and tier.speculative_mtp has_value() == true with the grammar retained — the pre-v2.10.0 static rejection of that pairing is gone because to_common_sampling now propagates grammar into the MTP sampler chain.
  2. GIVEN a comprehensive config exercising every runtime knob on a tier, THEN each parses onto the TierConfig.
tier
NOT_RUN

Where it lives

  • src/config6

See it on the map

How it is met

implemented byresults (131 tests)parse_gpu_layersparse_model_configparse_sampler_overridesparse_speculative_configparse_tier_configparse_tier_speculative_override131 absent131 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (131)

Reached through calls

131 tests: 131 absent

testresultlinked byimplementers exercisedcalls away
A tier selects a bundled model by family/size/quantabsentinferred6 of 64
Comprehensive config exercises every parse_* helperabsentinferred6 of 64
Consumer models block replaces global tiersabsentinferred6 of 64
Empty config file returns descriptive errorabsentinferred6 of 64
Layered merge — project overlays globalabsentinferred6 of 64
Non-map YAML root returns errorabsentinferred6 of 64
Nonexistent config file returns errorabsentinferred6 of 64
Parse config with tiersabsentinferred6 of 64
Parse minimal configabsentinferred6 of 64
Scalar YAML root returns errorabsentinferred6 of 64
gh#108 (v2.10.0): speculative.mtp and static grammar can coexist absentinferred6 of 64
gh#148: gpu_layers accepts a count or the word autoabsentinferred6 of 64
gh#153 #42(iii): cpu_moe_layers parses, and is absent by defaultabsentinferred6 of 64
gh#157: models.defer_load parses and is not mistaken for a tierabsentinferred6 of 64
gh#160 delegation.isolation parses, and a bad mode is refusedabsentinferred6 of 64
gh#211: malformed YAML is a returned error, never an abortabsentinferred6 of 64
gh#94: per-tier sampler knobs parse from YAML into TierConfigabsentinferred6 of 64
load_config_from_string drives parse_config_string + validateabsentinferred6 of 64
outside-root: the SHIPPED default config no longer hands the model absentinferred6 of 64
parse_config_file rejects missing file with read errorabsentinferred6 of 64
gh#141 app_context carries inline contentabsentinferred6 of 65
gh#141 every existing app_context spelling keeps its meaningabsentinferred6 of 65
load_config_from_file forwards file errors through the chainabsentinferred6 of 65
load_config_from_file is the single-file public entryabsentinferred6 of 65
mcp.bash.timeout_seconds parses, defaults to 30, and refuses a absentinferred6 of 65
mcp.filesystem outside_root_allow / outside_root_deny parse as absentinferred6 of 65
mcp.filesystem.allow_outside_root is tri-state and defaults to absentinferred6 of 65
Configure with null JSON returns errorabsentinferred6 of 66
Double-configure on one handle is refusedabsentinferred6 of 66
Nemotron3-Nano-4B Q8 first inference does not crash (gh#66)absentinferred6 of 66
Three handles can coexistabsentinferred6 of 66
Two GPU-resident handles can coexist (v2.2.8 target)absentinferred6 of 66
Two handles configure independentlyabsentinferred6 of 66
entropic_configure called twice on the same handle returns ALREADY_CONFIGUREDabsentinferred6 of 66
entropic_configure rejects NULL config_jsonabsentinferred6 of 66
entropic_configure rejects NULL handleabsentinferred6 of 66
entropic_last_error returns per-handle state (v2.2.6)absentinferred6 of 66
entropic_register_mcp_server on a configured handle absentinferred6 of 66
entropic_run_messages with console logging disabled still absentinferred6 of 66
entropic_seconds_since_last_activity returns 0 before any run absentinferred6 of 66
gh#121 regression: configure populates engine's allowed_tools from identity frontmatterabsentinferred6 of 66
gh#133 fallout: the bundled default must not clobber explicit layersabsentinferred6 of 66
gh#133 mcp.plugins parses into MCPConfig::pluginsabsentinferred6 of 66
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 26B-A4B absentinferred6 of 66
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 E4B absentinferred6 of 66
gh#154 a tier grammar stem that cannot resolve YET still absentinferred6 of 66
gh#154 a tier grammar stem that resolves still configuresabsentinferred6 of 66
gh#154 a tier with no grammar is unaffectedabsentinferred6 of 66
gh#154 entropic_metrics_json carries a generations arrayabsentinferred6 of 66
gh#156 a frontmatter-less app_context fails configure absentinferred6 of 66
gh#156 a frontmatter-less constitution fails configure tooabsentinferred6 of 66
gh#156 a missing app_context path fails configureabsentinferred6 of 66
gh#156 a well-formed app_context file still configuresabsentinferred6 of 66
gh#156 app_context false still configuresabsentinferred6 of 66
gh#156 inline app_context content still configuresabsentinferred6 of 66
gh#158 entropic_interrupt_session targets exactly one runabsentinferred6 of 66
gh#163 entropic_configure carries app_context into ParsedConfigabsentinferred6 of 66
gh#164 entropic_release_model names an unknown tierabsentinferred6 of 66
gh#164 entropic_release_model refuses to unload mid-turnabsentinferred6 of 66
gh#165 entropic_session_context_set guards its preconditionsabsentinferred6 of 66
gh#165 entropic_session_context_set refuses the running sessionabsentinferred6 of 66
gh#165 entropic_session_context_set round-trips through the C ABIabsentinferred6 of 66
gh#175: a non-positive mcp.server_timeout_seconds is refused at configureabsentinferred6 of 66
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 131072 contextabsentinferred6 of 66
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 32768 contextabsentinferred6 of 66
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 65536 contextabsentinferred6 of 66
gh#203: followup returns delegation_id and summary from real storageabsentinferred6 of 66
gh#204: an unservable http_port fails configure loudlyabsentinferred6 of 66
h1.run() after h2.configure() does not segfault (v2.2.6)absentinferred6 of 66
load_config drives global + project + env + validate chainabsentinferred6 of 66
load_layered overlays a project config.local.yaml when presentabsentinferred6 of 66
load_layered's consumer-defaults layer overlays before projectabsentinferred6 of 66
Classification runs the router and yields a configured tierabsentinferred6 of 67
Cleared classification_prompt makes routing a no-op (RED control)absentinferred6 of 67
entropic_configure_from_file rejects NULL handleabsentinferred6 of 67
entropic_configure_from_file rejects NULL pathabsentinferred6 of 67
entropic_configure_from_file rejects missing fileabsentinferred6 of 67
entropic_last_error reflects most-recent operation failureabsentinferred6 of 67
gh#163 a top-level app_context path survives the config layersabsentinferred6 of 67
gh#163 entropic_configure_from_file carries app_contextabsentinferred6 of 67
gh#193: what cold prefill costs at each residency levelabsentinferred6 of 67
entropic_configure_dir on /dev/null subpath returns an error, not an exceptionabsentinferred6 of 68
entropic_configure_dir on a tmp dir runs the loader pathabsentinferred6 of 68
entropic_configure_dir rejects NULL handleabsentinferred6 of 68
entropic_configure_dir with empty string path returns an error code, not an exceptionabsentinferred6 of 68
gh#106 MTP routes through orchestrator->generate()absentinferred6 of 68
gh#108 (v2.10.0) a request-level grammar routes to MTP on an absentinferred6 of 68
gh#108 (v2.10.3) CONTROL: non-streaming generate on the same tierabsentinferred6 of 68
gh#108 (v2.10.3) CONTROL: plain-decode streaming on the same tierabsentinferred6 of 68
gh#108 (v2.10.3) MTP + grammar + streaming through absentinferred6 of 68
gh#108 (v2.10.3) MTP + streaming without a grammar still streamsabsentinferred6 of 68
gh#108 CPU-only feasibility: E2B-QAT-Q4 x MTP x flash+q4KV, absentinferred6 of 68
gh#108 MTP engages with tools staged through orchestrator (agent loop)absentinferred6 of 68
gh#108 MTP loud error propagates through orchestrator (no fallback)absentinferred6 of 68
gh#108 agentic benchmark: full 24-config permutation matrix absentinferred6 of 68
gh#108 per-tier speculative_mtp=false overrides the global flagabsentinferred6 of 68
gh#110: MTP engages through the real agent loop (entropic_run)absentinferred6 of 68
gh#134 (v2.10.4) A/B: the knob, not the model, produces the callabsentinferred6 of 68
gh#134 (v2.10.4) multi-turn: rails hold past the stall onsetabsentinferred6 of 68
gh#134 (v2.10.4) require_tool_call forces a tool call under MTPabsentinferred6 of 68
gh#137 a toolless enable_thinking:false turn must not deliver absentinferred6 of 68
gh#144: concurrent bridge clients queue instead of racingabsentinferred6 of 68
gh#163 entropic_configure_dir carries app_contextabsentinferred6 of 68
gh#163 the object and false spellings survive configure_dir tooabsentinferred6 of 68
gh#95: identity grammar: field constrains that tier's outputabsentinferred6 of 68
testRunStartingabsentinferred6 of 68
gh#158: interrupting one session leaves the other runningabsentinferred6 of 69
gh#158: metrics and context reads are safe during live runsabsentinferred6 of 69
gh#158: two concurrent sessions do not bleed into each otherabsentinferred6 of 69
gh#164: entropic_release_model frees VRAM through the C ABIabsentinferred6 of 69
gh#165 + gh#164: release the weights, keep the conversationabsentinferred6 of 69
gh#165: a dropped session restored from JSON keeps answeringabsentinferred6 of 69
gh#166: two workspaces on one handle do not read each other's absentinferred6 of 69
gh#169: an iteration-capped delegate hands its parent the audit it absentinferred6 of 69
gh#179: each workspace's sessions answer from its own app_context, absentinferred6 of 69
gh#181: a delegate hard-cut by the thinking budget hands its absentinferred6 of 69
gh#194: a plain generation publishes the prefill it performedabsentinferred6 of 69
gh#198: a deferred handle holds no GPU memory until it runsabsentinferred6 of 69
gh#204/gh#205: two HTTP clients, different session, workspace and absentinferred6 of 69
gh#214: a prompt that does not fit fails the turn, typedabsentinferred6 of 69
gh#216: multi-byte text at the history cut does not poison later turnsabsentinferred6 of 69
gh#217: release is refused while another session is decodingabsentinferred6 of 69
gh#93: autoparser family parses a multi-parameter tool callabsentinferred6 of 69
gh#93: entropic_interrupt stops a long run early (cancel-bridge)absentinferred6 of 69
gh#94: enable_thinking:false suppresses think blocks (facade)absentinferred6 of 69
gh#99: run_as emits each tier's grammar on a shared modelabsentinferred6 of 69
outside-root optional: a real model's reads outside its root absentinferred6 of 69
v2.14.1: a declared server serves each workspace from its own repositoryabsentinferred6 of 69
v2.14.3: release frees the model over MCP and the conversation survivesabsentinferred6 of 69
v2.14.4: a model's commit message with shell syntax is text, not a commandabsentinferred6 of 69
v2.14.5: a failed turn is an error carrying only its own textabsentinferred6 of 69