REQ-MCP-004: Plugin C ABI is pure C, version-locked, and exported under hidden visibility

← Requirements

What it requires

  1. Given the fixture plugin built the way a third-party plugin would be built, When its .so is inspected/dlopened, Then all nine entry points resolve and the reported API version equals ENTROPIC_MCP_PLUGIN_API_VERSION.
  2. A string returned by the plugin is released through the plugin's own entropic_free, never the engine's allocator.
tier
NOT_RUN

Where it lives

  • src/mcp8

See it on the map

How it is met

implemented byresults (232 tests)create_instanceloadresolve_and_check_versionresolve_and_initresolve_factory_symbolsresolve_instance_symbolsresolve_symbolstake_string232 absent232 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (232)

Reached through calls

232 tests: 232 absent

testresultlinked byimplementers exercisedcalls away
gh#166: two workspaces on one handle do not read each other's absentinferred7 of 84
gh#166: two workspaces resolve one relative path to two rootsabsentinferred7 of 84
gh#179: a workspace's app_context replaces the handle's for its sessions onlyabsentinferred7 of 84
gh#179: each workspace's sessions answer from its own app_context, absentinferred7 of 84
gh#179: workspace_app_context loads a repository's own file, opt-inabsentinferred7 of 84
gh#199: a workspace does not spawn what its root's .mcp.json declaresabsentinferred7 of 84
gh#211: unset workspace_roots keeps today's behaviour; a relative absentinferred7 of 84
gh#211: workspace_roots admits only directories inside itabsentinferred7 of 84
v2.14.0: the pre-connect hook decides what config left openabsentinferred7 of 84
v2.14.1: a declared server serves each workspace from its own repositoryabsentinferred7 of 84
v2.14.1: each workspace launches the declared servers, rooted at absentinferred7 of 84
Configure with null JSON returns errorabsentinferred7 of 87
Double-configure on one handle is refusedabsentinferred7 of 87
Nemotron3-Nano-4B Q8 first inference does not crash (gh#66)absentinferred7 of 87
Three handles can coexistabsentinferred7 of 87
Two GPU-resident handles can coexist (v2.2.8 target)absentinferred7 of 87
Two handles configure independentlyabsentinferred7 of 87
entropic_configure called twice on the same handle returns ALREADY_CONFIGUREDabsentinferred7 of 87
entropic_configure rejects NULL config_jsonabsentinferred7 of 87
entropic_configure rejects NULL handleabsentinferred7 of 87
entropic_configure_dir on /dev/null subpath returns an error, not an exceptionabsentinferred7 of 87
entropic_configure_dir on a tmp dir runs the loader pathabsentinferred7 of 87
entropic_configure_dir rejects NULL handleabsentinferred7 of 87
entropic_configure_dir with empty string path returns an error code, not an exceptionabsentinferred7 of 87
entropic_configure_from_file rejects NULL handleabsentinferred7 of 87
entropic_configure_from_file rejects NULL pathabsentinferred7 of 87
entropic_configure_from_file rejects missing fileabsentinferred7 of 87
entropic_last_error reflects most-recent operation failureabsentinferred7 of 87
entropic_last_error returns per-handle state (v2.2.6)absentinferred7 of 87
entropic_register_mcp_server on a configured handle absentinferred7 of 87
entropic_run_messages with console logging disabled still absentinferred7 of 87
entropic_seconds_since_last_activity returns 0 before any run absentinferred7 of 87
gh#110: MTP engages through the real agent loop (entropic_run)absentinferred7 of 87
gh#121 regression: configure populates engine's allowed_tools from identity frontmatterabsentinferred7 of 87
gh#144: concurrent bridge clients queue instead of racingabsentinferred7 of 87
gh#154 a tier grammar stem that cannot resolve YET still absentinferred7 of 87
gh#154 a tier grammar stem that resolves still configuresabsentinferred7 of 87
gh#154 a tier with no grammar is unaffectedabsentinferred7 of 87
gh#154 entropic_metrics_json carries a generations arrayabsentinferred7 of 87
gh#156 a frontmatter-less app_context fails configure absentinferred7 of 87
gh#156 a frontmatter-less constitution fails configure tooabsentinferred7 of 87
gh#156 a missing app_context path fails configureabsentinferred7 of 87
gh#156 a well-formed app_context file still configuresabsentinferred7 of 87
gh#156 app_context false still configuresabsentinferred7 of 87
gh#156 inline app_context content still configuresabsentinferred7 of 87
gh#158 entropic_interrupt_session targets exactly one runabsentinferred7 of 87
gh#163 entropic_configure carries app_context into ParsedConfigabsentinferred7 of 87
gh#163 entropic_configure_dir carries app_contextabsentinferred7 of 87
gh#163 entropic_configure_from_file carries app_contextabsentinferred7 of 87
gh#163 the object and false spellings survive configure_dir tooabsentinferred7 of 87
gh#164 entropic_release_model names an unknown tierabsentinferred7 of 87
gh#164 entropic_release_model refuses to unload mid-turnabsentinferred7 of 87
gh#165 entropic_session_context_set guards its preconditionsabsentinferred7 of 87
gh#165 entropic_session_context_set refuses the running sessionabsentinferred7 of 87
gh#165 entropic_session_context_set round-trips through the C ABIabsentinferred7 of 87
gh#175: a non-positive mcp.server_timeout_seconds is refused at configureabsentinferred7 of 87
gh#203: followup returns delegation_id and summary from real storageabsentinferred7 of 87
gh#204: an unservable http_port fails configure loudlyabsentinferred7 of 87
gh#95: identity grammar: field constrains that tier's outputabsentinferred7 of 87
h1.run() after h2.configure() does not segfault (v2.2.6)absentinferred7 of 87
gh#158: interrupting one session leaves the other runningabsentinferred7 of 88
gh#158: metrics and context reads are safe during live runsabsentinferred7 of 88
gh#158: two concurrent sessions do not bleed into each otherabsentinferred7 of 88
gh#164: entropic_release_model frees VRAM through the C ABIabsentinferred7 of 88
gh#165 + gh#164: release the weights, keep the conversationabsentinferred7 of 88
gh#165: a dropped session restored from JSON keeps answeringabsentinferred7 of 88
gh#169: an iteration-capped delegate hands its parent the audit it absentinferred7 of 88
gh#181: a delegate hard-cut by the thinking budget hands its absentinferred7 of 88
gh#194: a plain generation publishes the prefill it performedabsentinferred7 of 88
gh#198: a deferred handle holds no GPU memory until it runsabsentinferred7 of 88
gh#204/gh#205: two HTTP clients, different session, workspace and absentinferred7 of 88
gh#214: a prompt that does not fit fails the turn, typedabsentinferred7 of 88
gh#216: multi-byte text at the history cut does not poison later turnsabsentinferred7 of 88
gh#217: release is refused while another session is decodingabsentinferred7 of 88
gh#93: autoparser family parses a multi-parameter tool callabsentinferred7 of 88
gh#93: entropic_interrupt stops a long run early (cancel-bridge)absentinferred7 of 88
gh#94: enable_thinking:false suppresses think blocks (facade)absentinferred7 of 88
gh#99: run_as emits each tier's grammar on a shared modelabsentinferred7 of 88
outside-root optional: a real model's reads outside its root absentinferred7 of 88
v2.14.3: release frees the model over MCP and the conversation survivesabsentinferred7 of 88
v2.14.4: a model's commit message with shell syntax is text, not a commandabsentinferred7 of 88
v2.14.5: a failed turn is an error carrying only its own textabsentinferred7 of 88
gh#144: the ask tool advertises session as OPTIONALabsentinferred7 of 89
gh#205: ask advertises tier and workspace, both OPTIONALabsentinferred7 of 89
A call that fails identically is refused rather than retried absentinferred7 of 810
Anti-spiral hard block stops dispatch and emits absentinferred7 of 810
Anti-spiral hard block uses derived default when sentinel setabsentinferred7 of 810
Error result not cached for dedupabsentinferred7 of 810
POST_TOOL_CALL fires on schema rejection with kindabsentinferred7 of 810
POST_TOOL_CALL hook transforms schema-rejection contentabsentinferred7 of 810
Permission denied returns feedbackabsentinferred7 of 810
Schema validation rejects invalid enum valueabsentinferred7 of 810
Schema validation rejects missing required fieldabsentinferred7 of 810
Tool executor processes calls via ServerManagerabsentinferred7 of 810
gh#143: an argument-free call to a no-required-fields tool absentinferred7 of 810
gh#190: a structured JSON error counts as a failure everywhereabsentinferred7 of 810
mcp.bash.timeout_seconds reaches the dispatched bash serverabsentinferred7 of 810
v2.14.0: schema validation enforces declared minimum and maximumabsentinferred7 of 810
v2.14.6: a headless host still dispatches engine directivesabsentinferred7 of 810
v2.14.6: the model's own tool call stays in the history it is shownabsentinferred7 of 810
Auto approve skips callbackabsentinferred7 of 811
Chained POST_TOOL_CALL hooks: last write winsabsentinferred7 of 811
Circuit breaker at threeabsentinferred7 of 811
Duplicate counter resetsabsentinferred7 of 811
Duplicate detection skipsabsentinferred7 of 811
Headless mode denies without callbackabsentinferred7 of 811
Max tool calls per turnabsentinferred7 of 811
Multiple tool calls in batchabsentinferred7 of 811
POST_TOOL_CALL fires on duplicate rejection with kindabsentinferred7 of 811
POST_TOOL_CALL hook transforms duplicate-rejection contentabsentinferred7 of 811
POST_TOOL_CALL hook transforms successful tool result contentabsentinferred7 of 811
POST_TOOL_CALL with *modified_json == NULL leaves content untouchedabsentinferred7 of 811
PRE/POST_TOOL_CALL fire for successful callsabsentinferred7 of 811
PRE_TOOL_CALL cancel short-circuits dispatch and still fires POSTabsentinferred7 of 811
Process single tool callabsentinferred7 of 811
Tool call history records successful executionsabsentinferred7 of 811
Tool emits directives → ToolExecutor extracts + dispatches themabsentinferred7 of 811
effective_max_tool_calls_per_turn overrides global limitabsentinferred7 of 811
gh#111: POST_TOOL_CALL hook returning malformed UTF-8 is absentinferred7 of 811
gh#143: an argument-free call serialises as an object absentinferred7 of 811
gh#143: dispatch converts a throwing tool into a tool errorabsentinferred7 of 811
gh#158: a delegated child's read satisfies its parent's write — absentinferred7 of 811
gh#158: clearing the default conversation releases the default absentinferred7 of 811
gh#158: each session's todo list is its ownabsentinferred7 of 811
gh#158: ending a session's conversation releases its read absentinferred7 of 811
gh#158: read-before-write is judged per session — another absentinferred7 of 811
gh#158: two sessions reading and writing through ONE filesystem absentinferred7 of 811
gh#168: a rewritten payload carrying bad UTF-8 is sanitized, absentinferred7 of 811
gh#168: the rewrite is visible to the dup cache and POST hookabsentinferred7 of 811
gh#211: a tier that declares an EMPTY allowlist may call nothingabsentinferred7 of 811
gh#83: allowlisted tool dispatches normallyabsentinferred7 of 811
gh#83: empty locked_tier bypasses enforcementabsentinferred7 of 811
gh#83: no map wired = pass-through (pre-v2.5.2 behavior)absentinferred7 of 811
gh#83: off-allowlist tool is rejected_unauthorized at dispatchabsentinferred7 of 811
gh#83: tier with no allowlist entry is unrestrictedabsentinferred7 of 811
process_single_call completes with locked_tier setabsentinferred7 of 811
ExternalBridge start() declines duplicate in-process socket bindingabsentinferred7 of 812
gh#158: a session's tool call never resolves inside another absentinferred7 of 812
gh#158: repeated sandbox swaps race nothing a concurrent absentinferred7 of 812
gh#158: two sessions writing todos through ONE entropic server absentinferred7 of 812
gh#168: a PRE_TOOL_CALL hook's modified args reach the toolabsentinferred7 of 812
gh#168: a malformed modification is refused, not half-appliedabsentinferred7 of 812
gh#168: a modification that renames the tool is refusedabsentinferred7 of 812
gh#168: a non-zero return still cancels, modification or notabsentinferred7 of 812
gh#204: a listener stopped the instant it started still stopsabsentinferred7 of 812
gh#204: the HTTP listener serves the bridge to authenticated clients onlyabsentinferred7 of 812
gh#220: a port another listener holds is refused, not sharedabsentinferred7 of 812
LlamaCppBackend lifecycle on a small real model (one load)absentinferred7 of 813
gh#87 diag: multi-parameter tool call — gemma4 (dedicated PEG)absentinferred7 of 813
gh#87 Increment-2: backend render_with_tools → parse_response absentinferred7 of 814
ModelOrchestrator real-model generate (one load, CPU)absentinferred7 of 815
Orchestrator generate() returns typed error when tier missingabsentinferred7 of 815
Orchestrator generate_streaming error + routing + fallback pathsabsentinferred7 of 815
gh#106 MTP kernel: engaged + lossless-coherentabsentinferred7 of 815
gh#108 (v2.10.3) CONTROL: plain-decode streaming on the same tierabsentinferred7 of 815
gh#108 (v2.10.3) MTP + grammar + streaming through absentinferred7 of 815
gh#108 (v2.10.3) MTP + streaming without a grammar still streamsabsentinferred7 of 815
gh#108 MTP + flash + q4 KV succeeds on E4B QAT Q4 absentinferred7 of 815
gh#108 MTP + flash attention succeeds (v2.9.3, upstream #25148)absentinferred7 of 815
gh#108 MTP greedy holds across a multi-turn contextabsentinferred7 of 815
gh#108 MTP guards: out-of-envelope requests fail loudabsentinferred7 of 815
gh#108 MTP is lossless at temperature>0 (empirical distribution check)absentinferred7 of 815
gh#122: fenced-json block in model output yields a tool callabsentinferred7 of 815
gh#127: ambiguous fenced args object returns empty (no false positive)absentinferred7 of 815
gh#127: fenced args-only object matched by registered tool schemaabsentinferred7 of 815
gh#134 (v2.10.4) A/B: the knob, not the model, produces the callabsentinferred7 of 815
gh#134 (v2.10.4) closest replication of the reported stall configabsentinferred7 of 815
gh#134 (v2.10.4) multi-turn: rails hold past the stall onsetabsentinferred7 of 815
gh#134 (v2.10.4) require_tool_call forces a tool call under MTPabsentinferred7 of 815
gh#144: MTP prefill must not re-decode an unchanged prefixabsentinferred7 of 815
gh#154 a tier grammar that is not registered refuses the runabsentinferred7 of 815
gh#88: a parroted {action:...} emission dispatches via the gemma absentinferred7 of 815
interface_factory: wiring + iface_* surface sweepabsentinferred7 of 815
Compaction fires when context exceeds thresholdabsentinferred7 of 816
Consecutive same-tier generations do not leak content across absentinferred7 of 816
Constitutional validator detects violations and revisesabsentinferred7 of 816
Conversation with model output survives save and loadabsentinferred7 of 816
Delegation wiring fires on_delegation_start callbackabsentinferred7 of 816
Dynamic identity creation and generation through engine loopabsentinferred7 of 816
Engine produces coherent text from a simple promptabsentinferred7 of 816
Engine state transitions include PLANNING and EXECUTINGabsentinferred7 of 816
GBNF grammar constrains output to valid JSONabsentinferred7 of 816
Gemma 4 A4B GGUF loads and generates first tokenabsentinferred7 of 816
Gemma 4 E4B GGUF loads and generates first tokenabsentinferred7 of 816
Generation succeeds with non-default GPU profileabsentinferred7 of 816
Hooks fire in correct order during a generation cycleabsentinferred7 of 816
Lead delegates to child and receives resultabsentinferred7 of 816
LoRA adapter load failure is handled gracefullyabsentinferred7 of 816
MCP authorization denial propagates through engineabsentinferred7 of 816
Model output is correctly parsed into tool callsabsentinferred7 of 816
Multi-turn context is retained across generationsabsentinferred7 of 816
Multi-turn engine calls retain contextabsentinferred7 of 816
Nemotron 3 family GGUF loads and generates first tokenabsentinferred7 of 816
Qwen 3.5 family GGUF loads and generates first tokenabsentinferred7 of 816
Recall-style prompts do not surface prior-generation contentabsentinferred7 of 816
Routing fires on_tier_selected callbackabsentinferred7 of 816
Single-turn engine loop produces coherent responseabsentinferred7 of 816
Text-only model handles multimodal input gracefullyabsentinferred7 of 816
Tool call cycle: generate, parse, execute, regenerateabsentinferred7 of 816
True end-to-end: real prompts, real engine, real modelabsentinferred7 of 816
gh#103 contrast: batch mode may generate past the tool callabsentinferred7 of 816
gh#103 gemma severe case: sequential mode stops at <tool_call|> AND absentinferred7 of 816
gh#103: sequential tool_call_mode hard-stops at the first tool call absentinferred7 of 816
gh#105: constitutional validator's toolless render must NOT clobber absentinferred7 of 816
gh#106 MTP functions on the E4B QAT trunkabsentinferred7 of 816
gh#106 MTP routes through orchestrator->generate()absentinferred7 of 816
gh#108 (v2.10.0) a request-level grammar routes to MTP on an absentinferred7 of 816
gh#108 (v2.10.3) CONTROL: non-streaming generate on the same tierabsentinferred7 of 816
gh#108 MTP engages with tools staged through orchestrator (agent loop)absentinferred7 of 816
gh#108 MTP loud error propagates through orchestrator (no fallback)absentinferred7 of 816
gh#108 per-tier speculative_mtp=false overrides the global flagabsentinferred7 of 816
gh#137 a toolless enable_thinking:false turn must not deliver absentinferred7 of 816
gh#148 auto: a VRAM reserve forces a real partial offload that absentinferred7 of 816
gh#154 a REQUEST-level grammar_key miss still fails openabsentinferred7 of 816
gh#154 registering the tier's grammar after configure opens the absentinferred7 of 816
gh#160: an isolated delegation never writes the project, and absentinferred7 of 816
gh#162: a delegate seeded with context answers from the named absentinferred7 of 816
gh#87 cutover: params.tools drives common_chat through the orchestratorabsentinferred7 of 816
gh#88: a gemma multi-turn session never accumulates a parrotable absentinferred7 of 816
gh#90: gemma <|\"|> escape on a numeric value keeps string typingabsentinferred7 of 816
v2.14.6: a lead that answers in prose is nudged, and its forced absentinferred7 of 816
v2.14.6: a real image runs through E4B QAT and its projectorabsentinferred7 of 816
v2.14.6: with thinking on, each loop turn ends in a real tool callabsentinferred7 of 816
gh#108 CPU-only feasibility: E2B-QAT-Q4 x MTP x flash+q4KV, absentinferred7 of 818
gh#108 agentic benchmark: full 24-config permutation matrix absentinferred7 of 818
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 26B-A4B absentinferred7 of 818
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 E4B absentinferred7 of 818
gh#164: release then reload decodes correctly on a hybrid archabsentinferred7 of 818
gh#164: release then reload decodes correctly on gemma4 (plain KV)absentinferred7 of 818
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 131072 contextabsentinferred7 of 818
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 32768 contextabsentinferred7 of 818
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 65536 contextabsentinferred7 of 818