Tests

2227 tests the index recognises; 1861 have a page of their own. Type to filter by name, file, result or requirement count.

tests/concurrency/test_thread_safety.cpp 21 tests · 21 absent
tests/edge/test_config_edge_cases.cpp 12 tests · 12 absent
tests/edge/test_malformed_tool_calls.cpp 8 tests · 8 absent
tests/integration/test_external_mcp.cpp 9 tests · 9 absent
tests/integration/test_storage_integration.cpp 7 tests · 7 absent
tests/model/model_test_context.h 9 tests · 9 absent
testlineresultrequirements
test_gen_params:578absent—
test_log_contains:796absent—
test_log_int_after:845absent—
testRunStarting:889absent20
testCaseStarting:899absent1
testCaseEnded:909absent—
testRunEnded:931absent2
testRunStarting:957absent20
testRunEnded:980absent2
tests/model/test_adapter_lifecycle.cpp 1 test · 1 absent
testlineresultrequirements
LoRA adapter load failure is handled gracefully:23absent55
tests/model/test_audit_log.cpp 1 test · 1 absent
testlineresultrequirements
Audit entry is recorded when a tool call executes:25absent2
tests/model/test_auto_placement_offload_real.cpp 2 tests · 2 absent
tests/model/test_auto_placement_real.cpp 2 tests · 2 absent
tests/model/test_backend_capabilities.cpp 1 test · 1 absent
tests/model/test_basic_generation.cpp 1 test · 1 absent
testlineresultrequirements
Engine produces coherent text from a simple prompt:21absent55
tests/model/test_constitutional_validation.cpp 1 test · 1 absent
testlineresultrequirements
Constitutional validator detects violations and revises:21absent59
tests/model/test_context_retention.cpp 1 test · 1 absent
testlineresultrequirements
Multi-turn context is retained across generations:19absent55
tests/model/test_delegation.cpp 1 test · 1 absent
testlineresultrequirements
Lead delegates to child and receives result:21absent55
tests/model/test_delegation_context_bleed.cpp 3 tests · 3 absent
tests/model/test_dynamic_identity.cpp 1 test · 1 absent
tests/model/test_e0_true_e2e.cpp 1 test · 1 absent
testlineresultrequirements
True end-to-end: real prompts, real engine, real model:20absent70
tests/model/test_e10_custom_compactor.cpp 1 test · 1 absent
tests/model/test_e1_single_turn.cpp 1 test · 1 absent
testlineresultrequirements
Single-turn engine loop produces coherent response:22absent70
tests/model/test_e2_tool_call.cpp 1 test · 1 absent
testlineresultrequirements
Tool call cycle: generate, parse, execute, regenerate:22absent70
tests/model/test_e3_routing.cpp 1 test · 1 absent
testlineresultrequirements
Routing fires on_tier_selected callback:22absent70
tests/model/test_e4_multi_turn.cpp 1 test · 1 absent
testlineresultrequirements
Multi-turn engine calls retain context:22absent70
tests/model/test_e5_compaction.cpp 1 test · 1 absent
testlineresultrequirements
Compaction fires when context exceeds threshold:23absent70
tests/model/test_e6_state_transitions.cpp 1 test · 1 absent
testlineresultrequirements
Engine state transitions include PLANNING and EXECUTING:22absent70
tests/model/test_e7_delegation.cpp 3 tests · 3 absent
tests/model/test_e8_mcp_auth.cpp 1 test · 1 absent
testlineresultrequirements
MCP authorization denial propagates through engine:23absent70
tests/model/test_e9_dynamic_identity.cpp 1 test · 1 absent
tests/model/test_external_mcp.cpp 1 test · 1 absent
tests/model/test_gh100_q8_kv.cpp 2 tests · 2 absent
tests/model/test_gh103_gemma_sequential.cpp 1 test · 1 absent
tests/model/test_gh103_sequential_stop.cpp 2 tests · 2 absent
tests/model/test_gh105_validator_clobbers.cpp 1 test · 1 absent
tests/model/test_gh106_mtp.cpp 1 test · 1 absent
testlineresultrequirements
gh#106 MTP kernel: engaged + lossless-coherent:61absent48
tests/model/test_gh106_mtp_qat_mobile.cpp 1 test · 1 absent
testlineresultrequirements
gh#106 MTP functions on the E4B QAT trunk:97absent48
tests/model/test_gh106_mtp_route.cpp 5 tests · 5 absent
tests/model/test_gh106_qat_thinking.cpp 1 test · 1 absent
testlineresultrequirements
gh#106 observe: QAT thinking-model tool-call structure:20absent3
tests/model/test_gh108_agentic_benchmark.cpp 1 test · 1 absent
tests/model/test_gh108_config_benchmark.cpp 7 tests · 7 absent
tests/model/test_gh108_cpu_feasibility.cpp 1 test · 1 absent
tests/model/test_gh108_mtp_guards.cpp 5 tests · 5 absent
tests/model/test_gh108_mtp_stream_grammar.cpp 8 tests · 8 absent
tests/model/test_gh110_mtp_agent_loop.cpp 1 test · 1 absent
tests/model/test_gh137_thinking_strip.cpp 1 test · 1 absent
tests/model/test_gh144_bridge_queue.cpp 1 test · 1 absent
testlineresultrequirements
gh#144: concurrent bridge clients queue instead of racing:148absent79
tests/model/test_gh144_mtp_prefix_retention.cpp 1 test · 1 absent
tests/model/test_gh144_no_regression_single_session.cpp 2 tests · 2 absent
testlineresultrequirements
test_gguf:70absent—
gh#144: max_sessions == 1 preserves the warm-keep prefill shape:79absent2
tests/model/test_gh144_session_isolation.cpp 2 tests · 2 absent
testlineresultrequirements
test_gguf:52absent—
gh#144: interleaved sessions do not leak context to each other:83absent2
tests/model/test_gh144_session_switch_cost.cpp 2 tests · 2 absent
testlineresultrequirements
test_gguf:66absent—
gh#144: a session switch must not force a full re-prefill:83absent2
tests/model/test_gh158_concurrent_sessions.cpp 5 tests · 5 absent
tests/model/test_gh164_release_reload.cpp 3 tests · 3 absent
tests/model/test_gh165_session_restore.cpp 2 tests · 2 absent
tests/model/test_gh166_workspaces.cpp 1 test · 1 absent
tests/model/test_gh169_gh181_budget_carry.cpp 2 tests · 2 absent
tests/model/test_gh179_workspace_context.cpp 1 test · 1 absent
tests/model/test_gh194_prefill_published.cpp 1 test · 1 absent
tests/model/test_gh198_idle_device.cpp 1 test · 1 absent
tests/model/test_gh204_http_multiclient.cpp 1 test · 1 absent
tests/model/test_gh87_backend_common_chat.cpp 1 test · 1 absent
tests/model/test_gh87_backend_generate_tools.cpp 1 test · 1 absent
tests/model/test_gh87_common_chat_e2e.cpp 1 test · 1 absent
testlineresultrequirements
gh#87 gate: common_chat render→generate→parse extracts a gemma4 tool call:116absent—
tests/model/test_gh87_multiparam_diag.cpp 1 test · 1 absent
tests/model/test_gh87_orchestrator_cutover.cpp 1 test · 1 absent
tests/model/test_gh87_verify_nemotron3.cpp 1 test · 1 absent
tests/model/test_gh87_verify_qwen35.cpp 1 test · 1 absent
tests/model/test_gh88_envelope_priming.cpp 2 tests · 2 absent
tests/model/test_gh90_string_typing.cpp 1 test · 1 absent
tests/model/test_gh93_behavioral.cpp 3 tests · 3 absent
tests/model/test_gh95_identity_grammar.cpp 2 tests · 2 absent
tests/model/test_gh96_warmkeep.cpp 1 test · 1 absent
tests/model/test_gh96_warmkeep_oracle.cpp 6 tests · 6 absent
tests/model/test_gh97_hybrid_cache.cpp 1 test · 1 absent
tests/model/test_gh98_batch.cpp 2 tests · 2 absent
tests/model/test_gh99_run_as.cpp 1 test · 1 absent
tests/model/test_gpu_profile.cpp 1 test · 1 absent
testlineresultrequirements
Generation succeeds with non-default GPU profile:21absent55
tests/model/test_grammar_constraint.cpp 1 test · 1 absent
testlineresultrequirements
GBNF grammar constrains output to valid JSON:21absent55
tests/model/test_hook_lifecycle.cpp 1 test · 1 absent
testlineresultrequirements
Hooks fire in correct order during a generation cycle:90absent70
tests/model/test_logprob_evaluation.cpp 1 test · 1 absent
testlineresultrequirements
Evaluation produces valid log-probabilities:21absent1
tests/model/test_mcp_auth_denial.cpp 1 test · 1 absent
testlineresultrequirements
Identity with READ-only keys is denied WRITE access:21absent3
tests/model/test_multimodal_fallback.cpp 1 test · 1 absent
testlineresultrequirements
Text-only model handles multimodal input gracefully:59absent55
tests/model/test_outside_root_approval.cpp 1 test · 1 absent
tests/model/test_session_persistence.cpp 1 test · 1 absent
testlineresultrequirements
Conversation with model output survives save and load:24absent55
tests/model/test_tier_routing.cpp 2 tests · 2 absent
tests/model/test_tool_call_parsing.cpp 1 test · 1 absent
testlineresultrequirements
Model output is correctly parsed into tool calls:21absent55
tests/model/test_v2141_workspace_declared_servers.cpp 1 test · 1 absent
tests/model/test_v2143_bridge_release.cpp 1 test · 1 absent
tests/model/test_v2144_git_no_shell.cpp 1 test · 1 absent
tests/model/test_v2145_failed_turn.cpp 1 test · 1 absent
tests/model/test_v2146_e4b_vision.cpp 1 test · 1 absent
tests/model/test_v2146_gemma4_required_grammar.cpp 2 tests · 2 absent
testlineresultrequirements
v2.14.6: the Gemma 4 REQUIRED grammar forces one call, then EOG:203absent2
v2.14.6: upstream parse of a plain-quote native Gemma 4 call:298absent—
tests/model/test_v2146_host_robustness.cpp 3 tests · 3 absent
tests/model/test_v2146_thinking_tool_call.cpp 1 test · 1 absent
tests/model/test_v219_gemma4_a4b_family.cpp 1 test · 1 absent
testlineresultrequirements
Gemma 4 A4B GGUF loads and generates first token:34absent55
tests/model/test_v219_gemma4_e4b_family.cpp 1 test · 1 absent
testlineresultrequirements
Gemma 4 E4B GGUF loads and generates first token:35absent55
tests/model/test_v219_nemotron3_family.cpp 1 test · 1 absent
testlineresultrequirements
Nemotron 3 family GGUF loads and generates first token:33absent55
tests/model/test_v219_qwen35_family.cpp 1 test · 1 absent
testlineresultrequirements
Qwen 3.5 family GGUF loads and generates first token:29absent55
tests/model/test_v2310_backend_coverage_smoke.cpp 30 tests · 30 absent
testlineresultrequirements
LlamaCppBackend exposes backend info:31absent—
LlamaCppBackend reports supported capabilities:42absent—
LlamaCppBackend.state() reports ACTIVE when loaded:59absent—
LlamaCppBackend.count_tokens covers the loaded path:68absent—
LlamaCppBackend.tokenize_text round-trips with detokenize:85absent—
LlamaCppBackend.complete runs against a raw prompt:99absent—
LlamaCppBackend.generate_streaming fires per-token callback:117absent—
LlamaCppBackend.evaluate_logprobs returns a populated result:151absent—
LlamaCppBackend prompt cache state-clear is safe:169absent—
LlamaCppBackend.context_length matches the configured value:179absent—
LlamaCppBackend.capabilities returns a non-empty list:187absent—
LlamaCppBackend.is_active / is_loaded match ACTIVE state:196absent—
LlamaCppBackend.clear_state on the default seq is safe:205absent—
Orchestrator route returns the default tier when routing disabled:216absent2
Orchestrator loaded_models returns the active tier:228absent1
Orchestrator clear_all_prompt_caches is safe on loaded state:235absent1
LlamaCppBackend.save_state / restore_state round-trips a sequence:244absent—
LlamaCppBackend.compute_perplexity returns a non-negative value:269absent—
LlamaCppBackend generate with min_p>0 exercises the gh#23 sampler:281absent—
LlamaCppBackend complete with empty prompt is graceful:304absent—
Orchestrator route returns the default tier with empty messages:320absent2
Orchestrator available_models reflects loaded tier paths:328absent—
Orchestrator get_adapter returns a valid pointer for the default tier:337absent—
Orchestrator last_used_tier reflects the most recent generate:344absent—
Orchestrator last_routing_result is populated after a route call:354absent2
Orchestrator throughput_tracker accessor returns a usable ref:369absent—
Orchestrator profile_registry accessor returns a usable ref:377absent—
Orchestrator grammar_registry accessor returns a usable ref:385absent—
Orchestrator adapter_manager accessor returns a usable ref:393absent—
Orchestrator has_vision_capable_tier reflects loaded state:401absent1
tests/model/test_v240_minor_ceremony.cpp 9 tests · 9 absent
testlineresultrequirements
presence_penalty drives the penalties sampler stage (v2.3.14):73absent—
frequency_penalty drives the penalties sampler stage (v2.3.15):92absent—
presence + frequency penalties coexist at the runtime layer (v2.3.14/15):111absent—
logit_bias drives the new sampler stage (v2.3.16):131absent—
n_ubatch override reaches cparams (v2.3.17):157absent—
State after save_state / restore_state survives a clear (v2.3.25):175absent—
State save/load via the v2.3.25 C API file round-trip:219absent—
v2.3.10 min_p (anchor — must still pass at v2.4.0):278absent—
gh#86: enable_thinking=false suppresses <think> via jinja render:297absent—
tests/model/v219_family_test_helpers.h 3 tests · 3 absent
testlineresultrequirements
testRunStarting:289absent20
testCaseStarting:316absent1
testRunEnded:327absent2
tests/regression/test_basic_response.cpp 3 tests · 3 absent
tests/regression/test_delegation_pipeline.cpp 2 tests · 2 absent
testlineresultrequirements
Delegation directive triggers child loop:76absent21
Max delegation depth is enforced:118absent1
tests/regression/test_identity_behavior.cpp 3 tests · 3 absent
tests/regression/test_multi_turn_context.cpp 2 tests · 2 absent
testlineresultrequirements
Context accumulates across turns:77absent21
Compaction triggers at threshold:116absent21
tests/regression/test_router_classification.cpp 3 tests · 3 absent
tests/regression/test_tool_calling_loop.cpp 2 tests · 2 absent
tests/unit/api/api_version_test.cpp 3 tests · 3 absent
tests/unit/api/app_context_roundtrip_test.cpp 4 tests · 4 absent
tests/unit/api/bash_timeout_config_test.cpp 1 test · 1 absent
tests/unit/api/bridge_release_tool_test.cpp 3 tests · 3 absent
tests/unit/api/builtin_server_sharing_test.cpp 9 tests · 9 absent
tests/unit/api/entropic_capi_test.cpp 355 tests · 355 absent
testlineresultrequirements
entropic_create rejects NULL out-pointer:62absent3
entropic_destroy on NULL is a no-op:68absent8
entropic_version returns non-empty C-string:74absent2
entropic_api_version returns positive integer:81absent2
entropic_alloc / entropic_free round-trip:86absent2
entropic_seconds_since_last_activity returns 0 on NULL handle:98absent2
entropic_seconds_since_last_activity returns 0 on unconfigured handle:103absent2
entropic_configure rejects NULL handle:113absent78
entropic_configure rejects NULL config_json:119absent78
entropic_configure_from_file rejects NULL handle:133absent78
entropic_configure_from_file rejects NULL path:139absent78
entropic_configure_from_file rejects missing file:146absent78
entropic_configure_dir rejects NULL handle:154absent78
entropic_run rejects NULL handle:162absent12
entropic_run on unconfigured handle returns INVALID_STATE:169absent12
entropic_run_streaming rejects NULL handle:177absent11
entropic_run_streaming on unconfigured handle returns INVALID_STATE:184absent11
entropic_run_messages rejects NULL handle:192absent12
entropic_run_messages on unconfigured handle returns INVALID_STATE:199absent12
entropic_run_messages_streaming rejects NULL handle:207absent12
entropic_run_messages_streaming on unconfigured handle returns INVALID_STATE:215absent12
entropic_interrupt rejects NULL handle:224absent3
entropic_interrupt on unconfigured handle returns INVALID_STATE:229absent3
entropic_set_stream_observer rejects NULL handle:237absent2
entropic_set_stream_observer succeeds on created handle (pre-configure stash):244absent2
entropic_set_state_observer rejects NULL handle:251absent3
entropic_set_state_observer stashes on unconfigured handle:258absent3
entropic_set_critique_callbacks rejects NULL handle:265absent4
entropic_set_critique_callbacks stashes on unconfigured handle:273absent4
entropic_set_queue_observer rejects NULL handle:282absent2
entropic_set_queue_observer stashes on unconfigured handle:289absent2
entropic_set_delegation_callbacks rejects NULL handle:296absent4
entropic_set_delegation_callbacks succeeds on created handle:302absent4
entropic_set_attempt_boundary_cb rejects NULL handle:309absent3
entropic_set_attempt_boundary_cb succeeds on created handle:315absent3
entropic_validation_set_auto_retry rejects NULL handle:324absent2
entropic_validation_set_auto_retry succeeds without validator (no-op):330absent2
entropic_validation_resume_retry rejects NULL handle:337absent3
entropic_validation_resume_retry without validator returns INVALID_STATE:343absent3
entropic_validation_accept_last rejects NULL handle:349absent3
entropic_validation_accept_last without validator returns INVALID_STATE:355absent3
entropic_validation_set_enabled rejects NULL handle:362absent2
entropic_validation_set_enabled without validator returns INVALID_STATE:368absent2
entropic_validation_set_identity rejects NULL handle:375absent2
entropic_validation_set_identity without validator returns INVALID_STATE:381absent2
entropic_validation_last_result returns NULL on NULL handle:388absent7
entropic_validation_last_result returns NULL on unconfigured handle:393absent7
entropic_queue_user_message rejects NULL handle:401absent2
entropic_queue_user_message rejects NULL message:407absent2
entropic_queue_user_message on idle engine returns INVALID_STATE:414absent2
entropic_user_message_queue_depth rejects NULL handle:421absent2
entropic_user_message_queue_depth rejects NULL out-param:428absent2
entropic_user_message_queue_depth returns zero on unconfigured handle:435absent2
entropic_clear_user_message_queue rejects NULL handle:443absent2
entropic_clear_user_message_queue is OK on unconfigured handle:449absent2
entropic_context_clear rejects NULL handle:457absent4
entropic_context_clear on unconfigured handle returns INVALID_HANDLE:463absent4
entropic_context_get rejects NULL handle:470absent5
entropic_context_get rejects NULL out-param:477absent5
entropic_context_count rejects NULL handle:484absent2
entropic_context_count rejects NULL out-param:491absent2
gh#144: entropic_context_get on unconfigured handle does not :498absent5
gh#144: entropic_context_count on unconfigured handle does not :511absent2
entropic_context_usage rejects NULL handle:520absent3
entropic_context_usage on unconfigured handle returns INVALID_HANDLE:527absent3
entropic_state_save rejects NULL handle:537absent9
entropic_state_save rejects NULL tier_name:543absent9
entropic_state_save rejects NULL path:550absent9
entropic_state_save on unconfigured handle returns INVALID_STATE:557absent9
entropic_state_load rejects NULL handle:564absent9
entropic_state_load rejects NULL tier_name:570absent9
entropic_state_load rejects NULL path:577absent9
entropic_state_load on unconfigured handle returns INVALID_STATE:584absent9
entropic_metrics_json rejects NULL handle:591absent3
entropic_metrics_json rejects NULL out-param:598absent3
entropic_adapter_load on unconfigured handle returns INVALID_STATE:607absent8
entropic_adapter_load on NULL handle returns INVALID_HANDLE:614absent8
entropic_adapter_unload on unconfigured handle returns INVALID_STATE:620absent4
entropic_adapter_swap on unconfigured handle returns INVALID_STATE:627absent3
entropic_adapter_state returns -1 on NULL handle:634absent3
entropic_adapter_state returns -1 on unconfigured handle:639absent3
entropic_adapter_info returns NULL on NULL handle:645absent5
entropic_adapter_info returns NULL on unconfigured handle:650absent5
entropic_adapter_list returns NULL on NULL handle:656absent5
entropic_adapter_list returns NULL on unconfigured handle:661absent5
entropic_grammar_register on unconfigured handle returns INVALID_STATE:669absent3
entropic_grammar_register on NULL handle returns INVALID_HANDLE:676absent3
entropic_grammar_register_file on unconfigured handle returns INVALID_STATE:682absent3
entropic_grammar_deregister on unconfigured handle returns INVALID_STATE:689absent3
entropic_grammar_get returns NULL on NULL handle:696absent5
entropic_grammar_get returns NULL on unconfigured handle:701absent5
entropic_grammar_list returns NULL on NULL handle:707absent5
entropic_grammar_list returns NULL on unconfigured handle:712absent5
entropic_grammar_validate rejects NULL input:718absent4
entropic_grammar_validate returns NULL on valid GBNF:726absent4
entropic_profile_register on unconfigured handle returns INVALID_STATE:736absent3
entropic_profile_deregister on unconfigured handle returns INVALID_STATE:743absent3
entropic_profile_get returns NULL on NULL handle:750absent5
entropic_profile_get returns NULL on unconfigured handle:755absent5
entropic_profile_list returns NULL on NULL handle:761absent5
entropic_profile_list returns NULL on unconfigured handle:766absent5
entropic_throughput_tok_per_sec returns 0.0 on NULL handle:774absent3
entropic_throughput_tok_per_sec returns 0.0 on unconfigured handle:779absent3
entropic_throughput_reset is safe on NULL handle:785absent3
entropic_throughput_reset is safe on unconfigured handle:791absent3
entropic_grant_mcp_key on unconfigured handle returns INVALID_STATE:800absent2
entropic_grant_mcp_key on NULL handle returns INVALID_HANDLE:807absent2
entropic_revoke_mcp_key on unconfigured handle returns INVALID_STATE:813absent2
entropic_check_mcp_key returns -1 on NULL handle:820absent3
entropic_check_mcp_key returns -1 on unconfigured handle:826absent3
entropic_list_mcp_keys returns NULL on NULL handle:833absent5
entropic_list_mcp_keys returns NULL on unconfigured handle:838absent5
entropic_grant_mcp_key_from on unconfigured handle returns INVALID_STATE:844absent3
entropic_serialize_mcp_keys returns NULL on NULL handle:852absent5
entropic_serialize_mcp_keys returns NULL on unconfigured handle:857absent5
entropic_deserialize_mcp_keys on unconfigured handle returns INVALID_STATE:863absent2
entropic_create_identity on NULL handle returns INVALID_HANDLE:872absent3
entropic_create_identity on unconfigured handle returns INVALID_STATE:878absent3
entropic_update_identity on unconfigured handle returns INVALID_STATE:885absent3
entropic_destroy_identity on unconfigured handle returns INVALID_STATE:892absent2
entropic_get_identity_config returns NULL on NULL handle:899absent5
entropic_get_identity_config returns NULL on unconfigured handle:904absent5
entropic_list_identities returns NULL on NULL handle:910absent5
entropic_list_identities returns NULL on unconfigured handle:915absent5
entropic_identity_count on unconfigured handle returns INVALID_STATE:921absent2
entropic_model_has_vision returns 0 on NULL handle:931absent3
entropic_model_has_vision returns 0 on unconfigured handle:936absent3
entropic_get_logprobs on NULL handle returns INVALID_HANDLE:942absent10
entropic_get_logprobs on unconfigured handle returns INVALID_STATE:950absent10
entropic_compute_perplexity on unconfigured handle returns INVALID_STATE:959absent9
entropic_free_logprob_result on NULL is a no-op:968absent2
entropic_get_diagnostic_prompt rejects NULL handle:976absent3
entropic_get_diagnostic_prompt rejects NULL out-param:983absent3
entropic_get_diagnostic_prompt returns non-empty prompt on created handle:990absent3
entropic_speculative_compat rejects NULL handle:1003absent4
entropic_speculative_compat rejects NULL compatible out-param:1011absent4
entropic_speculative_compat on unconfigured handle returns INVALID_STATE:1019absent4
entropic_set_residency_observer rejects NULL handle:1028absent3
entropic_set_residency_observer succeeds on unconfigured handle (stash only):1034absent3
entropic_residency_snapshot rejects NULL handle:1042absent4
entropic_residency_snapshot rejects NULL out-pointer:1049absent4
entropic_residency_snapshot on unconfigured handle returns INVALID_STATE:1056absent4
entropic_grammar_register + get round-trip on configured handle:1108absent5
entropic_grammar_register duplicate returns ALREADY_EXISTS:1120absent3
entropic_grammar_deregister of unknown key returns NOT_FOUND:1132absent3
entropic_grammar_deregister of registered key succeeds:1140absent5
entropic_grammar_register_file with missing file returns IO:1151absent3
entropic_grammar_list on configured handle returns JSON array:1161absent5
entropic_grammar_get unknown key returns NULL on configured handle:1173absent5
entropic_profile_register with minimal JSON succeeds:1183absent3
entropic_profile_register without name returns INVALID_ARGUMENT:1192absent3
entropic_profile_register with malformed JSON returns INVALID_ARGUMENT:1200absent3
entropic_profile_get returns JSON for registered profile:1208absent5
entropic_profile_list on configured handle returns JSON array:1220absent5
entropic_profile_deregister of unknown returns PROFILE_NOT_FOUND:1230absent3
entropic_profile_deregister of registered profile succeeds:1238absent3
entropic_throughput_tok_per_sec returns 0 on fresh tracker:1248absent3
entropic_throughput_reset on configured handle is safe:1256absent3
entropic_grant_mcp_key on configured handle exercises mcp_auth path:1267absent2
entropic_revoke_mcp_key on configured handle exercises mcp_auth path:1280absent2
entropic_check_mcp_key on configured handle returns int verdict:1290absent3
entropic_list_mcp_keys on configured handle returns JSON or NULL:1301absent5
entropic_serialize_mcp_keys on configured handle returns JSON:1313absent5
entropic_deserialize_mcp_keys with empty JSON object on configured handle:1324absent2
entropic_deserialize_mcp_keys with malformed JSON returns INVALID_CONFIG:1332absent2
entropic_grant_mcp_key_from on configured handle exercises grant_from:1340absent3
entropic_identity_count returns total + dynamic on configured handle:1355absent2
entropic_identity_count with NULL total returns INVALID_ARGUMENT:1367absent2
entropic_identity_count accepts NULL dynamic pointer:1375absent2
entropic_create_identity with valid JSON succeeds:1384absent3
entropic_create_identity with malformed JSON returns INVALID_CONFIG:1393absent3
entropic_create_identity with empty name returns INVALID_CONFIG or error:1401absent3
entropic_update_identity on existing dynamic identity succeeds:1411absent3
entropic_update_identity with malformed JSON returns INVALID_CONFIG:1423absent3
entropic_destroy_identity on unknown name returns error:1431absent2
entropic_destroy_identity on created dynamic identity succeeds:1439absent3
entropic_get_identity_config for known dynamic identity returns JSON:1450absent5
entropic_get_identity_config for unknown returns NULL:1463absent5
entropic_list_identities on configured handle returns JSON array:1471absent5
entropic_adapter_list on configured handle returns empty array:1483absent5
entropic_adapter_state on configured handle for unknown adapter returns COLD:1493absent3
entropic_adapter_info on configured handle for unknown adapter:1502absent5
entropic_adapter_load on configured handle with bad path fails cleanly:1511absent8
entropic_adapter_unload on configured handle for unknown adapter:1520absent4
entropic_adapter_swap on configured handle without backend fails:1528absent3
entropic_context_clear on configured handle succeeds:1538absent4
entropic_context_get on configured handle returns JSON array:1546absent5
entropic_context_count on configured handle returns 0 messages:1558absent2
entropic_metrics_json on configured handle returns JSON:1568absent3
entropic_validation_set_enabled on configured handle without validator:1581absent2
entropic_validation_set_identity with NULL identity returns INVALID_ARGUMENT:1590absent2
entropic_validation_last_result on configured handle without validator:1599absent6
entropic_get_diagnostic_prompt on configured handle returns text:1610absent3
entropic_speculative_compat on configured handle returns OK or INVALID_STATE:1622absent4
entropic_residency_snapshot on configured handle returns JSON or INVALID_STATE:1633absent4
entropic_model_has_vision on configured handle for unknown tier returns 0:1645absent3
entropic_get_logprobs on configured handle without active tier fails:1653absent10
entropic_get_logprobs with n_tokens<2 returns INVALID_ARGUMENT:1663absent10
entropic_compute_perplexity on configured handle without tier fails:1673absent9
entropic_free_logprob_result frees internal arrays safely:1693absent2
entropic_run on configured handle without active model returns error:1708absent12
entropic_run_messages on configured handle with empty array:1724absent12
entropic_run_messages on configured handle with malformed JSON:1739absent12
entropic_run_messages with image content but no vision tier:1749absent12
entropic_run_messages_streaming on configured handle with empty array:1765absent12
entropic_context_usage on configured handle returns OK or INVALID_STATE:1782absent3
entropic_interrupt on configured handle is OK:1791absent3
entropic_set_stream_observer rebinds on configured handle:1801absent2
entropic_set_state_observer rebinds on configured handle:1811absent—
entropic_set_queue_observer rebinds on configured handle:1819absent—
entropic_set_delegation_callbacks on configured handle:1827absent3
entropic_set_attempt_boundary_cb on configured handle:1835absent—
entropic_set_critique_callbacks on configured handle:1843absent3
entropic_set_residency_observer on configured handle:1851absent3
entropic_user_message_queue_depth returns 0 on configured handle:1861absent2
entropic_clear_user_message_queue on configured handle is OK:1871absent2
entropic_queue_user_message on configured handle but idle returns INVALID_STATE:1879absent2
entropic_seconds_since_last_activity on configured handle returns >=0:1889absent2
entropic_configure_dir on a tmp dir runs the loader path:1904absent78
entropic_configure_dir with empty string path returns an error code, not an exception:1915absent78
entropic_configure_dir on /dev/null subpath returns an error, not an exception:1924absent78
entropic_validation_accept_last on configured handle without validator:1937absent3
entropic_validation_resume_retry on configured handle without validator:1945absent2
entropic_validation_set_auto_retry on configured handle:1953absent2
MCP key full round-trip on configured handle (best effort):1965absent7
entropic_grammar_validate accepts trivial GBNF:1996absent4
entropic_grammar_validate rejects clearly invalid GBNF:2006absent4
entropic_last_error returns a string on NULL handle:2040absent3
entropic_last_error returns empty string on fresh handle:2047absent3
entropic_last_error reflects most-recent operation failure:2056absent78
entropic_register_hook rejects NULL handle:2080absent2
entropic_register_hook rejects NULL callback:2088absent2
entropic_register_hook succeeds on created handle (registry pre-wired):2096absent2
entropic_register_hook + deregister_hook round-trip on created handle:2104absent2
entropic_deregister_hook rejects NULL handle:2116absent2
entropic_deregister_hook of unregistered triple is idempotent OK:2124absent2
entropic_register_hook spans multiple hook points on same handle:2132absent2
entropic_register_hook on configured handle uses the live registry:2158absent2
entropic_storage_open rejects NULL handle:2172absent4
entropic_storage_open rejects NULL db_path:2178absent3
entropic_storage_open with valid tmp path opens a SQLite backend:2185absent3
entropic_storage_open into a path under a missing directory fails:2204absent3
entropic_storage_close rejects NULL handle:2212absent2
entropic_storage_close before any open is OK (no-op):2218absent—
entropic_storage_open then close on configured handle:2224absent3
entropic_audit_flush rejects NULL handle:2243absent2
entropic_audit_flush on fresh handle is OK (no logger):2249absent—
entropic_audit_flush on configured handle is OK:2255absent—
entropic_audit_count rejects NULL handle:2262absent2
entropic_audit_count rejects NULL out-pointer:2269absent2
entropic_audit_count on fresh handle returns 0 (no logger):2276absent2
entropic_audit_count on configured handle returns 0:2284absent2
entropic_audit_read rejects NULL handle:2294absent—
entropic_audit_read rejects NULL path:2301absent—
entropic_audit_read rejects NULL result_json:2309absent—
entropic_audit_read on missing file returns IO:2316absent—
entropic_audit_read on empty file returns empty JSON array:2325absent—
entropic_audit_read on populated file returns each line:2342absent—
entropic_load_identity rejects NULL handle:2371absent2
entropic_load_identity on unconfigured handle returns INVALID_STATE:2377absent2
entropic_load_identity rejects NULL identity_name on configured handle:2384absent2
entropic_load_identity for unknown identity returns NOT_FOUND:2392absent2
entropic_load_identity for created dynamic identity succeeds:2400absent3
entropic_get_identity rejects NULL handle:2414absent3
entropic_get_identity on unconfigured handle returns INVALID_STATE:2421absent3
entropic_get_identity rejects NULL out-pointer on configured handle:2429absent3
entropic_get_identity returns the first identity as JSON:2437absent3
entropic_compact rejects NULL handle:2469absent3
entropic_compact on unconfigured handle returns INVALID_STATE:2476absent3
entropic_compact on configured handle stubs INVALID_STATE:2484absent3
entropic_register_compactor rejects NULL handle:2495absent2
entropic_register_compactor on unconfigured handle returns INVALID_STATE:2502absent2
entropic_register_compactor with NULL fn returns INVALID_CONFIG on configured handle:2515absent2
entropic_register_compactor with valid fn succeeds on configured handle:2523absent2
entropic_register_compactor with NULL identity maps to global fallback (gh#76):2533absent2
entropic_deregister_compactor rejects NULL handle:2542absent2
entropic_deregister_compactor on unconfigured handle returns INVALID_STATE:2548absent2
entropic_deregister_compactor on configured handle is OK (idempotent, gh#76):2555absent2
entropic_deregister_compactor with NULL identity maps to global (gh#76):2564absent—
entropic_get_default_compactor rejects NULL handle:2571absent2
entropic_get_default_compactor on unconfigured handle returns INVALID_STATE:2579absent2
entropic_get_default_compactor on configured handle returns OK + NULL fn (gh#76):2588absent2
entropic_register_mcp_server rejects NULL handle:2604absent4
entropic_register_mcp_server on unconfigured handle returns INVALID_STATE:2610absent4
entropic_register_mcp_server rejects NULL name on configured handle:2617absent4
entropic_register_mcp_server rejects NULL config_json on configured handle:2625absent4
entropic_register_mcp_server with malformed JSON returns CONNECTION_FAILED:2633absent4
entropic_register_mcp_server with stdio config + env block-filter:2641absent4
entropic_register_mcp_server with sse-only config (url, no command):2656absent4
entropic_deregister_mcp_server rejects NULL handle:2678absent3
entropic_deregister_mcp_server on unconfigured handle returns INVALID_STATE:2684absent3
entropic_deregister_mcp_server rejects NULL name on configured handle:2691absent3
entropic_deregister_mcp_server for unknown name returns SERVER_NOT_FOUND:2699absent3
entropic_list_mcp_servers returns NULL on NULL handle:2708absent—
entropic_list_mcp_servers returns NULL on unconfigured handle:2713absent—
entropic_list_mcp_servers on configured handle returns JSON array:2719absent4
entropic_set_stream_observer rebinds twice without leaking:2731absent2
entropic_set_residency_observer rebinds twice on configured handle:2742absent3
entropic_set_state_observer rebinds twice on configured handle:2754absent3
entropic_grammar_register multiple keys then list contains all:2763absent5
entropic_profile_register with full profile JSON:2782absent5
entropic_identity_count after creating extra dynamic identities:2803absent3
entropic_list_identities reflects dynamic identity create + destroy:2824absent5
entropic_throughput_reset accepts an explicit tier name:2847absent3
entropic_throughput_tok_per_sec accepts explicit tier name:2857absent3
entropic_context_get + context_count remain consistent:2866absent5
entropic_context_clear is idempotent on configured handle:2883absent4
entropic_metrics_json output is valid JSON object on configured handle:2892absent3
entropic_validation_set_auto_retry toggle is idempotent on configured handle:2904absent2
entropic_configure called twice on the same handle returns ALREADY_CONFIGURED:2919absent78
entropic_model_has_vision with NULL model_id returns 0:2940absent3
entropic_model_has_vision with empty model_id returns 0:2947absent3
ExternalBridge dispatch returns parse-error for malformed JSON:3108absent—
ExternalBridge dispatch silently drops notifications (no id):3131absent—
ExternalBridge dispatch handles initialize method:3156absent—
ExternalBridge dispatch handles tools/list method:3178absent—
ExternalBridge dispatch handles shutdown method:3213absent—
ExternalBridge dispatch handles exit method:3232absent—
ExternalBridge dispatch returns method-not-found for unknown method:3250absent—
ExternalBridge dispatch_tool returns error for unknown tool:3271absent—
ExternalBridge tools/call entropic.status drives handle_status:3295absent—
ExternalBridge tools/call entropic.context_count drives handle_count:3321absent—
ExternalBridge tools/call entropic.context_clear drives handle_clear:3347absent—
ExternalBridge tools/call entropic.ask without prompt errors:3373absent—
ExternalBridge tools/call entropic.ask drives handle_ask with prompt:3397absent—
ExternalBridge handle_ask_status emits status + phase after async run:3469absent15
ExternalBridge write_sentinel logs+returns on mkdir failure:3492absent1
ExternalBridge write_sentinel logs+returns on open failure:3510absent1
ExternalBridge async_sentinel_dir empty without handle or override:3538absent1
ExternalBridge start() declines duplicate in-process socket binding:3549absent41
ExternalBridge context_clear cancels queued async tasks (cancel path):3572absent—
ExternalBridge broadcast_notification drops on EAGAIN partial-send:3616absent1
ExternalBridge run_async_ask progress notif carries task_id token:3659absent15
ExternalBridge tools/call ask streams empty progress on null engine:3692absent—
ExternalBridge handle_ask_status survives bad task_id type:3722absent1
ExternalBridge dispatch handles numeric JSON-RPC id:3738absent—
gh#156 a frontmatter-less app_context fails configure :3811absent78
gh#156 a frontmatter-less constitution fails configure too:3838absent78
gh#156 a missing app_context path fails configure:3859absent78
gh#156 inline app_context content still configures:3880absent78
gh#156 app_context false still configures:3892absent78
gh#156 a well-formed app_context file still configures:3904absent78
gh#154 a tier grammar stem that cannot resolve YET still :3946absent78
gh#154 a tier grammar stem that resolves still configures:3971absent78
gh#154 a tier with no grammar is unaffected:3986absent78
gh#154 entropic_metrics_json carries a generations array:3998absent78
gh#164 entropic_release_model rejects a NULL handle:4024absent9
gh#164 entropic_release_model needs a configured engine:4032absent—
gh#164 entropic_release_model names an unknown tier:4039absent78
gh#164 entropic_release_model refuses to unload mid-turn:4054absent78
gh#158 entropic_interrupt_session targets exactly one run:4075absent78
gh#158 interrupt_session on a NULL handle is rejected:4105absent2
gh#165 entropic_session_context_set round-trips through the C ABI:4111absent79
gh#165 entropic_session_context_set guards its preconditions:4144absent79
gh#165 entropic_session_context_set refuses the running session:4161absent79
tests/unit/api/entropic_mcp_test.cpp 7 tests · 7 absent
tests/unit/api/error_enum_test.cpp 6 tests · 6 absent
tests/unit/api/facade_integration_test.cpp 55 tests · 55 absent
testlineresultrequirements
Create and destroy lifecycle:55absent9
Double destroy is safe:70absent9
Configure from JSON string:91absent—
Configure with null JSON returns error:103absent79
Grammar register and get round-trip:121absent6
Grammar list returns JSON array:156absent6
Grammar validate detects invalid GBNF:175absent5
Profile register and list:190absent6
Throughput query on fresh engine:217absent4
MCP key grant and check round-trip:234absent4
MCP key serialize/deserialize round-trip:265absent6
Identity count on fresh engine:283absent3
Dynamic identity create and destroy:302absent4
List identities returns JSON array:325absent6
Storage open and close:347absent5
Audit count on engine with no logger:371absent3
Validation last_result on fresh engine:390absent8
Adapter list on fresh engine:407absent6
Adapter state for unknown adapter:424absent4
MCP server list on fresh engine:441absent7
entropic_context_usage on null handle returns INVALID_HANDLE:459absent4
entropic_context_usage with null out params returns INVALID_ARGUMENT:472absent4
entropic_context_usage on a configured engine returns valid pair:490absent4
entropic_run_messages on null handle returns INVALID_HANDLE:514absent12
entropic_run_messages with null args returns INVALID_ARGUMENT:528absent12
entropic_run_messages with malformed JSON returns GENERATE_FAILED:550absent12
entropic_run_messages: image without vision tier → NO_VISION_TIER:566absent12
entropic_run_messages_streaming validates args:592absent12
entropic_run_messages with console logging disabled still :608absent81
entropic_load_identity for an unknown name on a configured engine:670absent3
entropic_get_identity on a configured engine with no identities loaded :693absent5
entropic_storage_open with NULL handle returns INVALID_HANDLE:727absent5
entropic_storage_open with NULL db_path returns INVALID_ARGUMENT:739absent5
entropic_storage_open with a path inside a non-existent directory :753absent5
entropic_storage_close on NULL handle returns INVALID_HANDLE:778absent3
entropic_storage_close before any open is a safe no-op:790absent3
entropic_audit_flush on NULL handle returns INVALID_HANDLE:806absent3
entropic_audit_flush on a handle with no audit_logger is a no-op:818absent3
entropic_audit_count with NULL out pointer returns INVALID_ARGUMENT:832absent3
entropic_audit_count on NULL handle returns INVALID_HANDLE:846absent3
entropic_audit_read with a missing file returns IO:859absent6
entropic_audit_read with NULL args returns INVALID_ARGUMENT:876absent6
entropic_audit_read on NULL handle returns INVALID_HANDLE:897absent6
entropic_audit_read of an empty JSONL file returns an empty array:910absent7
entropic_audit_read of a populated JSONL file returns each line:930absent7
entropic_compact on NULL handle returns INVALID_HANDLE:964absent4
entropic_compact on a configured handle with no active engine :977absent4
entropic_register_compactor on a minimal-configured handle :997absent3
entropic_register_compactor on NULL handle returns INVALID_HANDLE:1017absent3
entropic_register_compactor with a valid callback exercises check_compactor:1035absent3
entropic_deregister_compactor on NULL handle returns INVALID_HANDLE:1063absent3
entropic_deregister_compactor on a configured handle exercises check_compactor:1075absent3
entropic_get_default_compactor exercises check_compactor + nulls outs:1097absent3
entropic_get_default_compactor on NULL handle returns INVALID_HANDLE:1128absent3
gh#121 regression: configure populates engine's allowed_tools from identity frontmatter:1154absent80
tests/unit/api/final_text_test.cpp 6 tests · 6 absent
tests/unit/api/followup_provider_test.cpp 1 test · 1 absent
tests/unit/api/hook_stub_test.cpp 7 tests · 7 absent
tests/unit/api/http_listener_test.cpp 8 tests · 8 absent
testlineresultrequirements
gh#204: the bearer token is 256 random bits, compared in constant time:89absent—
gh#204: only this loopback endpoint is an acceptable Host:111absent—
gh#204: repeated authentication failures block for a while:120absent1
gh#204: the token lives in a private, owned directory:133absent—
gh#204: the HTTP listener serves the bridge to authenticated clients only:170absent41
gh#204: a listener stopped the instant it started still stops:285absent41
gh#204: an unservable http_port fails configure loudly:307absent79
gh#220: a port another listener holds is refused, not shared:323absent41
tests/unit/api/identity_api_test.cpp 6 tests · 6 absent
tests/unit/api/json_serializers_test.cpp 17 tests · 17 absent
tests/unit/api/mcp_discovery_gate_test.cpp 6 tests · 6 absent
tests/unit/api/message_queue_abi_test.cpp 8 tests · 8 absent
tests/unit/api/multi_handle_test.cpp 9 tests · 9 absent
tests/unit/api/path_approval_test.cpp 4 tests · 4 absent
tests/unit/api/run_session_streaming_as_test.cpp 1 test · 1 absent
tests/unit/api/serialize_messages_utf8_test.cpp 3 tests · 3 absent
tests/unit/api/serve_cli_test.cpp 3 tests · 3 absent
testlineresultrequirements
gh#204: entropic serve hosts the engine for a client holding the token:131absent—
v2.14.1: SIGUSR1 releases models and keeps serving:178absent—
gh#204: entropic serve refuses to look up when it is not:224absent1
tests/unit/api/tool_namespace_test.cpp 4 tests · 4 absent
tests/unit/api/utf8_safe_substr_test.cpp 5 tests · 5 absent
tests/unit/api/workspace_app_context_test.cpp 3 tests · 3 absent
tests/unit/api/workspace_roots_test.cpp 2 tests · 2 absent
tests/unit/api/workspace_test.cpp 1 test · 1 absent
tests/unit/config/app_context_content_test.cpp 2 tests · 2 absent
tests/unit/config/app_context_layering_test.cpp 3 tests · 3 absent
tests/unit/config/bundled_models_test.cpp 4 tests · 4 absent
tests/unit/config/env_overrides_test.cpp 10 tests · 10 absent
tests/unit/config/loader_test.cpp 25 tests · 25 absent
testlineresultrequirements
test_data:26absent—
Parse minimal config:45absent10
Parse config with tiers:72absent10
Layered merge — project overlays global:118absent10
Consumer models block replaces global tiers:153absent10
Comprehensive config exercises every parse_* helper:191absent10
gh#148: gpu_layers accepts a count or the word auto:367absent12
gh#153 #42(iii): cpu_moe_layers parses, and is absent by default:449absent12
gh#157: models.defer_load parses and is not mistaken for a tier:526absent12
load_config_from_string drives parse_config_string + validate:575absent12
gh#108 (v2.10.0): speculative.mtp and static grammar can coexist :633absent12
parse_config_file rejects missing file with read error:754absent10
load_config_from_file forwards file errors through the chain:772absent12
load_layered overlays a project config.local.yaml when present:798absent12
load_config drives global + project + env + validate chain:841absent13
load_config_from_file is the single-file public entry:905absent11
load_layered's consumer-defaults layer overlays before project:932absent12
gh#94: per-tier sampler knobs parse from YAML into TierConfig:975absent12
A tier selects a bundled model by family/size/quant:1055absent12
gh#133 mcp.plugins parses into MCPConfig::plugins:1160absent12
gh#133 fallout: the bundled default must not clobber explicit layers:1224absent11
gh#160 delegation.isolation parses, and a bad mode is refused:1281absent9
mcp.filesystem.allow_outside_root is tri-state and defaults to :1359absent9
mcp.filesystem outside_root_allow / outside_root_deny parse as :1419absent9
mcp.bash.timeout_seconds parses, defaults to 30, and refuses a :1457absent9
tests/unit/config/validate_test.cpp 11 tests · 11 absent
tests/unit/config/yaml_util_test.cpp 7 tests · 7 absent
testlineresultrequirements
extract string from YAML node:41absent1
extract int from YAML node:82absent1
extract bool from YAML node:100absent1
extract_path expands home directory:137absent1
extract_string_list from YAML sequence:170absent1
extract_string_map from YAML mapping:206absent1
expand_home handles edge cases:226absent—
tests/unit/core/auto_chain_test.cpp 5 tests · 5 absent
testlineresultrequirements
should_auto_chain false when no locked tier:75absent20
auto_chain child sets COMPLETE at depth > 0:92absent20
auto_chain root fires tier change at depth 0:123absent20
auto_chain does not fire without config:160absent20
delegation rejected at MAX_DELEGATION_DEPTH:194absent—
tests/unit/core/compaction_test.cpp 11 tests · 11 absent
testlineresultrequirements
TokenCounter heuristic ~4 chars/token:33absent1
TokenCounter cache returns same value:42absent1
TokenCounter count_messages sums correctly:51absent1
TokenCounter usage_percent:64absent1
TokenCounter clear_cache resets:73absent1
Compaction below threshold returns unchanged:85absent—
Compaction above threshold compacts:99absent—
Force compaction bypasses threshold:123absent—
System message preserved in compaction:137absent—
User messages preserved in compaction:154absent—
Compaction disabled warns:182absent—
tests/unit/core/compactor_registry_test.cpp 16 tests · 16 absent
testlineresultrequirements
Default compactor runs when no custom registered:109absent—
Per-identity compactor overrides default:125absent—
Global custom compactor applies to unregistered identities:144absent—
Per-identity takes precedence over global:162absent—
Deregistration falls back to global:179absent—
Deregistration falls back to default:196absent—
Re-registration replaces previous:213absent—
Custom compactor failure falls back to default:233absent—
Custom compactor receives identity in config JSON:250absent—
has_custom_compactor returns correct state:267absent—
has_custom_compactor sees global:283absent—
NULL compactor rejected:294absent—
Concurrent registration and dispatch:305absent2
compact_messages returns populated result:338absent—
wrap_c_compactor JSON serialization handles inputs:383absent—
wrap_c_compactor parses returned messages JSON:417absent—
tests/unit/core/constitutional_validator_test.cpp 38 tests · 38 absent
testlineresultrequirements
Critique start/end callbacks fire around the generate call :164absent6
Compliant output returns unchanged:222absent6
Non-compliant output triggers revision via Path A:248absent6
Max revisions exhausted returns last output:276absent6
Critique-only mode (max_revisions: 0):309absent6
Per-identity opt-out:338absent2
Per-identity override at runtime:358absent2
Global enable toggle at runtime:379absent2
Critique JSON parse succeeds:410absent2
Compliant critique JSON parses correctly:434absent2
Malformed critique JSON returns safe default:455absent2
Critique prompt includes constitution text:474absent2
Disabled validator does not call inference:498absent6
Critique generation failure returns original:523absent6
Last result is populated after validation:548absent6
Multiple violations parsed correctly:573absent2
Critique params include grammar_key and enable_thinking:598absent6
Per-identity rules appended to critique prompt:643absent6
Validation skips pure tool-call output:673absent6
Malformed critique JSON defaults to compliant:717absent6
Lead tier skipped by default skip_tiers:747absent6
Non-lead tiers are validated with default skip_tiers:775absent6
skip_tiers config excludes listed tiers from validation:800absent1
Per-identity override beats skip_tiers:822absent1
build_critique_prompt includes tool context when present:842absent5
handle_hook surfaces tool_evidence into critique prompt (#5):874absent4
handle_hook with empty tool_evidence falls back to manifest only :931absent4
Revision safety valve rejects gutted output:981absent6
Validation falls back to constitution when no tier_rules:1024absent6
Critique prompt prioritizes validation_rules over constitution:1055absent6
Length safety valve marks verdict rejected_reverted_length:1097absent6
Passed verdict set on clean critique:1136absent6
Revised verdict set when revision applied cleanly:1161absent6
critique_tier config flows into params JSON:1191absent6
set_auto_retry(false) pauses validation on rejection:1239absent6
accept_last() finalizes paused attempt as consumer-override:1272absent6
resume_retry() runs the revision loop and converges:1307absent6
attempt_boundary_cb fires per revision:1344absent6
tests/unit/core/context_manager_test.cpp 10 tests · 10 absent
testlineresultrequirements
prune_tool_results stubs old results:53absent—
prune_tool_results keeps recent count:76absent—
prune_old_tool_results TTL-based at high context fill:96absent—
prune_old_tool_results is a no-op below warning threshold:121absent—
prune_old_tool_results engages once fill crosses threshold:148absent—
prune_old_tool_results preserves original_content in metadata :172absent—
prune_old_tool_results respects warning_threshold_percent=0 :207absent—
Context warning injected at threshold:230absent—
Context warning not repeated same iteration:249absent—
refresh_context_limit updates counter:268absent—
tests/unit/core/delegation_manager_test.cpp 33 tests · 33 absent
testlineresultrequirements
execute_delegation returns error for unknown tier:110absent6
child context has correct depth:127absent6
a delegated child is locked to its target tier — the key the :152absent6
child context has fresh messages:192absent6
completion instructions injected for explicit_completion:223absent6
extract_summary prefers explicit completion summary:253absent6
extract_summary falls back to last assistant message:275absent6
extract_summary returns placeholder when no response:296absent6
todo list saved and restored across delegation:313absent6
pipeline executes stages sequentially:362absent6
delegation result captures turn count:390absent6
pipeline forwards prior stage output as context:410absent6
coverage_gap signal propagates from child metadata to :464absent6
coverage_gap absent → result fields stay default:500absent6
start_cb ACCEPT lets delegation proceed:581absent6
start_cb REJECT aborts delegation before child loop runs:604absent6
start_cb receives correct request fields:625absent6
pipeline start_cb fires once with is_pipeline=1:659absent6
pipeline start_cb REJECT skips all stages:689absent6
complete_cb receives patch and files_touched:711absent6
null complete_cb writes patch to pending/<id>.patch:776absent6
complete_cb REJECT writes patch to pending/<id>.patch:823absent6
execute_resume_delegation handles seed history variants:939absent6
execute_resume_delegation precondition rejections:967absent6
Storage interface lifecycle integration:999absent6
log_child_result emits warn branch for terminal_reason:1073absent6
Exception shields treat throwing callbacks as REJECT:1091absent6
Pipeline mid-stream failure paths break the loop:1151absent6
gh#125: execute_pipeline populates stage_log with per-stage results:1199absent6
gh#160: sibling delegations get distinct sandbox ids:1269absent6
gh#160: a nested delegation restores its parent's sandbox:1307absent6
gh#162: seeded context reaches the child's opening message:1366absent6
gh#162: no context means a byte-identical opening message:1418absent6
tests/unit/core/directives_test.cpp 12 tests · 12 absent
testlineresultrequirements
StopProcessing sets flag:30absent—
TierChange updates locked_tier:46absent—
Delegate stores pending:62absent—
Pipeline stores pending:77absent—
Complete sets COMPLETE state:92absent—
InjectContext adds to injected_messages:109absent—
PhaseChange updates active_phase:128absent—
NotifyPresenter fires callback:143absent—
Unknown directive type logs warning:158absent—
StopProcessing halts further processing:170absent—
All 11 directive types construct correctly:190absent—
DirectiveProcessor hook-dispatch paths :234absent—
tests/unit/core/engine_test.cpp 88 tests · 88 absent
testlineresultrequirements
Single iteration completes:39absent20
State transitions IDLE->PLANNING->EXECUTING->COMPLETE:52absent20
Root conversation created at run() init when storage wired (gh#48):76absent20
Max iterations stops loop:114absent20
Interrupt stops loop:127absent20
Metrics accurate after run:150absent20
last_loop_metrics returns zero before any run:164absent—
last_loop_metrics populated after run:177absent20
Streaming interrupt propagates to backend cancel chain :190absent20
Finish reason length continues loop:247absent20
Context anchors persist across runs:261absent20
Tier routing fires callback:277absent20
Streaming generation works:297absent20
Batch generation works:319absent20
relay_single_delegate registers tier:334absent1
interrupt() is idempotent wrt state:359absent2
tier_requires_explicit_completion honours tier resolver:385absent1
gh#209/#212: a turn that ends in ERROR records why, for the caller:431absent21
gh#209/#212: a failed turn is rolled out of the session:500absent2
v2.14.6: the model's own tool call stays in the history it is shown:549absent56
v2.14.6: an empty turn is retried, never accepted as complete:617absent20
v2.14.6: after a nudge, a tier that owes a tool call is forced to make one:660absent20
v2.14.6: after a prose answer is nudged, the forced retry may only :750absent20
zero-tool-call with explicit_completion halts within retry cap:803absent21
a context-overflow refusal fails the turn instead of retrying it:842absent21
is_delegation_cycle flags ancestor reuse:902absent2
is_delegation_repeat_blocked enforces consecutive cap:940absent2
max_consecutive_failed_delegations is configurable:991absent2
interrupt() fires external interrupt callback once:1023absent2
max_iterations override caps loop before global limit:1058absent21
Budget-exhausted forced complete sets terminal_reason metadata:1116absent21
budget_exhausted child is relayed partial to lead (E2):1183absent21
fold_complete_into_assistant: happy path folds summary :1272absent2
fold_complete_into_assistant: refuses when assistant has prose :1307absent2
fold_complete_into_assistant: refuses for non-complete tools :1337absent2
fold_complete_into_assistant: refuses when last msg isn't assistant :1367absent2
fold_complete_into_assistant: refuses when metadata summary missing :1390absent2
fold_complete_into_assistant: refuses on empty message history :1420absent2
defang_meta_action_envelope: reshapes meta {action} results so :1445absent2
gh#88 combined: process_tool_results defangs a meta {action} :1531absent21
gh#84 combined: should_stop halts the loop when the duplicate :1604absent21
fold_complete_into_assistant: long summary preserves UTF-8 :1634absent2
hook dispatch: info / PRE_GENERATE cancel / POST_GENERATE rewrite / ON_ERROR:1718absent20
dir_complete: hook rejection + coverage_gap metadata:1802absent1
directive handlers cover the remaining types:1873absent—
delegation guards reject depth/cycle/repeat/pipeline-depth:1966absent20
gh#77: entropic.complete is terminal when emitted with sibling pipeline:2044absent21
gh#81: interrupt during tool processing halts before pending dispatch:2110absent21
gh#81: run_loop(inherit_interrupt=true) preserves a pre-set interrupt:2134absent21
gh#81: run_loop(inherit_interrupt=false) clears a stale interrupt:2155absent21
resume_delegation failure paths surface typed errors:2175absent20
validation_provider variants are all non-fatal:2218absent20
queue capacity / cap mutation / clear / observer / state slot:2245absent20
run_turn seeds system prompt only when conversation is empty:2292absent—
run_streaming overloads route through agent loop:2323absent2
misc accessors: pause / context_usage / idle / project_dir:2362absent20
set_handoff_rules wires internal tier resolver trampolines:2389absent2
delegation snapshot + per-tier metrics accumulation:2421absent20
set_storage wiring covers init_session_conversation paths:2461absent20
gh#80: budget off (default) does not gate a tool-call-free spiral:2500absent20
gh#80: tokens budget nudges then hard-cuts a tool-call-free spiral:2521absent20
gh#80: a tool call resets the budget window:2548absent20
gh#84: rejected-duplicate tool calls do NOT reset the budget:2612absent20
gh#84: a successful tool call DOES reset the budget:2638absent20
has_tier reflects set_tier_info (gh#99):2665absent1
run_turn_as locks the named tier and seeds its system prompt :2681absent2
run_turn (no override) still routes (gh#99 contrast):2709absent—
gh#111: a delegation whose child produces raw UTF-8 content does not :2759absent21
gh#111: a tool call whose arg carries raw UTF-8 is preserved, not :2815absent21
gh#111: raw UTF-8 in backend-cleaned content is sanitized before it :2852absent21
gh#113: build_delegate_complete_json sanitizes summary at dump sink :2917absent1
gh#119: delegation auto-complete folds child summary into lead's :3034absent21
gh#121: zero-tool-call correction names tier's actual tools:3115absent20
gh#123 part 1: zero-tool-call counter resets after genuine tool call progress:3172absent20
gh#123 part 2: zero-tool-call ceiling is per-tier configurable:3242absent20
gh#123 part 3: prose-only nudge turn does NOT set failure_reason in metadata:3277absent20
gh#123 part 4: ChildContextInfo.max_consecutive_empty_turns_override wired through engine:3307absent20
gh#160: delegation isolation is opt-in and rooted at the :3399absent2
gh#162: resume by target picks that tier's latest delegation:3470absent21
gh#169: a capped loop carries its last real content, annotated:3583absent21
gh#169: a capped loop that produced nothing stays distinguishable:3628absent21
gh#169: the parent relay receives the capped child's real work:3667absent21
gh#181: a thinking-budget hard cut carries the run's real content:3769absent21
gh#181: a hard cut with nothing substantive stays distinguishable:3820absent21
gh#181: the parent relay receives the hard-cut child's real work:3862absent21
gh#182: a model-supplied max_turns bounds the delegated child:4139absent21
gh#183: a tier's identity overrides reach a top-level run:4276absent21
gh#183: a fresh top-level run still clears a stale interrupt:4346absent21
tests/unit/core/hook_registry_test.cpp 15 tests · 15 absent
tests/unit/core/identity_manager_test.cpp 26 tests · 26 absent
testlineresultrequirements
load_static loads identities:124absent—
create minimal dynamic identity:144absent—
create duplicate rejected:162absent—
create exceeds max rejected:173absent—
create registers MCP keys:186absent2
create with allow_dynamic=false rejected:205absent—
update dynamic succeeds:219absent—
update static rejected:237absent—
update nonexistent rejected:248absent—
update refreshes MCP keys:258absent2
destroy dynamic succeeds:280absent—
destroy static rejected:292absent—
destroy nonexistent rejected:302absent—
destroy in-use rejected:312absent—
destroy unregisters MCP keys:329absent1
get returns config:346absent—
get nonexistent returns null:358absent—
list includes all identities:367absent—
list_routable excludes non-routable:380absent—
count total and dynamic:406absent—
router dirty on create:426absent—
router dirty cleared:437absent—
router dirty on destroy:448absent—
router dirty on update:460absent—
cache invalidator fires on create/update/destroy:477absent—
cache invalidator unset is safe:500absent—
tests/unit/core/identity_validation_test.cpp 14 tests · 14 absent
testlineresultrequirements
valid names accepted:83absent—
uppercase name rejected:93absent—
name with spaces rejected:101absent—
leading digit rejected:109absent—
empty name rejected:117absent—
name too long rejected:125absent—
reserved names rejected:134absent—
special chars rejected:144absent—
empty focus rejected:156absent—
nonexistent grammar_id rejected:169absent—
empty grammar_id accepted:179absent—
valid grammar_id accepted:188absent1
phase empty name rejected:200absent—
phase negative tokens rejected:210absent—
tests/unit/core/message_queue_test.cpp 9 tests · 9 absent
tests/unit/core/prompt_log_util_test.cpp 3 tests · 3 absent
testlineresultrequirements
v2.12.2: a growing conversation logs each body exactly once:26absent—
v2.12.2: the reference line can still place the message:49absent—
v2.12.2: an operator can still demand the unabridged dump:67absent—
tests/unit/core/response_generator_test.cpp 19 tests · 19 absent
tests/unit/core/sandbox_test.cpp 15 tests · 15 absent
testlineresultrequirements
SandboxManager creates session dir under $HOME/.entropic/sandbox:109absent—
SandboxManager destructor removes the session sandbox tree:122absent—
SandboxManager never modifies the user project (git source):140absent—
SandboxManager never modifies the user project (plain source):160absent—
create_sandbox copies project files to sandbox (git source):180absent—
create_sandbox honors .gitignore on git sources:192absent—
create_sandbox chains forward-carry from a prior sandbox:212absent—
finalize_sandbox returns empty patch when nothing changed:231absent—
finalize_sandbox produces a unified diff for edited files:245absent—
discard_sandbox refuses paths outside session base:263absent—
test_swap:292absent—
ScopedSandbox swaps on construct and restores on destruct:306absent—
ScopedSandbox no-op when swap_fn is null:327absent—
gh#160: next_delegation_id never repeats:333absent—
SandboxManager survives discard+create cycle:364absent—
tests/unit/core/session_conversation_test.cpp 7 tests · 7 absent
tests/unit/core/stream_route_test.cpp 1 test · 1 absent
tests/unit/core/stream_think_filter_test.cpp 2 tests · 2 absent
tests/unit/core/turn_exclusion_test.cpp 4 tests · 4 absent
tests/unit/core/validation_hook_test.cpp 8 tests · 8 absent
tests/unit/core/workspace_prompt_test.cpp 1 test · 1 absent
tests/unit/inference/adapter_base_test.cpp 12 tests · 12 absent
testlineresultrequirements
TestAdapter:19absent—
Tagged tool call parsing:40absent1
Think block handling:75absent1
Response completeness detection:109absent1
Malformed JSON recovery:161absent1
try_recover_json regex fallback + full-miss:222absent—
format_tools default formatter shape + malformed catch:239absent—
format_tool_result default user-message + content_parts shapes:260absent—
parse_tagged_tool_calls warns on markup substring without match:292absent—
recover_action_envelope_calls maps {action} envelope + name shape:309absent2
apply_action_envelope_recovery substitutes only when empty + found:365absent2
coerce_string_typed_args restores string typing per schema:392absent1
tests/unit/inference/adapter_manager_test.cpp 20 tests · 20 absent
tests/unit/inference/adapter_orchestrator_test.cpp 6 tests · 6 absent
testlineresultrequirements
Config adapter_path stored in TierConfig:55absent—
RoutingResult has adapter fields:66absent—
RoutingResult adapter fields default empty:75absent—
AdapterState enum values are correct:82absent—
AdapterInfo default state is COLD:88absent—
TierConfig adapter_scale defaults to 1.0:97absent—
tests/unit/inference/auto_placement_test.cpp 8 tests · 8 absent
tests/unit/inference/backend_capabilities_test.cpp 14 tests · 14 absent
testlineresultrequirements
Base class defaults to no capabilities:136absent1
Overridden capabilities are reported correctly:169absent1
Default backend info has name only:201absent1
Overridden backend info populates fields:224absent1
Default state operations return false:243absent1
State operations require loaded model:275absent1
Overridden clear_state works when loaded:298absent1
generate_seq defaults to generate:323absent1
generate_seq requires ACTIVE state:343absent1
generate_streaming_seq requires ACTIVE state:361absent1
GenerationResult has seq_id field defaulting to 0:380absent—
ModelConfig has model_format defaulting to gguf:393absent—
_COUNT equals number of real capabilities:406absent—
AUDIO capability advertised when projector supports audio:418absent—
tests/unit/inference/backend_lifecycle_test.cpp 11 tests · 11 absent
testlineresultrequirements
Backend lifecycle transitions:127absent1
Idempotent transitions:180absent1
Generation requires ACTIVE state:221absent1
load_and_activate from COLD:262absent1
Load failure keeps COLD state:280absent1
v2.3.10 backend topup — lifecycle error paths:408absent—
v2.3.10 backend topup — generation rejects non-ACTIVE:440absent—
v2.3.10 backend topup — generation succeeds when ACTIVE:460absent—
v2.3.10 backend topup — evaluate_logprobs validation + success:498absent—
v2.3.10 backend topup — state management default + override:522absent—
v2.3.10 backend topup — queries, count_tokens, capabilities, info:552absent—
tests/unit/inference/backend_real_model_smoke_test.cpp 1 test · 1 absent
tests/unit/inference/batch_kv_util_test.cpp 3 tests · 3 absent
tests/unit/inference/batch_util_test.cpp 13 tests · 13 absent
testlineresultrequirements
batch_shared_prefix_len: fewer than 2 sequences → 0:22absent—
batch_shared_prefix_len: common prefix, capped one below shortest:28absent—
batch_shared_prefix_len: identical sequences cap at shortest-1:40absent—
batch_shared_prefix_len: no common first token → 0:48absent—
batch_shared_prefix_len: any empty sequence → 0:54absent—
batch_shared_prefix_len: single-token shortest → 0 (needs a suffix):60absent—
batch_shared_prefix_len: realistic same-prefix NPC batch:66absent—
batch_is_viable: viable when all conditions hold:82absent—
batch_is_viable: hybrid arch is never batched (seq ops unsafe):88absent—
batch_is_viable: fewer than 2 requests → serial:94absent—
batch_is_viable: no shared prefix (disjoint) → serial:99absent—
batch_is_viable: batch exceeds sequence slots → serial:104absent—
batch_is_viable: suffix tokens overrun the decode batch → serial:110absent—
tests/unit/inference/context_fit_test.cpp 5 tests · 5 absent
testlineresultrequirements
context_fit_overflows refuses only what genuinely cannot fit:154absent2
the refusal names every number an operator needs:191absent2
the largest contributor is attributed to the right part:222absent—
a tier whose staged tools overflow its context refuses the turn :264absent2
a prompt that fits is not refused:328absent1
tests/unit/inference/deferred_load_test.cpp 4 tests · 4 absent
tests/unit/inference/empty_content_diagnosis_test.cpp 2 tests · 2 absent
tests/unit/inference/expert_offload_test.cpp 6 tests · 6 absent
tests/unit/inference/gemma4_dropped_tool_text_test.cpp 1 test · 1 absent
tests/unit/inference/gemma4_required_grammar_test.cpp 2 tests · 2 absent
tests/unit/inference/generation_params_test.cpp 15 tests · 15 absent
testlineresultrequirements
GenerationParams defaults:12absent—
min_p field round-trips through GenerationParams:38absent—
min_p coexists with top_p / top_k / temperature without aliasing:96absent—
min_p default preserves pre-v2.3.10 sampler-chain shape exactly:128absent—
seed field round-trips through GenerationParams:148absent—
presence_penalty field round-trips through GenerationParams:170absent1
presence_penalty is independent of other penalty/sampling knobs:205absent—
presence_penalty default still gates the penalties sampler OFF :221absent—
frequency_penalty field round-trips through GenerationParams:248absent1
frequency_penalty is independent of other penalty/sampling knobs:283absent—
presence + frequency penalties coexist independently:300absent—
logit_bias field round-trips through GenerationParams:320absent—
logit_bias is independent of other sampler knobs:352absent—
logit_bias empty leaves the sampler stage disabled (backward-compat):370absent—
ModelState enum values:384absent—
tests/unit/inference/generation_summary_test.cpp 3 tests · 3 absent
testlineresultrequirements
v2.12.2: a plain decode summary keeps its long-standing shape:29absent—
v2.12.2: a speculative summary reports throughput in the SAME field:54absent—
v2.12.2: degenerate generations still format without lying:90absent—
tests/unit/inference/grammar_engagement_test.cpp 3 tests · 3 absent
tests/unit/inference/grammar_orchestrator_test.cpp 9 tests · 9 absent
tests/unit/inference/grammar_registry_test.cpp 18 tests · 18 absent
testlineresultrequirements
Register grammar from in-memory string:62absent2
Duplicate key registration fails:89absent2
Invalid grammar registered with error metadata:110absent2
Deregister removes grammar:134absent2
Deregister nonexistent key returns false:154absent1
Get nonexistent key returns empty string:170absent—
Validate accepts well-formed GBNF:187absent1
Validate rejects malformed GBNF:195absent1
Validate rejects empty string:204absent1
List returns all registered grammars:213absent2
Clear removes all grammars:238absent2
Load bundled grammars from directory:258absent2
Load bundled from nonexistent directory:303absent2
Register grammar from file:319absent2
Register from nonexistent file fails:353absent2
Concurrent register and get are thread-safe:370absent2
GrammarEntry default-constructed is empty:402absent—
GenerationParams grammar_key defaults empty:418absent—
tests/unit/inference/grammar_source_invariant_test.cpp 3 tests · 3 absent
tests/unit/inference/image_preprocessor_test.cpp 9 tests · 9 absent
tests/unit/inference/inference_c_api_test.cpp 36 tests · 36 absent
testlineresultrequirements
entropic_plugin_api_version returns the wire version:252absent—
entropic_create_inference_backend yields a destroyable handle:258absent1
entropic_inference_load rejects NULL handle:274absent1
entropic_inference_activate rejects NULL handle:281absent2
entropic_inference_deactivate rejects NULL handle:288absent1
entropic_inference_unload rejects NULL handle:295absent2
entropic_inference_state returns COLD for NULL handle:302absent1
entropic_inference_generate rejects NULL handle:309absent3
entropic_inference_generate rejects NULL result pointer:318absent3
entropic_inference_generate_streaming rejects NULL handle / callback:327absent3
entropic_inference_complete rejects NULL handle / prompt / result:343absent1
entropic_inference_count_tokens returns 0 for NULL handle / text:358absent1
entropic_inference_load forwards success:370absent1
entropic_inference_load returns LOAD_FAILED on backend failure:379absent1
entropic_inference_load catches exceptions and returns LOAD_FAILED:388absent1
entropic_inference_load parses ModelConfig JSON fields:397absent1
entropic_inference_activate happy and failure paths:419absent2
entropic_inference_deactivate increments the counter:446absent2
entropic_inference_unload increments the counter:457absent2
entropic_inference_state returns the backend's state enum:469absent3
entropic_inference_count_tokens delegates to backend when loaded:485absent2
entropic_inference_count_tokens falls back when backend is COLD:499absent1
entropic_inference_generate returns serialized JSON result:512absent5
entropic_inference_generate returns error_code on backend failure:534absent5
entropic_inference_generate catches backend exceptions:555absent5
entropic_inference_generate_with_cancel rejects NULL handle / result:575absent2
entropic_inference_generate_with_cancel completes when not cancelled:591absent4
entropic_inference_generate_with_cancel honors a NULL cancel pointer:613absent4
entropic_inference_generate_with_cancel aborts mid-decode when flag set:630absent4
entropic_inference_generate_streaming fires the token callback:659absent5
entropic_inference_generate_streaming respects cancel flag:688absent5
entropic_inference_complete returns serialized result:704absent3
entropic_inference_free tolerates nullptr:725absent—
entropic_inference_destroy with nullptr is a no-op:733absent1
inference C ABI: exception paths + parse_params field sweep:748absent8
entropic_inference_log_to_file: every branch + ggml callbacks:818absent—
tests/unit/inference/interface_factory_test.cpp 5 tests · 5 absent
tests/unit/inference/load_count_test.cpp 2 tests · 2 absent
tests/unit/inference/logprob_evaluation_test.cpp 12 tests · 12 absent
tests/unit/inference/model_skip_reason_test.cpp 4 tests · 4 absent
tests/unit/inference/mtp_envelope_test.cpp 9 tests · 9 absent
tests/unit/inference/multi_handle_state_test.cpp 1 test · 1 absent
tests/unit/inference/nemotron3_adapter_test.cpp 5 tests · 5 absent
testlineresultrequirements
Nemotron3 XML function call parsing:22absent3
Nemotron3 reasoning-trace stripping:46absent3
Nemotron3 fallback to tagged JSON:91absent3
Nemotron3 tool result wraps in tool_response tags:110absent—
Nemotron3 chat format is GGUF-embedded:125absent—
tests/unit/inference/orchestrator_real_model_smoke_test.cpp 1 test · 1 absent
testlineresultrequirements
ModelOrchestrator real-model generate (one load, CPU):45absent55
tests/unit/inference/orchestrator_test.cpp 27 tests · 27 absent
testlineresultrequirements
Handoff rules:59absent1
Orchestrator query interface:77absent1
Orchestrator has_vision_capable_tier reports false on empty:89absent1
Orchestrator get_adapter returns nullptr for unknown tier:96absent—
Orchestrator get_backend returns nullptr for unknown tier:104absent—
Orchestrator accessor functions return mutable references safely:112absent—
Orchestrator clear_all_prompt_caches is safe on empty state:128absent1
Orchestrator load_grammars_from with missing dir returns 0:136absent1
Orchestrator initialize against missing tier paths fails cleanly:145absent7
Orchestrator can_handoff with empty rules returns false for any pair:158absent1
Orchestrator shutdown is safe on uninitialized state:167absent2
Orchestrator drives create_tier_backends + activation failure:244absent7
Orchestrator generate() returns typed error when tier missing:317absent55
Orchestrator route() exercises both enabled and disabled paths:357absent6
Orchestrator residency observer set/clear + speculative setters:383absent1
Orchestrator VRAM budget env override is read at initialize:409absent6
Orchestrator multi-instance side-by-side construction:440absent6
Orchestrator load_grammars_from with valid directory loads files:486absent1
Orchestrator accessors expose subsystem references on a fresh instance:504absent—
Orchestrator route() with router configured but unloadable:548absent6
Orchestrator residency_snapshot_json reports configured budget:580absent6
Orchestrator generate_streaming error + routing + fallback paths:602absent55
Orchestrator empty-tiers + handoff + observer + accessor coverage:642absent7
gh#82: apply_tier_sampler_overrides honors tier baseline + per-call override:686absent2
gh#85: the remaining sampler knobs apply with the same precedence:744absent2
gh#86: enable_thinking + repeat_penalty thread through to params:801absent2
Orchestrator member apply_tier_sampler_defaults maps all 8 :884absent8
tests/unit/inference/partial_offload_test.cpp 9 tests · 9 absent
tests/unit/inference/profile_registry_test.cpp 11 tests · 11 absent
tests/unit/inference/prompt_cache_test.cpp 13 tests · 13 absent
tests/unit/inference/qwen35_adapter_test.cpp 4 tests · 4 absent
tests/unit/inference/qwen36_adapter_test.cpp 6 tests · 6 absent
tests/unit/inference/release_model_test.cpp 2 tests · 2 absent
tests/unit/inference/residency_test.cpp 5 tests · 5 absent
testlineresultrequirements
Residency snapshot on a default-constructed orchestrator:33absent1
Residency observer slot accepts and clears callables:48absent—
Last residency error defaults to OK and clears on demand:66absent—
ENTROPIC_ERROR_TIER_MODEL_TOO_LARGE has a stable name:75absent1
Residency event enum matches the public C ABI:84absent—
tests/unit/inference/sampler_seam_test.cpp 10 tests · 10 absent
tests/unit/inference/secondary_model_loader_test.cpp 7 tests · 7 absent
tests/unit/inference/seq_id_pool_test.cpp 2 tests · 2 absent
testlineresultrequirements
temp seq_id pool hands out distinct ids on an empty pool (gh#98):27absent—
released temp seq_ids are reused, keeping the high-water bounded :42absent—
tests/unit/inference/session_pool_util_test.cpp 5 tests · 5 absent
tests/unit/inference/session_residency_test.cpp 5 tests · 5 absent
tests/unit/inference/speculative_compat_test.cpp 12 tests · 12 absent
tests/unit/inference/thinking_markers_test.cpp 4 tests · 4 absent
tests/unit/inference/throughput_tracker_test.cpp 12 tests · 12 absent
tests/unit/inference/tier_grammar_gate_test.cpp 3 tests · 3 absent
tests/unit/inference/tokenizer_seam_test.cpp 7 tests · 7 absent
tests/unit/inference/tool_call_markers_test.cpp 2 tests · 2 absent
tests/unit/inference/tool_call_serialize_test.cpp 5 tests · 5 absent
testlineresultrequirements
serialize_tool_calls: empty input is an empty JSON array:37absent—
serialize_tool_calls: name is preserved and arguments is an object:42absent—
serialize_tool_calls: JSON-valued argument strings keep their type:55absent—
gh#118: serialize_tool_calls does not throw on MTP-split UTF-8 argument value:80absent—
serialize_tool_calls: multiple calls preserve order:100absent—
tests/unit/inference/utf8_ingress_invariant_test.cpp 1 test · 1 absent
testlineresultrequirements
gh#136 sanitized model output is always serializable:75absent1
tests/unit/inference/vision_adapter_test.cpp 4 tests · 4 absent
testlineresultrequirements
TestAdapter:21absent—
Base adapter returns system prompt unchanged with vision=false:37absent—
Base adapter format_content_parts produces OpenAI JSON:53absent—
format_content_parts yields the base OpenAI content array:86absent—
tests/unit/inference/vocab_only_smoke_test.cpp 10 tests · 10 absent
testlineresultrequirements
LlamaCppTokenizer round-trips ASCII against a real vocab:79absent1
LlamaCppTokenizer is graceful on empty input:126absent1
LlamaCppTokenizer handles unicode + multi-byte UTF-8:147absent—
LlamaCppTokenizer with add_special=true differs from false:172absent1
LlamaCppTokenizer handles a small SPM vocab as well:195absent—
LlamaCppBackend::load against a vocab-only GGUF exercises do_load:211absent2
LlamaCppBackend::load with a nonexistent path drives the failure branch:254absent1
LlamaCppBackend unload after failed load is a safe no-op:280absent2
LlamaCppTokenizer detokenize sweeps every token in the vocab:306absent—
LlamaCppBackend re-load after unload reuses do_load:328absent2
tests/unit/inference/vram_footprint_test.cpp 7 tests · 7 absent
tests/unit/inference/warm_keep_util_test.cpp 7 tests · 7 absent
testlineresultrequirements
common_prefix_len matches leading tokens:25absent—
warm_keep_cut: happy path reuses the shared prefix:36absent—
warm_keep_cut: divergence mid-history caps reuse at the cut:48absent—
warm_keep_cut: no shared prefix falls back (tier/system swap):56absent—
warm_keep_cut: occupancy gate catches out-of-band KV wipe:63absent—
warm_keep_cut: degenerate inputs fall back:76absent—
warm_keep_cut: identical sequence still decodes the last token:83absent—
tests/unit/inference/xml_parameter_parser_test.cpp 11 tests · 11 absent
tests/unit/mcp/discovery_policy_test.cpp 2 tests · 2 absent
testlineresultrequirements
config decides a discovered server before any hook is asked:54absent—
an entropic mcp-bridge entry is recognised wherever it would connect:90absent2
tests/unit/mcp/external_bridge_test.cpp 32 tests · 32 absent
testlineresultrequirements
handle_ask_status returns error for unknown task_id:29absent2
Async ask registers task and completes with error on null handle:50absent15
Cleanup removes expired tasks but keeps fresh ones:77absent15
async_sentinel_dir is empty when handle is null:111absent1
write_sentinel writes one file per terminal status, :126absent2
run_async_ask writes a sentinel atomically with status:160absent15
cleanup_expired_tasks removes sentinel files for :185absent1
ExternalBridge constructs with explicit socket_path:221absent—
ExternalBridge derives socket_path when not configured:236absent—
broadcast_notification fans out to every subscriber:272absent2
broadcast_notification drops fds whose write fails:309absent2
async task phase transitions through the lifecycle:337absent15
Phase observer generation counter discards stale post-detach fires (E5+E6):366absent5
mark cancelling flips queued/running tasks:444absent2
Async ask emits notifications/progress (not ask_complete) :529absent15
Async ask notification method is in the MCP-spec allowed set:582absent15
broadcast_notification does not block when peer recv buffer is full:634absent2
Bridge accepts multiple concurrent client connections:704absent3
Bridge stop() cleanly joins per-client threads:790absent3
Bridge refuses to bind when socket path is a symlink:840absent2
Bridge refuses to bind when socket path is a regular file:869absent2
Bridge sets socket file mode to 0600:897absent3
Bridge sets ~/.entropic/socks/ directory mode to 0700:924absent3
Bridge accepts same-uid client (SO_PEERCRED baseline):951absent3
ExternalMCPConfig.ask_streaming defaults to true:1003absent—
ExternalBridge::ask_streaming() reflects the config field:1013absent—
gh#144: the turn queue serialises callers in FIFO order:1035absent2
gh#144: a caller that gives up does not stall the line:1110absent2
gh#144: the ask tool advertises session as OPTIONAL:1145absent41
v2.14.0: an async completion reaches its owner and no other client:1206absent15
v2.14.0: turns queue per session, not across the whole bridge:1242absent2
gh#205: ask advertises tier and workspace, both OPTIONAL:1274absent41
tests/unit/mcp/external_client_test.cpp 9 tests · 9 absent
tests/unit/mcp/gh150_interrupt_latch_test.cpp 4 tests · 4 absent
tests/unit/mcp/mcp_authorization_test.cpp 15 tests · 15 absent
testlineresultrequirements
Unregistered identity passes authorization:13absent2
Registered empty identity denies all:20absent2
Grant then check succeeds:28absent2
Revoke then check fails:38absent2
Grant from valid granter succeeds:48absent3
Grant from insufficient level denied:62absent1
Grant from missing key denied:74absent1
Grant from unregistered granter returns NOT_FOUND:86absent1
Grant from unregistered grantee returns NOT_FOUND:96absent1
List keys returns correct vector:107absent—
List keys unregistered returns empty:117absent—
Serialize all roundtrip:124absent2
Unregister disables enforcement:144absent2
is_enforced correct:155absent1
Grant to unregistered identity returns NOT_FOUND:163absent—
tests/unit/mcp/mcp_bridge_relay_test.cpp 2 tests · 2 absent
tests/unit/mcp/mcp_json_discovery_test.cpp 10 tests · 10 absent
testlineresultrequirements
Discover stdio entry from .mcp.json:32absent—
Discover SSE entry from .mcp.json:54absent—
Shadow warning skips existing server:75absent—
Missing command skips stdio entry:94absent—
Env blocklist filters dangerous variables:113absent1
compute_socket_path is deterministic:127absent1
compute_socket_path differs for different dirs:134absent1
Env blocklist applied to .mcp.json entries:141absent—
Malformed JSON skips gracefully:165absent—
Explicit type field overrides inference:183absent—
tests/unit/mcp/mcp_key_set_test.cpp 20 tests · 20 absent
tests/unit/mcp/permission_manager_test.cpp 6 tests · 6 absent
tests/unit/mcp/plugin_loader_test.cpp 7 tests · 7 absent
testlineresultrequirements
gh#133 control: the fixture plugin exports the full contract:102absent—
gh#133 a configured plugin's tools appear in list_tools:161absent—
gh#133 a tool call routes through to the plugin:181absent—
gh#133 a plugin registers as a named server:193absent—
gh#133 a missing plugin .so fails loud, not silently:208absent—
gh#133 a version-mismatched plugin is rejected with its own code:219absent—
gh#133 an empty plugin list is a no-op success:234absent—
tests/unit/mcp/reconnect_policy_test.cpp 7 tests · 7 absent
tests/unit/mcp/server_base_test.cpp 9 tests · 9 absent
tests/unit/mcp/server_manager_test.cpp 20 tests · 20 absent
tests/unit/mcp/servers/bash_test.cpp 12 tests · 12 absent
tests/unit/mcp/servers/context_inspect_test.cpp 6 tests · 6 absent
tests/unit/mcp/servers/diagnose_test.cpp 9 tests · 9 absent
tests/unit/mcp/servers/diagnostics_test.cpp 4 tests · 4 absent
tests/unit/mcp/servers/entropic_test.cpp 29 tests · 29 absent
testlineresultrequirements
test_todo_emits_anchor_and_notify:67absent4
todo update and remove actions mutate the list:83absent4
todo format_list returns '(empty)' once the list is emptied:142absent—
gh#158: the todo list belongs to the calling session:161absent—
test_delegate_emits_stop:188absent4
test_pipeline_requires_two_stages:202absent4
gh#129: pipeline rejects stage names not in tier_names:215absent4
gh#129: pipeline emits directives for all-valid stages:236absent4
test_complete_emits_stop:252absent4
complete with coverage_gap=true requires gap_description:267absent4
complete carries suggested_files into the result:284absent4
test_phase_change_emits_directive:303absent4
test_prune_context_emits_directive:315absent4
test_delegate_skips_duplicate_check:327absent—
test_single_tier_skips_delegate:339absent4
test_one_delegatable_tier_registers_delegate:358absent4
test_one_delegatable_tier_registers_resume:373absent—
Delegate tool enum excludes source tiers:387absent5
resume_delegation emits delegate+stop directives:440absent4
resume_delegation rejects missing args:464absent4
followup reports unavailable without provider:479absent4
followup rejects non-object args with a typed error:491absent4
followup rejects empty query with a typed error:504absent4
followup with malformed (non-JSON) args returns invalid-args error:514absent4
Entropic tools advertise their required access levels:525absent2
gh#162: delegate carries a structured context list:547absent4
gh#162: resume_delegation accepts a target instead of an id:577absent4
gh#162: resume_delegation still needs one of id or target:597absent4
gh#162: a requires_context tier refuses a contextless delegation:607absent4
tests/unit/mcp/servers/filesystem_contract_test.cpp 5 tests · 5 absent
tests/unit/mcp/servers/filesystem_test.cpp 43 tests · 43 absent
testlineresultrequirements
test_read_file_returns_json:152absent4
test_read_file_not_found:173absent4
test_read_file_size_gate:191absent4
test_write_file_requires_read:214absent4
test_write_file_allows_write_after_read_even_if_changed:236absent4
gh#158: the read tracker is per session, and a lookup never :279absent2
gh#158: write_file consults the CALLING session's reads:304absent4
test_edit_str_replace:346absent4
test_edit_str_replace_no_match:378absent4
test_edit_str_replace_multiple_matches:404absent4
test_edit_insert_mode:434absent4
test_glob_finds_files:467absent4
test_glob_simple_pattern:495absent4
test_glob_brace_expansion_real:521absent4
test_glob_brace_expansion_three_alternatives:548absent4
test_grep_brace_expansion_in_glob:576absent4
test_grep_invalid_regex_returns_structured_error:606absent4
test_glob_respects_gitignore:631absent4
test_glob_respects_explorerignore_supplementary:669absent4
test_explorerignore_negation_re_includes_path:703absent4
test_glob_announces_a_truncated_walk:745absent4
test_grep_announces_a_truncated_walk:775absent4
test_glob_and_grep_are_silent_when_the_walk_completes:801absent4
test_read_file_refuses_ignored_path:831absent4
test_glob_skips_directories:856absent4
test_grep_finds_matches:886absent4
test_list_directory_flat:919absent4
test_list_directory_recursive:949absent4
gh#116: list_directory with path omitted uses project root default:983absent5
gh#116: read_file with a directory path returns is_directory error:1015absent5
test_path_security_rejects_traversal:1037absent4
test_read_file_anchor_key:1092absent4
test_skip_duplicate_check_read:1123absent4
FilesystemServer accessors round-trip state:1143absent4
FilesystemServer tools advertise their required access levels:1188absent4
gh#120: read_file lines are an ordered array not a keyed object:1211absent4
gh#126: glob ** pattern matches files at root and in subdirectories:1239absent4
gh#126: glob with directory prefix matches only files in that subdir:1269absent4
gh#124: read_file not-found error message names list_directory:1295absent4
outside-root optional: the approver is asked with path, root, :1370absent4
outside-root optional: a rejection refuses, types the error, :1424absent4
outside-root optional: no approver refuses with a typed, :1453absent4
outside-root: the approver is asked ONLY when the lists and the :1482absent4
tests/unit/mcp/servers/git_injection_test.cpp 4 tests · 4 absent
tests/unit/mcp/servers/git_test.cpp 10 tests · 10 absent
tests/unit/mcp/servers/ignore_matcher_test.cpp 20 tests · 20 absent
tests/unit/mcp/servers/inspect_test.cpp 18 tests · 18 absent
tests/unit/mcp/servers/tool_contract_gate_test.cpp 3 tests · 3 absent
tests/unit/mcp/servers/web_test.cpp 3 tests · 3 absent
tests/unit/mcp/stdio_transport_test.cpp 11 tests · 11 absent
testlineresultrequirements
StdioTransport 5-arg ctor preserves clean display_name:28absent—
StdioTransport falls back to command when display_name empty:36absent—
StdioTransport sanitizes leading slash (BBCode collision):44absent—
StdioTransport strips bracket and control characters:56absent—
StdioTransport sanitization fallback to 'server':64absent—
StdioTransport 1-arg ctor also sanitizes (legacy path):72absent—
StdioTransport rejects open() against a non-existent command:86absent—
StdioTransport open() is idempotent on already-connected state:96absent—
StdioTransport.send_request times out cleanly when child doesn't reply:117absent—
StdioTransport.close() with no prior open() is safe:135absent—
gh#158: an abandoned request's late reply is drained, not returned:145absent—
tests/unit/mcp/tool_call_history_test.cpp 18 tests · 18 absent
tests/unit/mcp/tool_calling_loop_test.cpp 4 tests · 4 absent
tests/unit/mcp/tool_executor_authorization_test.cpp 6 tests · 6 absent
tests/unit/mcp/tool_executor_test.cpp 45 tests · 45 absent
testlineresultrequirements
Process single tool call:281absent53
Duplicate detection skips:295absent53
Circuit breaker at three:312absent53
Duplicate counter resets:334absent53
Delegate sorted last:357absent—
Headless mode denies without callback:373absent53
v2.14.6: a headless host still dispatches engine directives:392absent53
Auto approve skips callback:434absent53
Max tool calls per turn:448absent53
Schema validation rejects invalid enum value:486absent53
gh#190: a structured JSON error counts as a failure everywhere:529absent53
v2.14.0: schema validation enforces declared minimum and maximum:571absent53
Schema validation rejects missing required field:603absent53
Tool call history records successful executions:632absent53
process_single_call completes with locked_tier set:659absent53
effective_max_tool_calls_per_turn overrides global limit:709absent53
PRE/POST_TOOL_CALL fire for successful calls:834absent53
POST_TOOL_CALL fires on duplicate rejection with kind:881absent53
POST_TOOL_CALL fires on schema rejection with kind:915absent53
PRE_TOOL_CALL cancel short-circuits dispatch and still fires POST:947absent53
POST_TOOL_CALL hook transforms successful tool result content:1095absent53
gh#111: POST_TOOL_CALL hook returning malformed UTF-8 is :1125absent53
POST_TOOL_CALL hook transforms duplicate-rejection content:1160absent53
POST_TOOL_CALL hook transforms schema-rejection content:1190absent53
POST_TOOL_CALL with *modified_json == NULL leaves content untouched:1220absent53
Chained POST_TOOL_CALL hooks: last write wins:1253absent53
Anti-spiral hard block stops dispatch and emits :1292absent53
Tool emits directives → ToolExecutor extracts + dispatches them:1342absent53
Anti-spiral hard block uses derived default when sentinel set:1410absent53
gh#83: off-allowlist tool is rejected_unauthorized at dispatch:1449absent53
gh#83: allowlisted tool dispatches normally:1470absent53
gh#83: no map wired = pass-through (pre-v2.5.2 behavior):1491absent53
gh#83: tier with no allowlist entry is unrestricted:1508absent53
gh#211: a tier that declares an EMPTY allowlist may call nothing:1528absent53
gh#83: empty locked_tier bypasses enforcement:1550absent53
gh#143: an argument-free call to a no-required-fields tool :1649absent53
gh#143: dispatch converts a throwing tool into a tool error:1686absent53
gh#143: an argument-free call serialises as an object :1718absent53
gh#168: a PRE_TOOL_CALL hook's modified args reach the tool:1826absent53
gh#168: the rewrite is visible to the dup cache and POST hook:1842absent53
gh#168: a modification that renames the tool is refused:1878absent53
gh#168: a malformed modification is refused, not half-applied:1899absent53
gh#168: a rewritten payload carrying bad UTF-8 is sanitized, :1929absent53
gh#168: a non-zero return still cancels, modification or not:1975absent53
A call that fails identically is refused rather than retried :1992absent53
tests/unit/mcp/tool_registry_test.cpp 8 tests · 8 absent
tests/unit/mcp/tool_result_classify_test.cpp 8 tests · 8 absent
tests/unit/mcp/tool_root_lock_test.cpp 4 tests · 4 absent
tests/unit/mcp/transport_sse_test.cpp 7 tests · 7 absent
testlineresultrequirements
SSETransport rejects URLs with no scheme:130absent2
SSETransport parses host-only URL (no path component):154absent1
SSETransport handles open against a port with no listener:171absent1
SSETransport warns on cleartext HTTP to non-localhost host:187absent1
SSETransport rejects send_request when not opened:205absent2
SSETransport.open() against a real listening server reaches the SSE reader:220absent—
SSETransport.close() is idempotent on an opened transport:235absent—
tests/unit/mcp/utf8_sanitize_test.cpp 12 tests · 12 absent
tests/unit/prompts/classification_prompt_test.cpp 3 tests · 3 absent
tests/unit/prompts/identity_validation_test.cpp 5 tests · 5 absent
tests/unit/prompts/prompt_parse_test.cpp 7 tests · 7 absent
testlineresultrequirements
test_data:19absent—
Parse constitution prompt:24absent1
Parse app_context prompt:52absent1
Type mismatch fails:74absent1
Load identity file:93absent2
Constitution loading with tri-state:180absent—
gh#117: explicit_completion: false in frontmatter is honored when :208absent2
tests/unit/storage/audit_entry_test.cpp 9 tests · 9 absent
tests/unit/storage/audit_logger_test.cpp 14 tests · 14 absent
tests/unit/storage/backend_test.cpp 15 tests · 15 absent
tests/unit/storage/c_interface_test.cpp 13 tests · 13 absent
tests/unit/storage/database_test.cpp 8 tests · 8 absent
tests/unit/storage/permission_persister_test.cpp 7 tests · 7 absent
tests/unit/test_bindings_abi.py 13 tests · 13 absent
testlineresultrequirements
test_every_c_value_has_python_entry:175absent—
test_no_extra_python_entries:196absent—
test_count_matches:207absent—
test_every_c_value_has_python_entry:238absent—
test_every_c_value_has_python_entry:284absent—
test_no_extra_python_entries:304absent—
test_all_2_1_4_symbols_declared:339absent—
test_gh22_symbols_in_lazy_exports:458absent—
test_gh29_symbols_in_lazy_exports:462absent—
test_gh30_symbols_in_lazy_exports:466absent—
test_gh22_symbols_declared_in_bindings:470absent—
test_gh29_symbols_declared_in_bindings:474absent—
test_gh30_symbols_declared_in_bindings:478absent—
tests/unit/test_gen_bindings.py 2 tests · 2 absent
testlineresultrequirements
test_check_passes_on_committed_files:53absent—
test_synthetic_export_changes_generator_output:74absent—
tests/unit/test_pythonic_facade.py 8 tests · 8 absent
tests/unit/types/config_structs_test.cpp 2 tests · 2 absent
testlineresultrequirements
ModelConfig has correct defaults:12absent—
GenerationParams has correct defaults:94absent—
tests/unit/types/content_test.cpp 11 tests · 11 absent
testlineresultrequirements
ContentPart TEXT has correct type:18absent—
ContentPart IMAGE with path:29absent—
ContentPart IMAGE with data URI:38absent—
ContentPart default dimensions are zero:47absent—
extract_text from mixed parts:56absent1
extract_text from text-only parts:77absent1
extract_text from empty parts:88absent1
extract_text from images only:93absent1
has_images detects images:106absent1
has_images returns false for text-only:122absent1
has_images returns false for empty:138absent1
tests/unit/types/error_test.cpp 4 tests · 4 absent
tests/unit/types/logging_test.cpp 22 tests · 22 absent
testlineresultrequirements
Logging initialization is idempotent:18absent2
Named loggers are created on demand:33absent2
Repeated get() returns the same logger:51absent2
Per-handle log scope routes session.log writes per handle :76absent3
HandleLogScope nests correctly (gh#59):131absent2
setup_session + register_handle_log don't double-write :160absent3
Lines emitted with no handle scope route nowhere by handle :209absent2
escape_content passes plain ASCII through unchanged:243absent—
escape_content escapes whitespace control bytes:254absent—
escape_content doubles curly braces so spdlog/fmt won't interpret:272absent—
escape_content rewrites well-formed ANSI CSI sequences to [ESC...]:283absent—
escape_content survives malformed ANSI (ESC without '['):302absent—
escape_content handles ESC at end of string (truncated CSI):322absent—
log_content runs escape pipeline through a logger:335absent2
log_timing logs an operation duration:362absent1
log_tokens reports tokens/sec, handling zero-time edge case:370absent2
log_decision emits routing/decision telemetry:397absent1
add_file_sink attaches a file sink visible to subsequent loggers:405absent2
HandleAwareSink::set_pattern propagates to registered handle sinks:428absent2
HandleAwareSink::set_formatter is reachable via default logger:468absent2
set_console_enabled(true) is a no-op:509absent2
set_console_enabled(false) strips stderr; get() strips for new loggers:522absent2
tests/unit/types/message_multimodal_test.cpp 5 tests · 5 absent
testlineresultrequirements
Text-only message has empty content_parts:17absent—
Default-constructed Message has empty content_parts:26absent—
Message with content_parts populated:36absent1
Message content_parts with data URI:58absent1
Multimodal message preserves metadata:81absent—
tests/unit/types/messages_json_test.cpp 5 tests · 5 absent
tests/unit/types/session_logger_test.cpp 5 tests · 5 absent