REQ-API-013: Identity frontmatter threaded into config before the orchestrator snapshot

← Requirements

What it requires

  1. GIVEN a tier identity whose frontmatter sets a sampler knob or a grammar key WHEN the handle is configured THEN the orchestrator's frozen per-tier config carries that value, and generation for that tier runs under it — not under the GenerationParams default.
  2. Grammar resolution precedence holds: an explicit grammar_key beats frontmatter, a raw grammar string beats a grammar_key, an unknown key leaves generation unconstrained, and a frontmatter grammar name is accepted with or without the .gbnf extension.
tier
NOT_RUN

Where it lives

  • src/facade6

See it on the map

How it is met

implemented byresults (86 tests)apply_identity_frontmattercache_tier_allowed_toolsinit_orchestratorthread_frontmatter_samplerthread_frontmatter_samplerswire_tool_executor86 absent86 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (86)

Reached through calls

86 tests: 86 absent

testresultlinked byimplementers exercisedcalls away
gh#106 MTP routes through orchestrator->generate()absentinferred1 of 6: init_orchestrator1
gh#108 (v2.10.0) a request-level grammar routes to MTP on an absentinferred1 of 6: init_orchestrator1
gh#108 (v2.10.3) CONTROL: non-streaming generate on the same tierabsentinferred1 of 6: init_orchestrator1
gh#108 (v2.10.3) CONTROL: plain-decode streaming on the same tierabsentinferred1 of 6: init_orchestrator1
gh#108 (v2.10.3) MTP + grammar + streaming through absentinferred1 of 6: init_orchestrator1
gh#108 (v2.10.3) MTP + streaming without a grammar still streamsabsentinferred1 of 6: init_orchestrator1
gh#108 MTP engages with tools staged through orchestrator (agent loop)absentinferred1 of 6: init_orchestrator1
gh#108 MTP loud error propagates through orchestrator (no fallback)absentinferred1 of 6: init_orchestrator1
gh#108 per-tier speculative_mtp=false overrides the global flagabsentinferred1 of 6: init_orchestrator1
gh#134 (v2.10.4) require_tool_call forces a tool call under MTPabsentinferred1 of 6: init_orchestrator1
gh#137 a toolless enable_thinking:false turn must not deliver absentinferred1 of 6: init_orchestrator1
testRunStartingabsentinferred1 of 6: init_orchestrator2
Configure with null JSON returns errorabsentinferred6 of 64
Double-configure on one handle is refusedabsentinferred6 of 64
Nemotron3-Nano-4B Q8 first inference does not crash (gh#66)absentinferred6 of 64
Three handles can coexistabsentinferred6 of 64
Two GPU-resident handles can coexist (v2.2.8 target)absentinferred6 of 64
Two handles configure independentlyabsentinferred6 of 64
entropic_configure called twice on the same handle returns ALREADY_CONFIGUREDabsentinferred6 of 64
entropic_configure rejects NULL config_jsonabsentinferred6 of 64
entropic_configure rejects NULL handleabsentinferred6 of 64
entropic_configure_dir on /dev/null subpath returns an error, not an exceptionabsentinferred6 of 64
entropic_configure_dir on a tmp dir runs the loader pathabsentinferred6 of 64
entropic_configure_dir rejects NULL handleabsentinferred6 of 64
entropic_configure_dir with empty string path returns an error code, not an exceptionabsentinferred6 of 64
entropic_configure_from_file rejects NULL handleabsentinferred6 of 64
entropic_configure_from_file rejects NULL pathabsentinferred6 of 64
entropic_configure_from_file rejects missing fileabsentinferred6 of 64
entropic_last_error reflects most-recent operation failureabsentinferred6 of 64
entropic_last_error returns per-handle state (v2.2.6)absentinferred6 of 64
entropic_register_mcp_server on a configured handle absentinferred6 of 64
entropic_run_messages with console logging disabled still absentinferred6 of 64
entropic_seconds_since_last_activity returns 0 before any run absentinferred6 of 64
gh#110: MTP engages through the real agent loop (entropic_run)absentinferred6 of 64
gh#121 regression: configure populates engine's allowed_tools from identity frontmatterabsentinferred6 of 64
gh#144: concurrent bridge clients queue instead of racingabsentinferred6 of 64
gh#154 a tier grammar stem that cannot resolve YET still absentinferred6 of 64
gh#154 a tier grammar stem that resolves still configuresabsentinferred6 of 64
gh#154 a tier with no grammar is unaffectedabsentinferred6 of 64
gh#154 entropic_metrics_json carries a generations arrayabsentinferred6 of 64
gh#156 a frontmatter-less app_context fails configure absentinferred6 of 64
gh#156 a frontmatter-less constitution fails configure tooabsentinferred6 of 64
gh#156 a missing app_context path fails configureabsentinferred6 of 64
gh#156 a well-formed app_context file still configuresabsentinferred6 of 64
gh#156 app_context false still configuresabsentinferred6 of 64
gh#156 inline app_context content still configuresabsentinferred6 of 64
gh#158 entropic_interrupt_session targets exactly one runabsentinferred6 of 64
gh#163 entropic_configure carries app_context into ParsedConfigabsentinferred6 of 64
gh#163 entropic_configure_dir carries app_contextabsentinferred6 of 64
gh#163 entropic_configure_from_file carries app_contextabsentinferred6 of 64
gh#163 the object and false spellings survive configure_dir tooabsentinferred6 of 64
gh#164 entropic_release_model names an unknown tierabsentinferred6 of 64
gh#164 entropic_release_model refuses to unload mid-turnabsentinferred6 of 64
gh#165 entropic_session_context_set guards its preconditionsabsentinferred6 of 64
gh#165 entropic_session_context_set refuses the running sessionabsentinferred6 of 64
gh#165 entropic_session_context_set round-trips through the C ABIabsentinferred6 of 64
gh#175: a non-positive mcp.server_timeout_seconds is refused at configureabsentinferred6 of 64
gh#203: followup returns delegation_id and summary from real storageabsentinferred6 of 64
gh#204: an unservable http_port fails configure loudlyabsentinferred6 of 64
gh#95: identity grammar: field constrains that tier's outputabsentinferred6 of 64
h1.run() after h2.configure() does not segfault (v2.2.6)absentinferred6 of 64
gh#158: interrupting one session leaves the other runningabsentinferred6 of 65
gh#158: metrics and context reads are safe during live runsabsentinferred6 of 65
gh#158: two concurrent sessions do not bleed into each otherabsentinferred6 of 65
gh#164: entropic_release_model frees VRAM through the C ABIabsentinferred6 of 65
gh#165 + gh#164: release the weights, keep the conversationabsentinferred6 of 65
gh#165: a dropped session restored from JSON keeps answeringabsentinferred6 of 65
gh#166: two workspaces on one handle do not read each other's absentinferred6 of 65
gh#169: an iteration-capped delegate hands its parent the audit it absentinferred6 of 65
gh#179: each workspace's sessions answer from its own app_context, absentinferred6 of 65
gh#181: a delegate hard-cut by the thinking budget hands its absentinferred6 of 65
gh#194: a plain generation publishes the prefill it performedabsentinferred6 of 65
gh#198: a deferred handle holds no GPU memory until it runsabsentinferred6 of 65
gh#204/gh#205: two HTTP clients, different session, workspace and absentinferred6 of 65
gh#214: a prompt that does not fit fails the turn, typedabsentinferred6 of 65
gh#216: multi-byte text at the history cut does not poison later turnsabsentinferred6 of 65
gh#217: release is refused while another session is decodingabsentinferred6 of 65
gh#93: autoparser family parses a multi-parameter tool callabsentinferred6 of 65
gh#93: entropic_interrupt stops a long run early (cancel-bridge)absentinferred6 of 65
gh#94: enable_thinking:false suppresses think blocks (facade)absentinferred6 of 65
gh#99: run_as emits each tier's grammar on a shared modelabsentinferred6 of 65
outside-root optional: a real model's reads outside its root absentinferred6 of 65
v2.14.1: a declared server serves each workspace from its own repositoryabsentinferred6 of 65
v2.14.3: release frees the model over MCP and the conversation survivesabsentinferred6 of 65
v2.14.4: a model's commit message with shell syntax is text, not a commandabsentinferred6 of 65
v2.14.5: a failed turn is an error carrying only its own textabsentinferred6 of 65