REQ-ABI-001: Pure C at every .so boundary — opaque handles and explicit ownership

← Requirements

What it requires

  1. [REQ-API-001] A translation unit compiled as pure C99 (not C++) that includes only <entropic/entropic.h> compiles, links, and can name entropic_handle_t, entropic_error_t, entropic_hook_point_t, entropic_hook_callback_t, entropic_version(), and entropic_api_version().
  2. The compile-time ENTROPIC_API_VERSION constant equals the runtime entropic_api_version() return value.
  3. Every symbol the Python wrapper resolves out of librentropic.so is present in the export manifest. [REQ-INFER-003] Given a NULL handle or NULL out-pointer, When any C entry point is called, Then it returns the documented error code and does not crash.
  4. Given a backend implementation that throws, When called through the C ABI, Then the exception is caught and mapped to an error code.
  5. Given entropic_inference_free(nullptr) or entropic_inference_destroy(nullptr), Then both are no-ops. [REQ-STOR-007] Given a valid db_path, When create/initialize/destroy are called in sequence, Then the handle is non-NULL, initialize returns ENTROPIC_OK, and destroy is clean.
  6. Given a NULL handle, When any storage entry point is called, Then it returns ENTROPIC_ERROR_INVALID_ARGUMENT (or NULL) and does not crash.
  7. Given a NULL db_path, When entropic_storage_create is called, Then it returns nullptr.
  8. Given a handle, When the full conversation, delegation, snapshot/stats and search surfaces are driven end-to-end through the C ABI, Then each round-trips the same data as the C++ API.
tier
NOT_RUN

Where it lives

  • src/facade22
  • src/storage14
  • src/inference2

See it on the map

How it is met

implemented byresults (407 tests)entropic_allocentropic_api_versionentropic_clear_user_message_queueentropic_configureentropic_configure_direntropic_configure_from_fileentropic_context_clearentropic_context_countentropic_context_usageentropic_createentropic_destroyentropic_freeentropic_free_logprob_resultentropic_grammar_validateentropic_inference_generateentropic_inference_generate_streamingentropic_last_errorentropic_queue_user_messageentropic_release_modelentropic_seconds_since_last_activityentropic_state_loadentropic_state_saveentropic_storage_complete_delegationentropic_storage_createentropic_storage_create_conversationentropic_storage_create_delegationentropic_storage_delete_conversationentropic_storage_destroyentropic_storage_get_delegationsentropic_storage_get_statsentropic_storage_initializeentropic_storage_list_conversationsentropic_storage_load_conversationentropic_storage_save_conversationentropic_storage_save_snapshotentropic_storage_search_conversationsentropic_user_message_queue_depthentropic_version407 absent407 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (407)

Reached through calls

407 tests: 407 absent

