REQ-MCP-014: A locked tier’s allowed_tools list is enforced at dispatch time

← Requirements

What it requires

  1. Given a locked tier with an allowed_tools list not containing the called tool, When the call is processed, Then it is rejected before dispatch with a message naming tier and tool; Given no locked tier or no wired map, Then the call proceeds unchanged.
tier
NOT_RUN

Where it lives

  • src/facade1
  • src/mcp1

See it on the map

How it is met

implemented byresults (132 tests)check_tier_allowedwire_tool_executor132 absent132 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (132)

Reached through calls

132 tests: 132 absent

testresultlinked byimplementers exercisedcalls away
A call that fails identically is refused rather than retried absentinferred1 of 2: check_tier_allowed4
Anti-spiral hard block stops dispatch and emits absentinferred1 of 2: check_tier_allowed4
Anti-spiral hard block uses derived default when sentinel setabsentinferred1 of 2: check_tier_allowed4
Auto approve skips callbackabsentinferred1 of 2: check_tier_allowed4
Chained POST_TOOL_CALL hooks: last write winsabsentinferred1 of 2: check_tier_allowed4
Circuit breaker at threeabsentinferred1 of 2: check_tier_allowed4
Duplicate counter resetsabsentinferred1 of 2: check_tier_allowed4
Duplicate detection skipsabsentinferred1 of 2: check_tier_allowed4
Error result not cached for dedupabsentinferred1 of 2: check_tier_allowed4
Headless mode denies without callbackabsentinferred1 of 2: check_tier_allowed4
Max tool calls per turnabsentinferred1 of 2: check_tier_allowed4
Multiple tool calls in batchabsentinferred1 of 2: check_tier_allowed4
POST_TOOL_CALL fires on duplicate rejection with kindabsentinferred1 of 2: check_tier_allowed4
POST_TOOL_CALL fires on schema rejection with kindabsentinferred1 of 2: check_tier_allowed4
POST_TOOL_CALL hook transforms duplicate-rejection contentabsentinferred1 of 2: check_tier_allowed4
POST_TOOL_CALL hook transforms schema-rejection contentabsentinferred1 of 2: check_tier_allowed4
POST_TOOL_CALL hook transforms successful tool result contentabsentinferred1 of 2: check_tier_allowed4
POST_TOOL_CALL with *modified_json == NULL leaves content untouchedabsentinferred1 of 2: check_tier_allowed4
PRE/POST_TOOL_CALL fire for successful callsabsentinferred1 of 2: check_tier_allowed4
PRE_TOOL_CALL cancel short-circuits dispatch and still fires POSTabsentinferred1 of 2: check_tier_allowed4
Permission denied returns feedbackabsentinferred1 of 2: check_tier_allowed4
Process single tool callabsentinferred1 of 2: check_tier_allowed4
Schema validation rejects invalid enum valueabsentinferred1 of 2: check_tier_allowed4
Schema validation rejects missing required fieldabsentinferred1 of 2: check_tier_allowed4
Tool call history records successful executionsabsentinferred1 of 2: check_tier_allowed4
Tool emits directives → ToolExecutor extracts + dispatches themabsentinferred1 of 2: check_tier_allowed4
Tool executor processes calls via ServerManagerabsentinferred1 of 2: check_tier_allowed4
effective_max_tool_calls_per_turn overrides global limitabsentinferred1 of 2: check_tier_allowed4
gh#111: POST_TOOL_CALL hook returning malformed UTF-8 is absentinferred1 of 2: check_tier_allowed4
gh#143: an argument-free call serialises as an object absentinferred1 of 2: check_tier_allowed4
gh#143: an argument-free call to a no-required-fields tool absentinferred1 of 2: check_tier_allowed4
gh#143: dispatch converts a throwing tool into a tool errorabsentinferred1 of 2: check_tier_allowed4
gh#168: a rewritten payload carrying bad UTF-8 is sanitized, absentinferred1 of 2: check_tier_allowed4
gh#168: the rewrite is visible to the dup cache and POST hookabsentinferred1 of 2: check_tier_allowed4
gh#190: a structured JSON error counts as a failure everywhereabsentinferred1 of 2: check_tier_allowed4
gh#211: a tier that declares an EMPTY allowlist may call nothingabsentinferred1 of 2: check_tier_allowed4
gh#83: allowlisted tool dispatches normallyabsentinferred1 of 2: check_tier_allowed4
gh#83: empty locked_tier bypasses enforcementabsentinferred1 of 2: check_tier_allowed4
gh#83: no map wired = pass-through (pre-v2.5.2 behavior)absentinferred1 of 2: check_tier_allowed4
gh#83: off-allowlist tool is rejected_unauthorized at dispatchabsentinferred1 of 2: check_tier_allowed4
gh#83: tier with no allowlist entry is unrestrictedabsentinferred1 of 2: check_tier_allowed4
mcp.bash.timeout_seconds reaches the dispatched bash serverabsentinferred1 of 2: check_tier_allowed4
process_single_call completes with locked_tier setabsentinferred1 of 2: check_tier_allowed4
v2.14.0: schema validation enforces declared minimum and maximumabsentinferred1 of 2: check_tier_allowed4
v2.14.6: a headless host still dispatches engine directivesabsentinferred1 of 2: check_tier_allowed4
Configure with null JSON returns errorabsentinferred1 of 2: wire_tool_executor5
Double-configure on one handle is refusedabsentinferred1 of 2: wire_tool_executor5
Nemotron3-Nano-4B Q8 first inference does not crash (gh#66)absentinferred1 of 2: wire_tool_executor5
Three handles can coexistabsentinferred1 of 2: wire_tool_executor5
Two GPU-resident handles can coexist (v2.2.8 target)absentinferred1 of 2: wire_tool_executor5
Two handles configure independentlyabsentinferred1 of 2: wire_tool_executor5
entropic_configure called twice on the same handle returns ALREADY_CONFIGUREDabsentinferred1 of 2: wire_tool_executor5
entropic_configure rejects NULL config_jsonabsentinferred1 of 2: wire_tool_executor5
entropic_configure rejects NULL handleabsentinferred1 of 2: wire_tool_executor5
entropic_configure_dir on /dev/null subpath returns an error, not an exceptionabsentinferred1 of 2: wire_tool_executor5
entropic_configure_dir on a tmp dir runs the loader pathabsentinferred1 of 2: wire_tool_executor5
entropic_configure_dir rejects NULL handleabsentinferred1 of 2: wire_tool_executor5
entropic_configure_dir with empty string path returns an error code, not an exceptionabsentinferred1 of 2: wire_tool_executor5
entropic_configure_from_file rejects NULL handleabsentinferred1 of 2: wire_tool_executor5
entropic_configure_from_file rejects NULL pathabsentinferred1 of 2: wire_tool_executor5
entropic_configure_from_file rejects missing fileabsentinferred1 of 2: wire_tool_executor5
entropic_last_error reflects most-recent operation failureabsentinferred1 of 2: wire_tool_executor5
entropic_last_error returns per-handle state (v2.2.6)absentinferred1 of 2: wire_tool_executor5
entropic_register_mcp_server on a configured handle absentinferred1 of 2: wire_tool_executor5
entropic_run_messages with console logging disabled still absentinferred1 of 2: wire_tool_executor5
entropic_seconds_since_last_activity returns 0 before any run absentinferred1 of 2: wire_tool_executor5
gh#110: MTP engages through the real agent loop (entropic_run)absentinferred1 of 2: wire_tool_executor5
gh#121 regression: configure populates engine's allowed_tools from identity frontmatterabsentinferred1 of 2: wire_tool_executor5
gh#144: concurrent bridge clients queue instead of racingabsentinferred1 of 2: wire_tool_executor5
gh#154 a tier grammar stem that cannot resolve YET still absentinferred1 of 2: wire_tool_executor5
gh#154 a tier grammar stem that resolves still configuresabsentinferred1 of 2: wire_tool_executor5
gh#154 a tier with no grammar is unaffectedabsentinferred1 of 2: wire_tool_executor5
gh#154 entropic_metrics_json carries a generations arrayabsentinferred1 of 2: wire_tool_executor5
gh#156 a frontmatter-less app_context fails configure absentinferred1 of 2: wire_tool_executor5
gh#156 a frontmatter-less constitution fails configure tooabsentinferred1 of 2: wire_tool_executor5
gh#156 a missing app_context path fails configureabsentinferred1 of 2: wire_tool_executor5
gh#156 a well-formed app_context file still configuresabsentinferred1 of 2: wire_tool_executor5
gh#156 app_context false still configuresabsentinferred1 of 2: wire_tool_executor5
gh#156 inline app_context content still configuresabsentinferred1 of 2: wire_tool_executor5
gh#158 entropic_interrupt_session targets exactly one runabsentinferred1 of 2: wire_tool_executor5
gh#158: a delegated child's read satisfies its parent's write — absentinferred1 of 2: check_tier_allowed5
gh#158: a session's tool call never resolves inside another absentinferred1 of 2: check_tier_allowed5
gh#158: repeated sandbox swaps race nothing a concurrent absentinferred1 of 2: check_tier_allowed5
gh#158: two sessions reading and writing through ONE filesystem absentinferred1 of 2: check_tier_allowed5
gh#158: two sessions writing todos through ONE entropic server absentinferred1 of 2: check_tier_allowed5
gh#163 entropic_configure carries app_context into ParsedConfigabsentinferred1 of 2: wire_tool_executor5
gh#163 entropic_configure_dir carries app_contextabsentinferred1 of 2: wire_tool_executor5
gh#163 entropic_configure_from_file carries app_contextabsentinferred1 of 2: wire_tool_executor5
gh#163 the object and false spellings survive configure_dir tooabsentinferred1 of 2: wire_tool_executor5
gh#164 entropic_release_model names an unknown tierabsentinferred1 of 2: wire_tool_executor5
gh#164 entropic_release_model refuses to unload mid-turnabsentinferred1 of 2: wire_tool_executor5
gh#165 entropic_session_context_set guards its preconditionsabsentinferred1 of 2: wire_tool_executor5
gh#165 entropic_session_context_set refuses the running sessionabsentinferred1 of 2: wire_tool_executor5
gh#165 entropic_session_context_set round-trips through the C ABIabsentinferred1 of 2: wire_tool_executor5
gh#168: a PRE_TOOL_CALL hook's modified args reach the toolabsentinferred1 of 2: check_tier_allowed5
gh#168: a malformed modification is refused, not half-appliedabsentinferred1 of 2: check_tier_allowed5
gh#168: a modification that renames the tool is refusedabsentinferred1 of 2: check_tier_allowed5
gh#168: a non-zero return still cancels, modification or notabsentinferred1 of 2: check_tier_allowed5
gh#175: a non-positive mcp.server_timeout_seconds is refused at configureabsentinferred1 of 2: wire_tool_executor5
gh#203: followup returns delegation_id and summary from real storageabsentinferred1 of 2: wire_tool_executor5
gh#204: an unservable http_port fails configure loudlyabsentinferred1 of 2: wire_tool_executor5
gh#95: identity grammar: field constrains that tier's outputabsentinferred1 of 2: wire_tool_executor5
h1.run() after h2.configure() does not segfault (v2.2.6)absentinferred1 of 2: wire_tool_executor5
gh#158: clearing the default conversation releases the default absentinferred1 of 2: check_tier_allowed6
gh#158: each session's todo list is its ownabsentinferred1 of 2: check_tier_allowed6
gh#158: ending a session's conversation releases its read absentinferred1 of 2: check_tier_allowed6
gh#158: interrupting one session leaves the other runningabsentinferred1 of 2: wire_tool_executor6
gh#158: metrics and context reads are safe during live runsabsentinferred1 of 2: wire_tool_executor6
gh#158: read-before-write is judged per session — another absentinferred1 of 2: check_tier_allowed6
gh#158: two concurrent sessions do not bleed into each otherabsentinferred1 of 2: wire_tool_executor6
gh#164: entropic_release_model frees VRAM through the C ABIabsentinferred1 of 2: wire_tool_executor6
gh#165 + gh#164: release the weights, keep the conversationabsentinferred1 of 2: wire_tool_executor6
gh#165: a dropped session restored from JSON keeps answeringabsentinferred1 of 2: wire_tool_executor6
gh#166: two workspaces on one handle do not read each other's absentinferred1 of 2: wire_tool_executor6
gh#169: an iteration-capped delegate hands its parent the audit it absentinferred1 of 2: wire_tool_executor6
gh#179: each workspace's sessions answer from its own app_context, absentinferred1 of 2: wire_tool_executor6
gh#181: a delegate hard-cut by the thinking budget hands its absentinferred1 of 2: wire_tool_executor6
gh#194: a plain generation publishes the prefill it performedabsentinferred1 of 2: wire_tool_executor6
gh#198: a deferred handle holds no GPU memory until it runsabsentinferred1 of 2: wire_tool_executor6
gh#204/gh#205: two HTTP clients, different session, workspace and absentinferred1 of 2: wire_tool_executor6
gh#214: a prompt that does not fit fails the turn, typedabsentinferred1 of 2: wire_tool_executor6
gh#216: multi-byte text at the history cut does not poison later turnsabsentinferred1 of 2: wire_tool_executor6
gh#217: release is refused while another session is decodingabsentinferred1 of 2: wire_tool_executor6
gh#93: autoparser family parses a multi-parameter tool callabsentinferred1 of 2: wire_tool_executor6
gh#93: entropic_interrupt stops a long run early (cancel-bridge)absentinferred1 of 2: wire_tool_executor6
gh#94: enable_thinking:false suppresses think blocks (facade)absentinferred1 of 2: wire_tool_executor6
gh#99: run_as emits each tier's grammar on a shared modelabsentinferred1 of 2: wire_tool_executor6
outside-root optional: a real model's reads outside its root absentinferred1 of 2: wire_tool_executor6
v2.14.1: a declared server serves each workspace from its own repositoryabsentinferred1 of 2: wire_tool_executor6
v2.14.3: release frees the model over MCP and the conversation survivesabsentinferred1 of 2: wire_tool_executor6
v2.14.4: a model's commit message with shell syntax is text, not a commandabsentinferred1 of 2: wire_tool_executor6
v2.14.5: a failed turn is an error carrying only its own textabsentinferred1 of 2: wire_tool_executor6