REQ-CFG-003: Bundled model registry resolution — keys, selectors, and search order

← Requirements

What it requires

  1. GIVEN a loaded registry, WHEN a key is resolved with ENTROPIC_MODEL_DIR unset, THEN the result is ~/.entropic/models/<name>.gguf; WHEN ENTROPIC_MODEL_DIR is set, THEN the result is <that dir>/<name>.gguf; WHEN an absolute path is resolved, THEN it is returned unchanged; WHEN a ~/-prefixed path is resolved, THEN the tilde is expanded.
  2. GIVEN a registry entry carrying family/size_label/quant, WHEN a tier declares those three keys and no path:, THEN the tier's path resolves to that entry's GGUF.
  3. GIVEN the registry YAML, WHEN loaded, THEN entry key, name, url, size_gb, adapter and description are populated.
tier
NOT_RUN

Where it lives

  • src/config8

See it on the map

How it is met

implemented byresults (135 tests)auto_discover_and_loadfind_byloadparse_bundled_entryparse_model_configresolveresolve_model_pathshare_dir_from_library135 absent135 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (135)

Reached through calls

135 tests: 135 absent

testresultlinked byimplementers exercisedcalls away
outside-root: the SHIPPED default config no longer hands the model absentinferred6 of 81
BundledModels find_by (family, size, quant) (gh#62)absentinferred3 of 8: find_by, load, parse_bundled_entry1
BundledModels resolves keys to pathsabsentinferred3 of 8: load, parse_bundled_entry, resolve1
BundledModels loads registry from YAMLabsentinferred2 of 8: load, parse_bundled_entry1
A tier selects a bundled model by family/size/quantabsentinferred6 of 82
Classification runs the router and yields a configured tierabsentinferred6 of 82
Cleared classification_prompt makes routing a no-op (RED control)absentinferred6 of 82
Comprehensive config exercises every parse_* helperabsentinferred6 of 82
Consumer models block replaces global tiersabsentinferred6 of 82
Layered merge — project overlays globalabsentinferred6 of 82
Parse config with tiersabsentinferred6 of 82
Parse minimal configabsentinferred6 of 82
gh#108 (v2.10.0): speculative.mtp and static grammar can coexist absentinferred6 of 82
gh#133 fallout: the bundled default must not clobber explicit layersabsentinferred6 of 82
gh#133 mcp.plugins parses into MCPConfig::pluginsabsentinferred6 of 82
gh#141 app_context carries inline contentabsentinferred6 of 82
gh#141 every existing app_context spelling keeps its meaningabsentinferred6 of 82
gh#148: gpu_layers accepts a count or the word autoabsentinferred6 of 82
gh#153 #42(iii): cpu_moe_layers parses, and is absent by defaultabsentinferred6 of 82
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 26B-A4B absentinferred6 of 82
gh#153 MTP vs plain decode throughput — four arms, Gemma 4 E4B absentinferred6 of 82
gh#157: models.defer_load parses and is not mistaken for a tierabsentinferred6 of 82
gh#160 delegation.isolation parses, and a bad mode is refusedabsentinferred6 of 82
gh#163 a top-level app_context path survives the config layersabsentinferred6 of 82
gh#193: what cold prefill costs at each residency levelabsentinferred6 of 82
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 131072 contextabsentinferred6 of 82
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 32768 contextabsentinferred6 of 82
gh#197 auto + MTP head on the 26B-A4B IQ2_M at 65536 contextabsentinferred6 of 82
gh#94: per-tier sampler knobs parse from YAML into TierConfigabsentinferred6 of 82
load_config drives global + project + env + validate chainabsentinferred6 of 82
load_config_from_file forwards file errors through the chainabsentinferred6 of 82
load_config_from_file is the single-file public entryabsentinferred6 of 82
load_config_from_string drives parse_config_string + validateabsentinferred6 of 82
load_layered overlays a project config.local.yaml when presentabsentinferred6 of 82
load_layered's consumer-defaults layer overlays before projectabsentinferred6 of 82
parse_config_file rejects missing file with read errorabsentinferred6 of 82
testRunStartingabsentinferred6 of 82
gh#134 (v2.10.4) closest replication of the reported stall configabsentinferred2 of 8: load, parse_bundled_entry2
Configure with null JSON returns errorabsentinferred7 of 83
Double-configure on one handle is refusedabsentinferred7 of 83
Nemotron3-Nano-4B Q8 first inference does not crash (gh#66)absentinferred7 of 83
Three handles can coexistabsentinferred7 of 83
Two GPU-resident handles can coexist (v2.2.8 target)absentinferred7 of 83
Two handles configure independentlyabsentinferred7 of 83
entropic_configure called twice on the same handle returns ALREADY_CONFIGUREDabsentinferred7 of 83
entropic_configure rejects NULL config_jsonabsentinferred7 of 83
entropic_configure rejects NULL handleabsentinferred7 of 83
entropic_configure_dir on /dev/null subpath returns an error, not an exceptionabsentinferred7 of 83
entropic_configure_dir on a tmp dir runs the loader pathabsentinferred7 of 83
entropic_configure_dir rejects NULL handleabsentinferred7 of 83
entropic_configure_dir with empty string path returns an error code, not an exceptionabsentinferred7 of 83
entropic_configure_from_file rejects NULL handleabsentinferred7 of 83
entropic_configure_from_file rejects NULL pathabsentinferred7 of 83
entropic_configure_from_file rejects missing fileabsentinferred7 of 83
entropic_last_error reflects most-recent operation failureabsentinferred7 of 83
entropic_last_error returns per-handle state (v2.2.6)absentinferred7 of 83
entropic_register_mcp_server on a configured handle absentinferred7 of 83
entropic_run_messages with console logging disabled still absentinferred7 of 83
entropic_seconds_since_last_activity returns 0 before any run absentinferred7 of 83
gh#110: MTP engages through the real agent loop (entropic_run)absentinferred7 of 83
gh#121 regression: configure populates engine's allowed_tools from identity frontmatterabsentinferred7 of 83
gh#144: concurrent bridge clients queue instead of racingabsentinferred7 of 83
gh#154 a tier grammar stem that cannot resolve YET still absentinferred7 of 83
gh#154 a tier grammar stem that resolves still configuresabsentinferred7 of 83
gh#154 a tier with no grammar is unaffectedabsentinferred7 of 83
gh#154 entropic_metrics_json carries a generations arrayabsentinferred7 of 83
gh#156 a frontmatter-less app_context fails configure absentinferred7 of 83
gh#156 a frontmatter-less constitution fails configure tooabsentinferred7 of 83
gh#156 a missing app_context path fails configureabsentinferred7 of 83
gh#156 a well-formed app_context file still configuresabsentinferred7 of 83
gh#156 app_context false still configuresabsentinferred7 of 83
gh#156 inline app_context content still configuresabsentinferred7 of 83
gh#158 entropic_interrupt_session targets exactly one runabsentinferred7 of 83
gh#163 entropic_configure carries app_context into ParsedConfigabsentinferred7 of 83
gh#163 entropic_configure_dir carries app_contextabsentinferred7 of 83
gh#163 entropic_configure_from_file carries app_contextabsentinferred7 of 83
gh#163 the object and false spellings survive configure_dir tooabsentinferred7 of 83
gh#164 entropic_release_model names an unknown tierabsentinferred7 of 83
gh#164 entropic_release_model refuses to unload mid-turnabsentinferred7 of 83
gh#165 entropic_session_context_set guards its preconditionsabsentinferred7 of 83
gh#165 entropic_session_context_set refuses the running sessionabsentinferred7 of 83
gh#165 entropic_session_context_set round-trips through the C ABIabsentinferred7 of 83
gh#175: a non-positive mcp.server_timeout_seconds is refused at configureabsentinferred7 of 83
gh#203: followup returns delegation_id and summary from real storageabsentinferred7 of 83
gh#204: an unservable http_port fails configure loudlyabsentinferred7 of 83
gh#95: identity grammar: field constrains that tier's outputabsentinferred7 of 83
h1.run() after h2.configure() does not segfault (v2.2.6)absentinferred7 of 83
gh#106 MTP routes through orchestrator->generate()absentinferred6 of 83
gh#108 (v2.10.0) a request-level grammar routes to MTP on an absentinferred6 of 83
gh#108 (v2.10.3) CONTROL: non-streaming generate on the same tierabsentinferred6 of 83
gh#108 (v2.10.3) CONTROL: plain-decode streaming on the same tierabsentinferred6 of 83
gh#108 (v2.10.3) MTP + grammar + streaming through absentinferred6 of 83
gh#108 (v2.10.3) MTP + streaming without a grammar still streamsabsentinferred6 of 83
gh#108 CPU-only feasibility: E2B-QAT-Q4 x MTP x flash+q4KV, absentinferred6 of 83
gh#108 MTP engages with tools staged through orchestrator (agent loop)absentinferred6 of 83
gh#108 MTP loud error propagates through orchestrator (no fallback)absentinferred6 of 83
gh#108 agentic benchmark: full 24-config permutation matrix absentinferred6 of 83
gh#108 per-tier speculative_mtp=false overrides the global flagabsentinferred6 of 83
gh#134 (v2.10.4) A/B: the knob, not the model, produces the callabsentinferred6 of 83
gh#134 (v2.10.4) multi-turn: rails hold past the stall onsetabsentinferred6 of 83
gh#134 (v2.10.4) require_tool_call forces a tool call under MTPabsentinferred6 of 83
gh#137 a toolless enable_thinking:false turn must not deliver absentinferred6 of 83
mcp.bash.timeout_seconds parses, defaults to 30, and refuses a absentinferred6 of 83
mcp.filesystem outside_root_allow / outside_root_deny parse as absentinferred6 of 83
mcp.filesystem.allow_outside_root is tri-state and defaults to absentinferred6 of 83
gh#158: interrupting one session leaves the other runningabsentinferred7 of 84
gh#158: metrics and context reads are safe during live runsabsentinferred7 of 84
gh#158: two concurrent sessions do not bleed into each otherabsentinferred7 of 84
gh#164: entropic_release_model frees VRAM through the C ABIabsentinferred7 of 84
gh#165 + gh#164: release the weights, keep the conversationabsentinferred7 of 84
gh#165: a dropped session restored from JSON keeps answeringabsentinferred7 of 84
gh#166: two workspaces on one handle do not read each other's absentinferred7 of 84
gh#169: an iteration-capped delegate hands its parent the audit it absentinferred7 of 84
gh#179: each workspace's sessions answer from its own app_context, absentinferred7 of 84
gh#181: a delegate hard-cut by the thinking budget hands its absentinferred7 of 84
gh#194: a plain generation publishes the prefill it performedabsentinferred7 of 84
gh#198: a deferred handle holds no GPU memory until it runsabsentinferred7 of 84
gh#204/gh#205: two HTTP clients, different session, workspace and absentinferred7 of 84
gh#214: a prompt that does not fit fails the turn, typedabsentinferred7 of 84
gh#216: multi-byte text at the history cut does not poison later turnsabsentinferred7 of 84
gh#217: release is refused while another session is decodingabsentinferred7 of 84
gh#93: autoparser family parses a multi-parameter tool callabsentinferred7 of 84
gh#93: entropic_interrupt stops a long run early (cancel-bridge)absentinferred7 of 84
gh#94: enable_thinking:false suppresses think blocks (facade)absentinferred7 of 84
gh#99: run_as emits each tier's grammar on a shared modelabsentinferred7 of 84
outside-root optional: a real model's reads outside its root absentinferred7 of 84
v2.14.1: a declared server serves each workspace from its own repositoryabsentinferred7 of 84
v2.14.3: release frees the model over MCP and the conversation survivesabsentinferred7 of 84
v2.14.4: a model's commit message with shell syntax is text, not a commandabsentinferred7 of 84
v2.14.5: a failed turn is an error carrying only its own textabsentinferred7 of 84
Empty config file returns descriptive errorabsentinferred4 of 8: find_by, parse_model_config, resolve, resolve_model_path4
Non-map YAML root returns errorabsentinferred4 of 8: find_by, parse_model_config, resolve, resolve_model_path4
Nonexistent config file returns errorabsentinferred4 of 8: find_by, parse_model_config, resolve, resolve_model_path4
Scalar YAML root returns errorabsentinferred4 of 8: find_by, parse_model_config, resolve, resolve_model_path4
gh#211: malformed YAML is a returned error, never an abortabsentinferred4 of 8: find_by, parse_model_config, resolve, resolve_model_path4