testresultlinked byimplementers exercisedcalls away
Storage C ABI rejects every NULL-handle entry-pointabsentinferred11 of 381
entropic_seconds_since_last_activity returns 0 before any run absentinferred10 of 381
Configure with null JSON returns errorabsentinferred9 of 381
Double-configure on one handle is refusedabsentinferred9 of 381
Nemotron3-Nano-4B Q8 first inference does not crash (gh#66)absentinferred9 of 381
Three handles can coexistabsentinferred9 of 381
Two GPU-resident handles can coexist (v2.2.8 target)absentinferred9 of 381
Two handles configure independentlyabsentinferred9 of 381
entropic_last_error returns per-handle state (v2.2.6)absentinferred9 of 381
entropic_register_mcp_server on a configured handle absentinferred9 of 381
entropic_run_messages with console logging disabled still absentinferred9 of 381
gh#110: MTP engages through the real agent loop (entropic_run)absentinferred9 of 381
gh#121 regression: configure populates engine's allowed_tools from identity frontmatterabsentinferred9 of 381
gh#144: concurrent bridge clients queue instead of racingabsentinferred9 of 381
gh#158: metrics and context reads are safe during live runsabsentinferred9 of 381
gh#175: a non-positive mcp.server_timeout_seconds is refused at configureabsentinferred9 of 381
gh#203: followup returns delegation_id and summary from real storageabsentinferred9 of 381
gh#204: an unservable http_port fails configure loudlyabsentinferred9 of 381
gh#95: identity grammar: field constrains that tier's outputabsentinferred9 of 381
h1.run() after h2.configure() does not segfault (v2.2.6)absentinferred9 of 381
gh#158: interrupting one session leaves the other runningabsentinferred8 of 381
gh#158: two concurrent sessions do not bleed into each otherabsentinferred8 of 381
gh#164: entropic_release_model frees VRAM through the C ABIabsentinferred8 of 381
gh#165 + gh#164: release the weights, keep the conversationabsentinferred8 of 381
gh#198: a deferred handle holds no GPU memory until it runsabsentinferred8 of 381
gh#214: a prompt that does not fit fails the turn, typedabsentinferred8 of 381
gh#216: multi-byte text at the history cut does not poison later turnsabsentinferred8 of 381
gh#217: release is refused while another session is decodingabsentinferred8 of 381
gh#99: run_as emits each tier's grammar on a shared modelabsentinferred8 of 381
entropic_configure called twice on the same handle returns ALREADY_CONFIGUREDabsentinferred7 of 381
entropic_configure rejects NULL config_jsonabsentinferred7 of 381
entropic_configure rejects NULL handleabsentinferred7 of 381
entropic_configure_dir on /dev/null subpath returns an error, not an exceptionabsentinferred7 of 381
entropic_configure_dir on a tmp dir runs the loader pathabsentinferred7 of 381
entropic_configure_dir rejects NULL handleabsentinferred7 of 381
entropic_configure_dir with empty string path returns an error code, not an exceptionabsentinferred7 of 381
entropic_configure_from_file rejects NULL handleabsentinferred7 of 381
entropic_configure_from_file rejects NULL pathabsentinferred7 of 381
entropic_configure_from_file rejects missing fileabsentinferred7 of 381
entropic_last_error reflects most-recent operation failureabsentinferred7 of 381
gh#154 a tier grammar stem that cannot resolve YET still absentinferred7 of 381
gh#154 a tier grammar stem that resolves still configuresabsentinferred7 of 381
gh#154 a tier with no grammar is unaffectedabsentinferred7 of 381
gh#154 entropic_metrics_json carries a generations arrayabsentinferred7 of 381
gh#156 a frontmatter-less app_context fails configure absentinferred7 of 381
gh#156 a frontmatter-less constitution fails configure tooabsentinferred7 of 381
gh#156 a missing app_context path fails configureabsentinferred7 of 381
gh#156 a well-formed app_context file still configuresabsentinferred7 of 381
gh#156 app_context false still configuresabsentinferred7 of 381
gh#156 inline app_context content still configuresabsentinferred7 of 381
gh#158 entropic_interrupt_session targets exactly one runabsentinferred7 of 381
gh#158: clearing the default conversation releases the default absentinferred7 of 381
gh#163 entropic_configure carries app_context into ParsedConfigabsentinferred7 of 381
gh#163 entropic_configure_dir carries app_contextabsentinferred7 of 381
gh#163 entropic_configure_from_file carries app_contextabsentinferred7 of 381
gh#163 the object and false spellings survive configure_dir tooabsentinferred7 of 381
gh#164 entropic_release_model names an unknown tierabsentinferred7 of 381
gh#164 entropic_release_model refuses to unload mid-turnabsentinferred7 of 381
gh#165 entropic_session_context_set guards its preconditionsabsentinferred7 of 381
gh#165 entropic_session_context_set refuses the running sessionabsentinferred7 of 381
gh#165 entropic_session_context_set round-trips through the C ABIabsentinferred7 of 381
C API snapshot and statsabsentinferred4 of 38: entropic_storage_create_conversation, entropic_storage_get_stats, entropic_storage_save_conversation, entropic_storage_save_snapshot1
Storage handle exercises delegation create/complete/get through the C ABIabsentinferred4 of 38: entropic_storage_complete_delegation, entropic_storage_create_conversation, entropic_storage_create_delegation, entropic_storage_get_delegations1
Storage handle saves snapshot + queries stats through the C ABIabsentinferred4 of 38: entropic_storage_create_conversation, entropic_storage_get_stats, entropic_storage_save_conversation, entropic_storage_save_snapshot1
C API NULL handle returns errorabsentinferred3 of 38: entropic_storage_destroy, entropic_storage_initialize, entropic_storage_save_conversation1
C API delegation round-tripabsentinferred3 of 38: entropic_storage_complete_delegation, entropic_storage_create_conversation, entropic_storage_create_delegation1
C API full conversation lifecycleabsentinferred3 of 38: entropic_storage_create_conversation, entropic_storage_load_conversation, entropic_storage_save_conversation1
C API handle lifecycleabsentinferred3 of 38: entropic_storage_create, entropic_storage_destroy, entropic_storage_initialize1
C API searchabsentinferred3 of 38: entropic_storage_create_conversation, entropic_storage_save_conversation, entropic_storage_search_conversations1
Grammar validate detects invalid GBNFabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_grammar_validate1
Storage handle lists and deletes conversations through the C ABIabsentinferred3 of 38: entropic_storage_create_conversation, entropic_storage_delete_conversation, entropic_storage_list_conversations1
Storage handle round-trips a conversation through the C ABIabsentinferred3 of 38: entropic_storage_create_conversation, entropic_storage_load_conversation, entropic_storage_save_conversation1
Storage handle searches conversations through the C ABIabsentinferred3 of 38: entropic_storage_create_conversation, entropic_storage_save_conversation, entropic_storage_search_conversations1
entropic_grammar_validate accepts trivial GBNFabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_grammar_validate1
entropic_grammar_validate rejects NULL inputabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_grammar_validate1
entropic_grammar_validate returns NULL on valid GBNFabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_grammar_validate1
queue: NULL handle is rejected on every entry pointabsentinferred3 of 38: entropic_clear_user_message_queue, entropic_queue_user_message, entropic_user_message_queue_depth1
queue: NULL message argument is rejectedabsentinferred3 of 38: entropic_create, entropic_destroy, entropic_queue_user_message1
queue: NULL out-pointer on depth is rejectedabsentinferred3 of 38: entropic_create, entropic_destroy, entropic_user_message_queue_depth1
queue: clear on unconfigured handle is OK no-opabsentinferred3 of 38: entropic_clear_user_message_queue, entropic_create, entropic_destroy1
queue: depth on unconfigured handle reads zeroabsentinferred3 of 38: entropic_create, entropic_destroy, entropic_user_message_queue_depth1
queue: enqueue on idle handle returns INVALID_STATEabsentinferred3 of 38: entropic_create, entropic_destroy, entropic_queue_user_message1
Adapter list on fresh engineabsentinferred2 of 38: entropic_alloc, entropic_free1
Create and destroy lifecycleabsentinferred2 of 38: entropic_create, entropic_destroy1
Double destroy is safeabsentinferred2 of 38: entropic_create, entropic_destroy1
Grammar list returns JSON arrayabsentinferred2 of 38: entropic_alloc, entropic_free1
Grammar register and get round-tripabsentinferred2 of 38: entropic_alloc, entropic_free1
List identities returns JSON arrayabsentinferred2 of 38: entropic_alloc, entropic_free1
MCP key full round-trip on configured handle (best effort)absentinferred2 of 38: entropic_alloc, entropic_free1
MCP key serialize/deserialize round-tripabsentinferred2 of 38: entropic_alloc, entropic_free1
Profile register and listabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_adapter_list on configured handle returns empty arrayabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_alloc / entropic_free round-tripabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_context_get + context_count remain consistentabsentinferred2 of 38: entropic_alloc, entropic_context_count1
entropic_get_diagnostic_prompt on configured handle returns textabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_get_diagnostic_prompt returns non-empty prompt on created handleabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_grammar_list on configured handle returns JSON arrayabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_grammar_register + get round-trip on configured handleabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_grammar_validate rejects clearly invalid GBNFabsentinferred2 of 38: entropic_alloc, entropic_grammar_validate1
entropic_list_mcp_keys on configured handle returns JSON or NULLabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_profile_get returns JSON for registered profileabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_profile_list on configured handle returns JSON arrayabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_run on configured handle without active model returns errorabsentinferred2 of 38: entropic_alloc, entropic_free1
entropic_serialize_mcp_keys on configured handle returns JSONabsentinferred2 of 38: entropic_alloc, entropic_free1
inference C ABI: exception paths + parse_params field sweepabsentinferred2 of 38: entropic_inference_generate, entropic_inference_generate_streaming1
queue: observer registration is allowed pre-configureabsentinferred2 of 38: entropic_create, entropic_destroy1
API version is queryable at runtimeabsentinferred1 of 38: entropic_api_version1
Compile-time API version matches runtimeabsentinferred1 of 38: entropic_api_version1
Library version matches the canonical VERSION fileabsentinferred1 of 38: entropic_version1
MCP server list on fresh engineabsentinferred1 of 38: entropic_free1
Storage C ABI safely returns nullptr on create with NULL db_pathabsentinferred1 of 38: entropic_storage_create1
entropic_api_version returns positive integerabsentinferred1 of 38: entropic_api_version1
entropic_audit_read of a populated JSONL file returns each lineabsentinferred1 of 38: entropic_free1
entropic_audit_read of an empty JSONL file returns an empty arrayabsentinferred1 of 38: entropic_free1
entropic_clear_user_message_queue is OK on unconfigured handleabsentinferred1 of 38: entropic_clear_user_message_queue1
entropic_clear_user_message_queue on configured handle is OKabsentinferred1 of 38: entropic_clear_user_message_queue1
entropic_clear_user_message_queue rejects NULL handleabsentinferred1 of 38: entropic_clear_user_message_queue1
entropic_context_clear is idempotent on configured handleabsentinferred1 of 38: entropic_context_clear1
entropic_context_clear on configured handle succeedsabsentinferred1 of 38: entropic_context_clear1
entropic_context_clear on unconfigured handle returns INVALID_HANDLEabsentinferred1 of 38: entropic_context_clear1
entropic_context_clear rejects NULL handleabsentinferred1 of 38: entropic_context_clear1
entropic_context_count on configured handle returns 0 messagesabsentinferred1 of 38: entropic_context_count1
entropic_context_count rejects NULL handleabsentinferred1 of 38: entropic_context_count1
entropic_context_count rejects NULL out-paramabsentinferred1 of 38: entropic_context_count1
entropic_context_usage on a configured engine returns valid pairabsentinferred1 of 38: entropic_context_usage1
entropic_context_usage on configured handle returns OK or INVALID_STATEabsentinferred1 of 38: entropic_context_usage1
entropic_context_usage on null handle returns INVALID_HANDLEabsentinferred1 of 38: entropic_context_usage1
entropic_context_usage on unconfigured handle returns INVALID_HANDLEabsentinferred1 of 38: entropic_context_usage1
entropic_context_usage rejects NULL handleabsentinferred1 of 38: entropic_context_usage1
entropic_context_usage with null out params returns INVALID_ARGUMENTabsentinferred1 of 38: entropic_context_usage1
entropic_create rejects NULL out-pointerabsentinferred1 of 38: entropic_create1
entropic_destroy on NULL is a no-opabsentinferred1 of 38: entropic_destroy1
entropic_free_logprob_result frees internal arrays safelyabsentinferred1 of 38: entropic_free_logprob_result1
entropic_free_logprob_result on NULL is a no-opabsentinferred1 of 38: entropic_free_logprob_result1
entropic_get_identity on a configured engine with no identities loaded absentinferred1 of 38: entropic_free1
entropic_inference_generate catches backend exceptionsabsentinferred1 of 38: entropic_inference_generate1
entropic_inference_generate rejects NULL handleabsentinferred1 of 38: entropic_inference_generate1
entropic_inference_generate rejects NULL result pointerabsentinferred1 of 38: entropic_inference_generate1
entropic_inference_generate returns error_code on backend failureabsentinferred1 of 38: entropic_inference_generate1
entropic_inference_generate returns serialized JSON resultabsentinferred1 of 38: entropic_inference_generate1
entropic_inference_generate_streaming fires the token callbackabsentinferred1 of 38: entropic_inference_generate_streaming1
entropic_inference_generate_streaming rejects NULL handle / callbackabsentinferred1 of 38: entropic_inference_generate_streaming1
entropic_inference_generate_streaming respects cancel flagabsentinferred1 of 38: entropic_inference_generate_streaming1
entropic_last_error returns a string on NULL handleabsentinferred1 of 38: entropic_last_error1
entropic_last_error returns empty string for NULL handleabsentinferred1 of 38: entropic_last_error1
entropic_last_error returns empty string on fresh handleabsentinferred1 of 38: entropic_last_error1
entropic_queue_user_message on configured handle but idle returns INVALID_STATEabsentinferred1 of 38: entropic_queue_user_message1
entropic_queue_user_message on idle engine returns INVALID_STATEabsentinferred1 of 38: entropic_queue_user_message1
entropic_queue_user_message rejects NULL handleabsentinferred1 of 38: entropic_queue_user_message1
entropic_queue_user_message rejects NULL messageabsentinferred1 of 38: entropic_queue_user_message1
entropic_seconds_since_last_activity on configured handle returns >=0absentinferred1 of 38: entropic_seconds_since_last_activity1
entropic_seconds_since_last_activity returns 0 on NULL handleabsentinferred1 of 38: entropic_seconds_since_last_activity1
entropic_seconds_since_last_activity returns 0 on unconfigured handleabsentinferred1 of 38: entropic_seconds_since_last_activity1
entropic_state_load on unconfigured handle returns INVALID_STATEabsentinferred1 of 38: entropic_state_load1
entropic_state_load rejects NULL handleabsentinferred1 of 38: entropic_state_load1
entropic_state_load rejects NULL pathabsentinferred1 of 38: entropic_state_load1
entropic_state_load rejects NULL tier_nameabsentinferred1 of 38: entropic_state_load1
entropic_state_save on unconfigured handle returns INVALID_STATEabsentinferred1 of 38: entropic_state_save1
entropic_state_save rejects NULL handleabsentinferred1 of 38: entropic_state_save1
entropic_state_save rejects NULL pathabsentinferred1 of 38: entropic_state_save1
entropic_state_save rejects NULL tier_nameabsentinferred1 of 38: entropic_state_save1
entropic_user_message_queue_depth rejects NULL handleabsentinferred1 of 38: entropic_user_message_queue_depth1
entropic_user_message_queue_depth rejects NULL out-paramabsentinferred1 of 38: entropic_user_message_queue_depth1
entropic_user_message_queue_depth returns 0 on configured handleabsentinferred1 of 38: entropic_user_message_queue_depth1
entropic_user_message_queue_depth returns zero on unconfigured handleabsentinferred1 of 38: entropic_user_message_queue_depth1
entropic_version returns non-empty C-stringabsentinferred1 of 38: entropic_version1
gh#144: entropic_context_count on unconfigured handle does not absentinferred1 of 38: entropic_context_count1
gh#164 entropic_release_model rejects a NULL handleabsentinferred1 of 38: entropic_release_model1
gh#179: a workspace_app_context that could leave the root fails configureabsentinferred1 of 38: entropic_last_error1
gh#179: workspace_app_context loads a repository's own file, opt-inabsentinferred1 of 38: entropic_last_error1
gh#205: streaming under a tier refuses what it cannot runabsentinferred1 of 38: entropic_last_error1
gh#217: release is refused while ANY session is decodingabsentinferred1 of 38: entropic_release_model1
gh#165: a dropped session restored from JSON keeps answeringabsentinferred8 of 382
gh#166: two workspaces on one handle do not read each other's absentinferred8 of 382
gh#169: an iteration-capped delegate hands its parent the audit it absentinferred8 of 382
gh#179: each workspace's sessions answer from its own app_context, absentinferred8 of 382
gh#181: a delegate hard-cut by the thinking budget hands its absentinferred8 of 382
gh#194: a plain generation publishes the prefill it performedabsentinferred8 of 382
gh#204/gh#205: two HTTP clients, different session, workspace and absentinferred8 of 382
gh#93: autoparser family parses a multi-parameter tool callabsentinferred8 of 382
gh#93: entropic_interrupt stops a long run early (cancel-bridge)absentinferred8 of 382
gh#94: enable_thinking:false suppresses think blocks (facade)absentinferred8 of 382
outside-root optional: a real model's reads outside its root absentinferred8 of 382
v2.14.1: a declared server serves each workspace from its own repositoryabsentinferred8 of 382
v2.14.3: release frees the model over MCP and the conversation survivesabsentinferred8 of 382
v2.14.4: a model's commit message with shell syntax is text, not a commandabsentinferred8 of 382
v2.14.5: a failed turn is an error carrying only its own textabsentinferred8 of 382
gh#211: unset workspace_roots keeps today's behaviour; a relative absentinferred1 of 38: entropic_last_error2
gh#211: workspace_roots admits only directories inside itabsentinferred1 of 38: entropic_last_error2
gh#144: the ask tool advertises session as OPTIONALabsentinferred6 of 383
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 26B-A4B absentinferred6 of 383
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 E4B absentinferred6 of 383
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 131072 contextabsentinferred6 of 383
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 32768 contextabsentinferred6 of 383
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 65536 contextabsentinferred6 of 383
gh#205: ask advertises tier and workspace, both OPTIONALabsentinferred6 of 383
gh#88: a gemma multi-turn session never accumulates a parrotable absentinferred6 of 383
v2.14.6: a lead that answers in prose is nudged, and its forced absentinferred6 of 383
v2.14.6: with thinking on, each loop turn ends in a real tool callabsentinferred6 of 383
Validation last_result on fresh engineabsentinferred1 of 38: entropic_alloc3
entropic_adapter_info on configured handle for unknown adapterabsentinferred1 of 38: entropic_alloc3
entropic_adapter_info returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_adapter_info returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_adapter_list returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_adapter_list returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_context_get on configured handle returns JSON arrayabsentinferred1 of 38: entropic_alloc3
entropic_context_get rejects NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_context_get rejects NULL out-paramabsentinferred1 of 38: entropic_alloc3
entropic_get_diagnostic_prompt rejects NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_get_diagnostic_prompt rejects NULL out-paramabsentinferred1 of 38: entropic_alloc3
entropic_get_identity_config for known dynamic identity returns JSONabsentinferred1 of 38: entropic_alloc3
entropic_get_identity_config for unknown returns NULLabsentinferred1 of 38: entropic_alloc3
entropic_get_identity_config returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_get_identity_config returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_grammar_deregister of registered key succeedsabsentinferred1 of 38: entropic_alloc3
entropic_grammar_get returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_grammar_get returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_grammar_get unknown key returns NULL on configured handleabsentinferred1 of 38: entropic_alloc3
entropic_grammar_list returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_grammar_list returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_grammar_register multiple keys then list contains allabsentinferred1 of 38: entropic_alloc3
entropic_list_identities on configured handle returns JSON arrayabsentinferred1 of 38: entropic_alloc3
entropic_list_identities reflects dynamic identity create + destroyabsentinferred1 of 38: entropic_alloc3
entropic_list_identities returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_list_identities returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_list_mcp_keys returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_list_mcp_keys returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_profile_get returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_profile_get returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_profile_list returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_profile_list returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_profile_register with full profile JSONabsentinferred1 of 38: entropic_alloc3
entropic_residency_snapshot on configured handle returns JSON or INVALID_STATEabsentinferred1 of 38: entropic_alloc3
entropic_residency_snapshot on unconfigured handle returns INVALID_STATEabsentinferred1 of 38: entropic_alloc3
entropic_residency_snapshot rejects NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_residency_snapshot rejects NULL out-pointerabsentinferred1 of 38: entropic_alloc3
entropic_run on unconfigured handle returns INVALID_STATEabsentinferred1 of 38: entropic_alloc3
entropic_run rejects NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_serialize_mcp_keys returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_serialize_mcp_keys returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
entropic_speculative_compat on configured handle returns OK or INVALID_STATEabsentinferred1 of 38: entropic_alloc3
entropic_speculative_compat on unconfigured handle returns INVALID_STATEabsentinferred1 of 38: entropic_alloc3
entropic_speculative_compat rejects NULL compatible out-paramabsentinferred1 of 38: entropic_alloc3
entropic_speculative_compat rejects NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_validation_last_result on configured handle without validatorabsentinferred1 of 38: entropic_alloc3
entropic_validation_last_result returns NULL on NULL handleabsentinferred1 of 38: entropic_alloc3
entropic_validation_last_result returns NULL on unconfigured handleabsentinferred1 of 38: entropic_alloc3
gh#144: entropic_context_get on unconfigured handle does not absentinferred1 of 38: entropic_alloc3
test_register_hooks_binds_pending_and_keeps_trampoline_aliveabsentinferred1 of 38: entropic_alloc3
test_register_hooks_is_idempotent_for_already_boundabsentinferred1 of 38: entropic_alloc3
A call that fails identically is refused rather than retried absentinferred6 of 384
Anti-spiral hard block stops dispatch and emits absentinferred6 of 384
Anti-spiral hard block uses derived default when sentinel setabsentinferred6 of 384
Error result not cached for dedupabsentinferred6 of 384
POST_TOOL_CALL fires on schema rejection with kindabsentinferred6 of 384
POST_TOOL_CALL hook transforms schema-rejection contentabsentinferred6 of 384
Permission denied returns feedbackabsentinferred6 of 384
Schema validation rejects invalid enum valueabsentinferred6 of 384
Schema validation rejects missing required fieldabsentinferred6 of 384
Tool executor processes calls via ServerManagerabsentinferred6 of 384
gh#143: an argument-free call to a no-required-fields tool absentinferred6 of 384
gh#190: a structured JSON error counts as a failure everywhereabsentinferred6 of 384
mcp.bash.timeout_seconds reaches the dispatched bash serverabsentinferred6 of 384
v2.14.0: schema validation enforces declared minimum and maximumabsentinferred6 of 384
v2.14.6: a headless host still dispatches engine directivesabsentinferred6 of 384
v2.14.6: the model's own tool call stays in the history it is shownabsentinferred6 of 384
Async ask emits notifications/progress (not ask_complete) absentinferred3 of 38: entropic_alloc, entropic_free, entropic_last_error4
Async ask notification method is in the MCP-spec allowed setabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_last_error4
Async ask registers task and completes with error on null handleabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_last_error4
Cleanup removes expired tasks but keeps fresh onesabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_last_error4
ExternalBridge handle_ask_status emits status + phase after async runabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_last_error4
ExternalBridge run_async_ask progress notif carries task_id tokenabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_last_error4
async task phase transitions through the lifecycleabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_last_error4
run_async_ask writes a sentinel atomically with statusabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_last_error4
v2.14.0: an async completion reaches its owner and no other clientabsentinferred3 of 38: entropic_alloc, entropic_free, entropic_last_error4
entropic_run_messages on configured handle with empty arrayabsentinferred1 of 38: entropic_alloc4
entropic_run_messages on configured handle with malformed JSONabsentinferred1 of 38: entropic_alloc4
entropic_run_messages on null handle returns INVALID_HANDLEabsentinferred1 of 38: entropic_alloc4
entropic_run_messages on unconfigured handle returns INVALID_STATEabsentinferred1 of 38: entropic_alloc4
entropic_run_messages rejects NULL handleabsentinferred1 of 38: entropic_alloc4
entropic_run_messages with image content but no vision tierabsentinferred1 of 38: entropic_alloc4
entropic_run_messages with malformed JSON returns GENERATE_FAILEDabsentinferred1 of 38: entropic_alloc4
entropic_run_messages with null args returns INVALID_ARGUMENTabsentinferred1 of 38: entropic_alloc4
entropic_run_messages: image without vision tier → NO_VISION_TIERabsentinferred1 of 38: entropic_alloc4
Auto approve skips callbackabsentinferred6 of 385
Chained POST_TOOL_CALL hooks: last write winsabsentinferred6 of 385
Circuit breaker at threeabsentinferred6 of 385
Duplicate counter resetsabsentinferred6 of 385
Duplicate detection skipsabsentinferred6 of 385
Headless mode denies without callbackabsentinferred6 of 385
Max tool calls per turnabsentinferred6 of 385
Multiple tool calls in batchabsentinferred6 of 385
POST_TOOL_CALL fires on duplicate rejection with kindabsentinferred6 of 385
POST_TOOL_CALL hook transforms duplicate-rejection contentabsentinferred6 of 385
POST_TOOL_CALL hook transforms successful tool result contentabsentinferred6 of 385
POST_TOOL_CALL with *modified_json == NULL leaves content untouchedabsentinferred6 of 385
PRE/POST_TOOL_CALL fire for successful callsabsentinferred6 of 385
PRE_TOOL_CALL cancel short-circuits dispatch and still fires POSTabsentinferred6 of 385
Process single tool callabsentinferred6 of 385
Tool call history records successful executionsabsentinferred6 of 385
Tool emits directives → ToolExecutor extracts + dispatches themabsentinferred6 of 385
effective_max_tool_calls_per_turn overrides global limitabsentinferred6 of 385
gh#111: POST_TOOL_CALL hook returning malformed UTF-8 is absentinferred6 of 385
gh#143: an argument-free call serialises as an object absentinferred6 of 385
gh#143: dispatch converts a throwing tool into a tool errorabsentinferred6 of 385
gh#158: a delegated child's read satisfies its parent's write — absentinferred6 of 385
gh#158: each session's todo list is its ownabsentinferred6 of 385
gh#158: ending a session's conversation releases its read absentinferred6 of 385
gh#158: read-before-write is judged per session — another absentinferred6 of 385
gh#158: two sessions reading and writing through ONE filesystem absentinferred6 of 385
gh#168: a rewritten payload carrying bad UTF-8 is sanitized, absentinferred6 of 385
gh#168: the rewrite is visible to the dup cache and POST hookabsentinferred6 of 385
gh#211: a tier that declares an EMPTY allowlist may call nothingabsentinferred6 of 385
gh#83: allowlisted tool dispatches normallyabsentinferred6 of 385
gh#83: empty locked_tier bypasses enforcementabsentinferred6 of 385
gh#83: no map wired = pass-through (pre-v2.5.2 behavior)absentinferred6 of 385
gh#83: off-allowlist tool is rejected_unauthorized at dispatchabsentinferred6 of 385
gh#83: tier with no allowlist entry is unrestrictedabsentinferred6 of 385
process_single_call completes with locked_tier setabsentinferred6 of 385
ExternalBridge start() declines duplicate in-process socket bindingabsentinferred6 of 386
gh#158: a session's tool call never resolves inside another absentinferred6 of 386
gh#158: repeated sandbox swaps race nothing a concurrent absentinferred6 of 386
gh#158: two sessions writing todos through ONE entropic server absentinferred6 of 386
gh#168: a PRE_TOOL_CALL hook's modified args reach the toolabsentinferred6 of 386
gh#168: a malformed modification is refused, not half-appliedabsentinferred6 of 386
gh#168: a modification that renames the tool is refusedabsentinferred6 of 386
gh#168: a non-zero return still cancels, modification or notabsentinferred6 of 386
gh#204: a listener stopped the instant it started still stopsabsentinferred6 of 386
gh#204: the HTTP listener serves the bridge to authenticated clients onlyabsentinferred6 of 386
gh#220: a port another listener holds is refused, not sharedabsentinferred6 of 386
LlamaCppBackend lifecycle on a small real model (one load)absentinferred6 of 387
gh#87 diag: multi-parameter tool call — gemma4 (dedicated PEG)absentinferred6 of 387
gh#87 Increment-2: backend render_with_tools → parse_response absentinferred6 of 388
ModelOrchestrator real-model generate (one load, CPU)absentinferred6 of 389
Orchestrator generate() returns typed error when tier missingabsentinferred6 of 389
Orchestrator generate_streaming error + routing + fallback pathsabsentinferred6 of 389
gh#106 MTP kernel: engaged + lossless-coherentabsentinferred6 of 389
gh#108 (v2.10.3) CONTROL: plain-decode streaming on the same tierabsentinferred6 of 389
gh#108 (v2.10.3) MTP + grammar + streaming through absentinferred6 of 389
gh#108 (v2.10.3) MTP + streaming without a grammar still streamsabsentinferred6 of 389
gh#108 MTP + flash + q4 KV succeeds on E4B QAT Q4 absentinferred6 of 389
gh#108 MTP + flash attention succeeds (v2.9.3, upstream #25148)absentinferred6 of 389
gh#108 MTP greedy holds across a multi-turn contextabsentinferred6 of 389
gh#108 MTP guards: out-of-envelope requests fail loudabsentinferred6 of 389
gh#108 MTP is lossless at temperature>0 (empirical distribution check)absentinferred6 of 389
gh#122: fenced-json block in model output yields a tool callabsentinferred6 of 389
gh#127: ambiguous fenced args object returns empty (no false positive)absentinferred6 of 389
gh#127: fenced args-only object matched by registered tool schemaabsentinferred6 of 389
gh#134 (v2.10.4) A/B: the knob, not the model, produces the callabsentinferred6 of 389
gh#134 (v2.10.4) closest replication of the reported stall configabsentinferred6 of 389
gh#134 (v2.10.4) multi-turn: rails hold past the stall onsetabsentinferred6 of 389
gh#134 (v2.10.4) require_tool_call forces a tool call under MTPabsentinferred6 of 389
gh#144: MTP prefill must not re-decode an unchanged prefixabsentinferred6 of 389
gh#154 a tier grammar that is not registered refuses the runabsentinferred6 of 389
gh#88: a parroted {action:...} emission dispatches via the gemma absentinferred6 of 389
interface_factory: wiring + iface_* surface sweepabsentinferred6 of 389
Compaction fires when context exceeds thresholdabsentinferred6 of 3810
Consecutive same-tier generations do not leak content across absentinferred6 of 3810
Constitutional validator detects violations and revisesabsentinferred6 of 3810
Conversation with model output survives save and loadabsentinferred6 of 3810
Delegation wiring fires on_delegation_start callbackabsentinferred6 of 3810
Dynamic identity creation and generation through engine loopabsentinferred6 of 3810
Engine produces coherent text from a simple promptabsentinferred6 of 3810
Engine state transitions include PLANNING and EXECUTINGabsentinferred6 of 3810
GBNF grammar constrains output to valid JSONabsentinferred6 of 3810
Gemma 4 A4B GGUF loads and generates first tokenabsentinferred6 of 3810
Gemma 4 E4B GGUF loads and generates first tokenabsentinferred6 of 3810
Generation succeeds with non-default GPU profileabsentinferred6 of 3810
Hooks fire in correct order during a generation cycleabsentinferred6 of 3810
Lead delegates to child and receives resultabsentinferred6 of 3810
LoRA adapter load failure is handled gracefullyabsentinferred6 of 3810
MCP authorization denial propagates through engineabsentinferred6 of 3810
Model output is correctly parsed into tool callsabsentinferred6 of 3810
Multi-turn context is retained across generationsabsentinferred6 of 3810
Multi-turn engine calls retain contextabsentinferred6 of 3810
Nemotron 3 family GGUF loads and generates first tokenabsentinferred6 of 3810
Qwen 3.5 family GGUF loads and generates first tokenabsentinferred6 of 3810
Recall-style prompts do not surface prior-generation contentabsentinferred6 of 3810
Routing fires on_tier_selected callbackabsentinferred6 of 3810
Single-turn engine loop produces coherent responseabsentinferred6 of 3810
Text-only model handles multimodal input gracefullyabsentinferred6 of 3810
Tool call cycle: generate, parse, execute, regenerateabsentinferred6 of 3810
True end-to-end: real prompts, real engine, real modelabsentinferred6 of 3810
gh#103 contrast: batch mode may generate past the tool callabsentinferred6 of 3810
gh#103 gemma severe case: sequential mode stops at <tool_call|> AND absentinferred6 of 3810
gh#103: sequential tool_call_mode hard-stops at the first tool call absentinferred6 of 3810
gh#105: constitutional validator's toolless render must NOT clobber absentinferred6 of 3810
gh#106 MTP functions on the E4B QAT trunkabsentinferred6 of 3810
gh#106 MTP routes through orchestrator->generate()absentinferred6 of 3810
gh#108 (v2.10.0) a request-level grammar routes to MTP on an absentinferred6 of 3810
gh#108 (v2.10.3) CONTROL: non-streaming generate on the same tierabsentinferred6 of 3810
gh#108 MTP engages with tools staged through orchestrator (agent loop)absentinferred6 of 3810
gh#108 MTP loud error propagates through orchestrator (no fallback)absentinferred6 of 3810
gh#108 per-tier speculative_mtp=false overrides the global flagabsentinferred6 of 3810
gh#137 a toolless enable_thinking:false turn must not deliver absentinferred6 of 3810
gh#148 auto: a VRAM reserve forces a real partial offload that absentinferred6 of 3810
gh#154 a REQUEST-level grammar_key miss still fails openabsentinferred6 of 3810
gh#154 registering the tier's grammar after configure opens the absentinferred6 of 3810
gh#160: an isolated delegation never writes the project, and absentinferred6 of 3810
gh#162: a delegate seeded with context answers from the named absentinferred6 of 3810
gh#87 cutover: params.tools drives common_chat through the orchestratorabsentinferred6 of 3810
gh#90: gemma <|\"|> escape on a numeric value keeps string typingabsentinferred6 of 3810
v2.14.6: a real image runs through E4B QAT and its projectorabsentinferred6 of 3810
gh#108 CPU-only feasibility: E2B-QAT-Q4 x MTP x flash+q4KV, absentinferred6 of 3812
gh#108 agentic benchmark: full 24-config permutation matrix absentinferred6 of 3812
gh#164: release then reload decodes correctly on a hybrid archabsentinferred6 of 3812
gh#164: release then reload decodes correctly on gemma4 (plain KV)absentinferred6 of 3812

Flows through it