Changelog

All notable changes to AbstractCore will be documented in this file.

Table of Contents

[Unreleased] [2.35.1] - 2026-11-10 [2.35.0] - 2026-11-10 [2.34.0] - 2026-11-03 [2.33.0] - 2026-11-03 [2.32.0] - 2026-11-02 [2.31.1] - 2026-10-28 [2.31.0] - 2026-10-27 [2.30.0] - 2026-10-26 [2.29.0] - 2026-10-25 [2.28.0] - 2026-10-25 [2.27.0] - 2026-10-25 [2.26.4] - 2026-10-21 [2.26.3] - 2026-10-18 [2.26.1] - 2026-10-17 [2.26.0] - 2026-10-15 [2.25.1] - 2026-10-08 [2.25.0] - 2026-10-05 [2.24.0] - 2026-10-03 [2.23.1] - 2026-10-02 [2.23.0] - 2026-10-01 [2.22.0] - 2026-10-01

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased changes live in changelog.d/, one file per pull request; python scripts/changelog.py assemble X.Y.Z writes them here at release.

[Unreleased]

[2.35.1] - 2026-11-10

Changed

  • AbstractVision 0.3.36 is the floor (base dependency, the all-apple / all-gpu extras and the vision-* extras): the release proven on Linux NVIDIA and processor-only hosts and on Apple silicon (CPU float32 default, 8-bit GGUF first on CUDA, trimmed Diffusers downloads, GpuOutOfMemoryError), whose one-shot commands run on the machine's own engine with FLUX.2 [klein] 4B in 8 bits by default.
  • AbstractVoice 0.21.1 is the floor (base dependency and the all-apple / all-gpu extras): 0.21.0's gpu extra added a second cuDNN wheel next to torch's on Linux and every CUDA convolution failed with CUDNN_STATUS_SUBLIBRARY_VERSION_MISMATCH once abstractcore's gpu extra (vllm, torch 2.13) was in the same environment; 0.21.1 keeps cuDNN Windows-only.
  • lxml up to 6.x (lxml>=4.9.0,<7.0.0, backlog 0886): lxml 5 has no CPython 3.14 wheels, so a plain pip install abstractcore on Python 3.14 tried to build it from source and failed without the libxml2 headers; 6.1 ships them. BeautifulSoup's lxml and xml parsers are unchanged.
  • vLLM on cards older than Ampere (docs/prerequisites.md): measured on a Quadro RTX 5000 (compute capability 7.5) with vLLM 0.30.0, the version abstractcore[gpu] resolves: it falls back to float16 by itself and uses its Triton attention backend; 236 tokens/s on Qwen2.5-0.5B through create_llm("vllm"). No flag and no other version needed.

Fixed

  • A release inside Context7's refresh window no longer ends with a failed job (.github/workflows/release.yml, context7-refresh.yml). Context7 allows one re-index per project every 10 days; the 2.35.0 release asked two days after the previous refresh and the last job of the run failed with HTTP 400 too-early although everything was published. That answer is now a notice on the run (Context7 re-indexes on its own schedule, and the on-demand workflow can be run after the window); any other non-200 answer still fails the job visibly.
  • pip install "abstractcore[gpu]" on a Linux NVIDIA host now runs GGUF models on the GPU (abstractcore/utils/llama_cuda_swap.py). PyPI carries llama-cpp-python as a source build only, so pip resolved abetlen's prebuilt processor wheel and every GGUF model ran on the CPU while PyTorch saw the card (llama_supports_gpu_offload() False; on a Quadro RTX 5000 a 4B Q4_K_M answered in 9 s on the processor, 0.7 s on the card). The CUDA builds live on abetlen's own index, which a pip extra cannot name, and are too large for PyPI. The one-line installers already swapped the CUDA build in; AbstractCore now does the same swap itself, once per environment, before its first import llama_cpp on an x86_64 Linux host where torch/version.py says CUDA 12 or 13 and nvidia-smi reports a driver new enough (525 / 580): the installers' command (pip, or uv pip when the environment has no pip, --no-index --no-deps --find-links <index>/<cu130|cu125>/llama-cpp-python/, the installed version), one line on the console before and one after, whatever the log level, the outcome written to llama_cpp/.abstractcore-cuda-swap.json so a failed swap is not retried at every load. A host set up by the installer has the CUDA build already and nothing runs. When the swap cannot happen (offline, read-only site-packages, no driver, ABSTRACTCORE_LLAMA_CUDA_SWAP=0) GGUF stays on the processor and the HuggingFace provider's runtime info (llama_cuda_swap) and a warning say why. Proven from a bare uv pip install on the GPU host: the swap ran by itself in 0.8 s and the next answer came from the card; a second process ran no swap. Tests: the swap runs once with the right build for torch's CUDA major (both the plain and the annotated cuda = '13.0' forms of torch/version.py) and never again; never on a CUDA build; never with the opt-out, without a CUDA torch, or with a driver too old; a failed swap is recorded and not retried.
  • A process that embedded with a GGUF model no longer aborts at exit on Apple silicon (abstractcore/embeddings/manager.py, release_shared_gguf_embeddings_at_exit). After every call had succeeded, the interpreter died in exit() with ggml-metal-device.m: GGML_ASSERT([rsets->data count] == 0) (exit code 134): the llama.cpp context was freed during module teardown, after the Metal device. The resident GGUF encoders are now closed by an atexit handler, before teardown (verified with CompendiumLabs/bge-small-en-v1.5-gguf on Apple silicon).
  • Install hints on a processor-only Linux host say what works. With no llama.cpp installed, the hint for GGUF models said pip install "abstractcore[gpu]", which compiles llama-cpp-python from source (PyPI has no wheel) and, on a host without a card, installs the CUDA stack for nothing. On Linux the hint now names the AbstractCore installer, which adds the prebuilt build for the machine (then the CUDA swap above), and says that the gpu setting alone builds from source; still only the three settings as pip targets. huggingface_hub is part of the light set (abstractcore models download failed on a plain install with the same gpu hint; a missing one now reads as a broken install to repair).

[2.35.0] - 2026-11-10

Added

  • Context7 re-indexes the user docs after each release (.github/workflows/release.yml, context7.json). Once the release is on PyPI the workflow asks Context7 to re-index this repository, so coding agents reading AbstractCore through the Context7 MCP see the published version. context7.json limits the index to the user docs (docs/, the README and the llms files), keeping the backlog, ADRs, reports and sources out. The only credential is CONTEXT7_API_KEY in the GitHub environment context7; without it the job reports a warning and does nothing, and required reviewers on that environment turn the refresh into an approved step. The same step runs on demand from the Actions tab (context7-refresh.yml) after a docs-only change.
  • Current vendor lineups are in the capability registry (assets/model_capabilities.json, assets/architecture_formats.json), so an input.image, input.video or input.voice route can name them instead of the text-only architecture default. New entries, each read from the vendor page or Hugging Face card on 2026-11-07:
  • OpenAI gpt-6-astra, gpt-6-sol, gpt-6.1-sol, gpt-6.1-terra.
  • Anthropic claude-fable-5-1, claude-mythos-5-1, claude-opus-5-5, claude-sonnet-5-5.
  • xAI grok-4.7, grok-4.6, grok-4.5, grok-4.3, grok-4.20-0309-reasoning, grok-4.20-0309-non-reasoning, grok-4.20-multi-agent-0309, grok-build-0.1 (alias grok-code-fast-1), with the published alias lists.
  • Qwen qwen3.8-2.4t-a95b (open weights), hosted qwen3.8-max, qwen3.8-flash, qwen3.8-omni-flash.
  • Liquid AI lfm3-vl-2b, lfm3-audio-2b, lfm3-omni-2b; Spark spark-x2.5-4b, spark-x2.5-1.7b, spark-x2.6-1.7b, and the complete official XHToken repo, Ollama tag and GGUF aliases on every Spark X2.5/X2.6 size.
  • DeepSeek deepseek-v4.1-flash, deepseek-v4.1-flash-1017 (alias deepseek-flash); Z.ai glm-5.3, glm-5.3-flash (alias glm-5.3-flashx); MiniMax minimax-m2.7, minimax-m3.1-flash, with minimax-m3 gaining video input and every MiniMax M2/M2.1/M2.5/M3 entry its official, unsloth, lmstudio-community, bartowski and NVIDIA repo aliases.
  • Moonshot kimi-k3, kimi-k3.1-pro, kimi-k2.7-code, kimi-k2.5; Baidu ernie-5.5-flash-base, unlimited-ocr-2.
  • Prism ternary-bonsai-27b, the Bonsai 2 family (ternary-bonsai-2-27b/9b/4b/2b), the 1-bit bonsai-8b/4b/1.7b and ternary-bonsai-8b/4b/1.7b, each with its gguf, mlx and unpacked repo aliases.
  • NVIDIA nemotron-3-ultra-550b-a55b, nemotron-3.5-lightning-30b-a3b, nemotron-3.5-bolt-74b-a9b, nemotron-3.5-bolt-e4b, nemotron-3.5-super-vl-120b-a12b, nemotron-nano-9b-v2, nemotron-nano-12b-v2-vl, the nemotron-3-embed-1b and nemotron-3.5-embed-1b embedders, nemotron-3.5-transcribe-30b-a4b (voice in), nemotron-3.5-parse and nemotron-parse-2.0 (document OCR).
  • Gemma 4 -it entries alias Google's -it-assistant and QAT (q4_0-gguf, w4a16-ct, unquantized) repos, and the qat, unquantized, ct, mobile, transformers and wNaM packaging tokens strip like any other variant suffix.
  • Transcription language facts: generate(..., output={"task": "transcription"}) records language (what the engine was told; None = it detected the language) and detected_language (what it reported) in the transcript's metadata, through the audio facade's transcribe_detailed (AudioCapability may implement it — AbstractVoice does; a backend with transcribe only reports neither). POST /v1/audio/transcriptions on a local engine answers {text, language, detected_language}.
  • AbstractCore installs in one line, with no admin rights and no Python needed (scripts/install.sh, scripts/install.ps1). curl -LsSf https://raw.githubusercontent.com/lpalbou/AbstractCore/v2.35.1/scripts/install.sh | sh on macOS and Linux, powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/lpalbou/AbstractCore/v2.35.1/scripts/install.ps1 | iex" on Windows: the script gets uv when it is missing and Python 3.12 through uv, picks the install setting from the machine (Apple Silicon with macOS 14 or later: abstractcore[apple]; an NVIDIA card or ROCm: abstractcore[gpu]; anything else: the light install), and installs AbstractCore alone as a uv tool, pinned to this release, with the abstractcore, abstractcore-config, abstractcore-chat and abstractcore-endpoint commands and the apps on PATH. It never starts a compiler: llama.cpp comes from upstream's prebuilt Metal or CPU build, and the two optional packages without wheels (echo cancellation, stable-diffusion.cpp) are left out. With an NVIDIA card the gpu setting then gets llama.cpp's CUDA build matching PyTorch's CUDA (cu130 or cu125; on Windows cu130, cu132 or cu125), kept only when it loads the way AbstractCore loads it and llama_supports_gpu_offload() is True, else the CPU build with the reason (ROCm included). On Windows the gpu setting also gets PyTorch's CUDA build for the driver. Every step prints its command; --print shows the plan and changes nothing; running it again upgrades in place and keeps the setting; --profile, --pin VERSION|latest and --from PATH choose otherwise. On a machine where AbstractFramework's installer already provides the abstractcore command, it stops and says so (a standalone AbstractCore beside the framework's gateway tool is not supported). A curl | sh cut mid-download runs nothing (the script runs from one function called on its last line); an nvidia-smi that does not answer is named as the reason; the summary names what the prebuilt-only rule leaves out (echo cancellation, stable-diffusion.cpp); Windows takes -DryRun and -Verbose. See One-line install.

Changed

  • Console theme copy regenerated from ui-kit 0.9.27 (abstractcore/console/themes.py, abstractcore/console/theme_sync.py). The colours and fonts are unchanged; the recorded kit version and the floor the theme test checks against (KIT_THEME_FLOOR) move to 0.9.27, the kit the apps are built on.

Fixed

  • A settings file that cannot be parsed stops the program instead of being renamed and replaced by defaults (abstractcore/config/manager.py, abstractcore/config/provider_profiles.py, abstractcore/server/app.py). The loader raises ConfigParseError with the file path and the parse error (OSError when the file cannot be read); the file is never copied to abstractcore.json.corrupt-<ts>.bak, never shadowed by default settings, and no later save can overwrite it. A provider profile's family is accepted as written while the provider registry is still importing (it is validated when the profile is used), so a load that happens during import abstractcore no longer fails. The abstractcore config CLI prints the error and exits with status 1, and the server refuses to start on such a file instead of coming up with no settings. ConfigParseError is exported from abstractcore.config.
  • GGUF and MLX re-packagings of a registered model resolve to its entry (architectures/detection.py). An Ollama or LM Studio quant tag after the repo name (unsloth/Qwen3.8-27B-GGUF:Q4_K_M, hf.co/...:UD-Q4_K_XL, ...:latest), the OptiQ-4bit, oQ4e and i1 quantizer markers, bartowski's and mradermacher's Org_Model-GGUF repo names, and a re-packaged tail whose base alias is declared only as org/Model (the dated Mistral and Devstral names) all resolved to nothing and fell back to the text-only architecture default. They now reach the registry entry of the model they wrap; a dedicated FP8 or GGUF entry still wins over its parent, and a speculative-decoding drafter still does not inherit its target.
  • MCP handshake accepted by every schema-validated server (abstractcore/mcp/client.py). initialize now declares capabilities: {} as the specification and the reference client do; the previous envelope sent five capabilities set to null, which strict servers such as Context7 refused ("Invalid input: expected record, received null"), so their tools never reached the model. A 404 to a request carrying MCP-Session-Id now starts a new session with a fresh initialize and replays the request once, as the Streamable HTTP transport requires after a server restart. McpHttpError carries status_code.
  • An unreachable endpoint is reported as such, never as a spent timeout (abstractcore/providers/base.py, abstractcore/core/retry.py, abstractcore/exceptions). When no TCP connection to the provider's endpoint can be made (machine off or asleep, connection refused, DNS failure), providers raise the new EndpointUnreachableError with base_url, the transport exception class (cause), errno, the measured elapsed_s and retryable (False when the connect attempt itself timed out). Hosts can import it by name to park the step and probe the endpoint instead of failing the run. Such failures no longer count toward the circuit breaker, and a connect that timed out is not retried (a second attempt would block for the same OS budget). Timeout detection is type-first: the message is consulted only for exceptions that carry no type information, so an OSError whose text says "Operation timed out" no longer prints "timed out after 7200.0s (configured timeout)". Every normalisation logs the original exception class, and the "Generation failed" line reports the elapsed time from the first attempt (it used to print ~0 ms for every failure).
  • A stored speculation default never fails a call (abstractcore/providers/speculation.py). When require_acceleration=True comes from the provider-lifetime default (constructor speculation=, a stored profile or host setting) and the provider has no native MTP adapter, the call runs without speculation with one warning, and metadata["speculation"] carries applied: false and degraded_from_default: true. An explicit per-call require_acceleration=True still raises SpeculationUnavailableError.
  • Residency snapshot during an embeddings import (abstractcore/providers/process_residency.py). The in-process residency view treated abstractcore.embeddings.manager as loaded as soon as it appeared in sys.modules, which is true while another thread is still importing it, and failed with "partially initialized module has no attribute". The backend counts as loaded only once its functions exist.
  • Tool parameters carry their meaning (abstractcore/tools/core.py, abstractcore/tools/parser.py). The tool schema built from a decorated function now takes each parameter's description from the docstring's Args: section (Google style, or :param name: lines); it used to emit the type and default only, so native tool payloads and prompted tool lists showed the model bare parameter names. Native payloads carry the full text as JSON Schema description; the prompted tool list shows each parameter's first sentence. An explicit description set on the schema afterwards still wins. Every built-in tool parameter is now described, and a test keeps it that way.

[2.34.0] - 2026-11-03

Added

  • A model no call has used for 60 minutes is unloaded; a kept-loaded model never is (providers/process_residency.py, core ADR 0012, root backlog 1115).
  • Scope: HuggingFace (transformers and GGUF), MLX and in-process embedding models are unloaded by the process-wide eject (every holder, gc, the allocator cache) after the idle-unload time. The default is 60 minutes (DEFAULT_IDLE_UNLOAD_S = 3600).
  • Setting: set_idle_unload(seconds) sets the time for the process (0 or None: off); get_idle_unload() reads it.
  • What keeps a model: never a locked model (Keep loaded), never one a call runs on, never one a claimant is still building.
  • Never cancels: new calls to the model wait during the unload, the model is checked again with them held, and a call that started in between keeps it. A waiting call then reloads the model on demand. No check runs while a model loads.
  • Log and timer: each unload logs unloaded <model> after <N> min idle; freed <X.Y GB> (seconds under two minutes). The timer starts with the first load in the process; one reaper thread runs per process.
  • Rows: resident_model_states() covers MLX and embeddings too (also for the ADR 0010 fit failsafe), with last_used_at, in_use, locked_by and idle_unload_at.

Changed

  • Docs and the agent skill describe 2.34.0 (skills/abstractcore/, llms.txt, docs/native-mlx-runtime.md). The skill (package-version 2.34.0) teaches the idle unload and the one-provider rule for a caller's key on the discovery routes; docs/native-mlx-runtime.md no longer calls the shipped AbstractRuntime integration unreleased.

Fixed

  • The release-PR changelog check refuses an empty release section, and sees every fragment (scripts/changelog.py). A release PR whose ## [X.Y.Z] - <date> section had no entries passed when its fragments were deleted without being assembled; only the tag-time validation would have caught it. It now fails, naming the version. fragment_files reads changelog.d/**/*.md in any case (README excluded), so a fragment left in a subfolder or named fix.MD is listed by check and written by assemble, no longer invisible. On an ordinary PR, only such a .md file counts as the fragment a source change needs: a notes.txt under changelog.d/ used to satisfy the check, and assemble would never have read it. Entries are - bullets.
  • The web console's theme copy is re-synced to ui-kit 0.9.14 and a stale copy fails CI everywhere (console/theme_sync.py, console/themes.py, core backlog 0869).
  • themes.py records the ui-kit version it was generated from (KIT_SOURCE_PROVENANCE["kit_version"]), and a test compares it with theme_sync.KIT_THEME_FLOOR (0.9.14) without the abstractuic checkout. Before, the only check was the byte-for-byte drift test, which skips when the kit source is absent (as in CI).
  • The responsive token layer copies only bare :root (or :root[attr]) rules. A component rule written under :root (:root .af-session-card.af-automation-card, new in ui-kit 0.9.14) is no longer taken for a token.
  • Every call counts as in use and stamps the model's last use (providers/generation_cancel.py).
  • Before, a call without a cancel event was not registered and did not stamp last_used_at, so it could look idle while it ran.
  • MLX now gives every call a private cancel event, as HuggingFace does.
  • Embedding managers stamp their last encode.
  • The MLX ttl_s / keep_alive warning names the process-wide idle unload.

Security

  • A caller's provider key on a discovery route reaches only the provider the request names (server/app.py, root backlog 0955).
  • Before, X-AbstractCore-Provider-API-Key on /v1/capabilities and the capability and music discovery routes was handed to every key slot the capability has (OpenAI and the OpenAI-compatible server for voice, AceMusic and ElevenLabs for music, all of them on /v1/capabilities), so a key meant for one vendor could reach another.
  • Now the key goes to one provider: the one named with ?provider=<id> (voice: openai or an OpenAI-compatible server; music: a backend such as acemusic, and the request's registry uses only that backend), else the configured music backend, or the single vision endpoint.
  • A request that sends the key without naming one provider (GET /v1/capabilities, GET /v1/capabilities/voice/providers, an unknown music provider) is refused with 400 and the key reaches nobody. Authenticate to the server and leave the key out to list every provider.
  • Keys the server holds follow their own rule, unchanged: a request without its own key spends them only when it is server-authenticated (otherwise 401 while the server holds a key the route could spend).

[2.33.0] - 2026-11-03

GGUF prompt-cache snapshots without their unused scores copy and under a byte budget, a typed ModelNotDownloadedError, an OpenAI-compatible key check that refuses a wrong key where the model list is public, hosted decision models listed and routed as decision models (and a decision model that answers its own decisions), and a config that keeps a provider profile it cannot read instead of resetting itself.

Added

  • A model that is not downloaded raises ModelNotDownloadedError, which names it (abstractcore.exceptions). A subclass of ModelNotFoundError with model (the id to download) and provider (the provider that serves it) as attributes, so a host says "download X" without parsing the message (the gateway recovered the embedding model's id from the message text). The messages keep their wording. Raised where a local-only load finds nothing on this computer: embeddings (EmbeddingManager), transformers (not cached, or a download that did not finish), GGUF, MLX, and an MLX drafter. Existing except ModelNotFoundError handlers still catch it.

Changed

  • AbstractVoice floor 0.20.0 (pyproject.toml: the base install, [apple] and [gpu]; ABSTRACTVOICE_ENGINE_RUNTIME_FLOOR).
  • The changelog check recognises a release pull request (scripts/changelog.py check). A PR that bumps abstractcore/utils/version.py to X.Y.Z, adds CHANGELOG.md's dated ## [X.Y.Z] - YYYY-MM-DD section and leaves no fragment in changelog.d/ passes. Before, every release PR was red, because it edits CHANGELOG.md and source without adding a fragment. A release that leaves a fragment behind fails and names it. Any other PR that touches abstractcore/ still needs a fragment.
  • A GGUF model that is not downloaded now reaches the caller as ModelNotDownloadedError, not as a RuntimeError("Failed to load GGUF model ...") wrapping it; the message is the same "not found in local caches" text without that prefix. An MLX model that is not downloaded keeps its own message (the caches searched and the download tip) instead of the generic "Model not found for MLX provider" list.
  • The test suite never fails on a slow machine (tests/timing.py, ABSTRACTCORE_TIMING_STRICT). Every elapsed-time assertion in tests/ was audited. A "did not block" check became an event or state check:
  • the slot pool's dropped holder: the blocked work is still running when gc.collect() returns;
  • the cancelled slot request: at most one token after the cancel;
  • execute_command's drains: below the child's own sleep 30/40, the wait the code must not do;
  • the retry that fails fast: below the 30 s backoff.

Latency budgets (cancel promptness, ReDoS guards, streaming overheads, live-provider response times) go through timing_budget: one [timing] line on stderr by default, asserted only with ABSTRACTCORE_TIMING_STRICT=1, mirroring the gateway's tests/timing.py. The session's terminal summary lists every measure ("timing budgets", over-budget first), so the numbers are in every CI log. A blowup guard also passes ceiling=: a generous bound asserted always (a ReDoS regression is never a slow green). Test-only.

Fixed

  • A key check on an OpenAI-compatible endpoint with a public model list checks the KEY (openai_compatible_provider.py). OVH AI Endpoints answers GET /v1/models with 200 for no key and for a wrong one (measured 2026-10-29), so the gateway's Connect said "Connected · N models" to a wrong key. With raise_on_error=True (a key check) and a key set, when /models also answers WITHOUT the key, the listing now asks POST /chat/completions for a model that does not exist (abstractcore-key-check, nothing is generated): 401/403 raises AuthenticationError with the service's reason (OVH: 403 "authentication failed"); any other answer (404 "model not found") keeps the key. An endpoint whose /models needs the key (Mistral, Groq, …) is not probed; plain listing is unchanged; OpenRouter keeps its GET /key check (PUBLIC_MODELS_KEY_PROBE = False). Tests: tests/providers/test_compatible_key_probe_unit.py.
  • Hosted decision models are listed as decision models, and only there (providers/typesafe_provider.py, server/app.py). GET /v1/models showed typesafe/jev-latest (and any systemone model) as a text model (capabilities.output: ["text"], no decision block), and listed it under every capability filter, so text, image and embedding model pickers offered it and a chat on it then failed with decision_model. The typesafe and systemone providers now list their models only for a filter a decision model satisfies (input.text, output.decision), and /v1/models gives their entries capabilities: {input: [text], output: [decision]} and decision: {endpoint: /v1/decisions, kind: systemone, ...}, like the local Kev, Lev and Laya models.
  • An output.decision default on the hosted Jev runs the hosted Jev (providers/base.py, decision/pool.py). With the default set to provider typesafe and model jev-latest, a decision from a workflow (or any generate(..., output="decision") on a text provider) read jev-latest as the alias of the most recently used local decision model: it ran that local model instead, or failed with "names no resident decision model yet" when none was loaded. kev-latest / jev-latest are aliases only on a local route; on typesafe and systemone they are the hosted model's own name.
  • A decision model answers its own decisions; the output.decision default is for models that cannot decide (providers/base.py _decisions_stay_on_this_model). Before, with a default of typesafe + jev-latest, a local Kev instance (create_llm("mlx", model="…kev…").generate(doc, output="decision", questions=…), no route) sent the document to the hosted Jev because of a global setting. Now an instance whose own model is a decision model (a local Kev / Lev / Laya checkpoint on mlx or huggingface, or a typesafe / systemone instance) answers itself when the request names no decision provider or model. A route the request names still wins, and a text model still uses the default. Review of #41, Q1.
  • A GGUF prompt-cache eviction no longer clears a cache that a prefill is reading (huggingface_provider.py). prompt_cache_fork / prompt_cache_set store a cache from the caller's thread. The store's after-set hook enforces the snapshot byte budget, and evicting a key clears that key's cache_state. Neither took the GGUF prompt-cache lock, so a prefill holding the lock on another thread could fail with "OrderedDict mutated during iteration" or miss its restore. The count-based LRU eviction had the same gap. Both store hooks now take _gguf_prompt_cache_lock, now a reentrant lock (the save site holds it while the eviction it triggers runs the hooks). Review of #37, M1.
  • A GGUF prompt-cache snapshot no longer carries half a gigabyte it never uses, and the snapshots stay under a byte budget (8080 pass four, 2026-10-29: the model host child grew 1.65 GB per basic-agent run, 4.60 to 9.57 GB in three runs). Llama.save_state copies a scores array of n_batch x n_vocab float32 into every snapshot, 508 MB for a Qwen3.5 vocabulary. With logits_all=False llama.cpp never writes or reads that array, and nothing counted it, so the stats showed 0.42 GB of caches per run while 1.5 GB more stayed resident. A stored snapshot now keeps one zero row, which load_state broadcasts; with logits_all=True the array is kept whole. Per-key bytes and cache_state_total_bytes count the arrays too. The snapshots of every key together are held to gguf_prompt_cache_max_gb in the AbstractCore config (GiB; the environment variable ABSTRACTCORE_GGUF_PROMPT_CACHE_MAX_GB overrides it; default min(8 GiB, a quarter of physical RAM), the MLX prefix cache's rule; documented in docs/centralized-config.md, Model Memory). The least recently used keys are evicted on every insert path through a new PromptCacheStore on_set hook and evict(), and get_prompt_cache_stats()["gguf"] reports prompt_cache_budget_bytes and prompt_cache_total_bytes. Measured on a Mac with unsloth/Qwen3.5-4B-GGUF through a real gateway (--model-host process), ten basic-agent runs:
  • before: child RSS 14.77 to 29.95 GB, +1.69 GB a run;
  • after: 13.28 to 15.69 GB, +0.27 GB a run while keys accumulate;
  • with a 1.5 GiB budget: the caches hold at 1.61 GB from run 5 to run 15, and RSS stays within 11.2 to 13.5 GB.

A restore from a compacted snapshot answers token for token like a cold prefill (tests/providers/test_gguf_snapshot_restore_real.py, opt-in ABSTRACTCORE_RUN_GGUF_TESTS=1): the provider never samples from restored logits, because a restore covering the whole prompt is rolled back one token and that token is decoded (the zero-feed guard in _gguf_prefill_prompt_cache, pinned by a unit test). - A provider profile whose family this AbstractCore does not know no longer makes the whole config read as corrupt (config/provider_profiles.py, config/manager.py). 2026-11-03: the abstractcore 2.31 installs in the gateway and assistant environments (whose family list predates typesafe/systemone, added in 2.32.0) read a config holding a TypeSafe connection. The row's "Unsupported provider family 'typesafe'" error quarantined the file (a .corrupt-<stamp>.bak copy on every import) and ran the session on DEFAULTS, without any of the other profiles or settings. Such a row is now skipped with one WARNING naming it ("provider profile 'typesafe-key' is not loaded by this AbstractCore (...); it stays in the config file unchanged"). The rest of the config loads, nothing is written, and a later save keeps the row exactly as stored (the same carry that keeps a newer Core's route keys and columns). The same applies to any profile row that does not validate. typesafe and systemone are profile families since 2.32.0, derived from the provider registry. - The MLX owner-retirement tests prove "the GC callback did not block" with events, not a stopwatch (tests/providers/test_mlx_native_owner_retirement_unit.py). Three tests asserted that a whole gc.collect() took under 0.5 s. In the Local-model CI job, a full collection alone takes about 0.55 s (torch and transformers loaded, thousands of tests' objects alive), so main went red at 9d46642 and de1f9c85 with no MLX change. The tests now check that the blocked CPU backend, or the blocked close hook, has not returned when gc.collect() returns: a callback that waited for it could only return after it. There is no wall-clock bound, and the intent is unchanged. A mutant whose GC callback joins the worker turns all three red. Test-only.

[2.32.0] - 2026-11-02

Decision models (text in, calibrated typed decisions out: output="decision", POST /v1/decisions), one llama.cpp weights instance per GGUF with a per-model slot pool for concurrent requests, a reserved context computed from free memory and settable per model, shared embedding models, and a catalogue that lists every installed or cached asset by its exact identity.

Added

  • Every quant of a model, on demand (backlog 0865). catalog(hub=True, extended=True) and ?extended=true list, per row, every quant its own GGUF repos ship (UD-IQ1_S to Q8_0, BF16), each with its exact size and its fit, marked extended: true and never pre-selected. Labels the download pattern cannot fetch exactly are left out. gguf_quant_labels(facts) is the enumeration.
  • Model residency failsafe (ADR 0010): a load never fills the card. Before llama.cpp allocates (one full-offload CUDA card), the GGUF load checks weights + KV at its smallest context + the reserve against the free device memory; when it does not fit, resident models that are neither locked (a "Keep loaded" pin) nor in use are evicted, least recently used first, one at a time (process_residency.make_room); if it still does not fit, the load fails before allocating with ModelDoesNotFitError (needed_bytes, free_bytes, kept, evicted, suggestions: smaller artifacts of the same model from the catalog) and a sentence ("X needs 13.7 GB but only 9.2 GB is free on the GPU (kept: Y (locked by the runtime of account default/admin)). Choose a smaller model, for example ..."). The CPU fallback is checked against available RAM the same way. InflightGenerations.last_used_at and _residency_registered_at give the order.
  • Every cached asset appears in the catalogue (backlog 0875; catalog(), /acore/models/catalog). A local repository or engine model that matches no curated row is listed as a discovered row (source: "installed", id installed:<provider>:<reference>), with its exact reference, size, kind, tasks and their source, so local files stay manageable from one list. Each row carries asset_kind (model, adapter, component, unknown) and each artifact an inventory object (present, complete, kind, tasks, files, incomplete_files, missing_shards, bytes). Adapters, components and incomplete downloads are never offered as runnable chat models: their fit is unknown, they are not downloadable and never recommended. The catalogue summary counts them as discovered. No remote metadata is fetched to classify local files.
  • Adapter metadata, separate from full models (backlog 0876; assets/adapter_metadata.schema.json). A cached adapter's inventory.adapter object reports its declared adapter type, exact base checkpoints, tasks, trigger words, target modules and rank, read from adapter_config.json and the model card's front matter, each value with its source; undeclared values stay empty. A Hugging Face search hit packaged as an adapter carries asset_kind: "adapter". Declared bases describe the adapter; they are not a compatibility guarantee. Full fine-tuned checkpoints remain models.
  • Installed models land on their catalogue card by exact identity (backlog 0873; config/model_catalog.py, architectures.detection.resolve_registered_model_name). An installed build (an LM Studio, Ollama, MLX or Hugging Face artifact) joins the card of the registry model it is, read from explicit registry aliases and, for LM Studio, from the engine's own model path, and appears as its own artifact with its exact engine identifier, presence, size and quantization. Fine-tunes, QAT builds and precisions stay distinct: an unknown fine-tune is never grouped under its base model by a partial name match. Quantization suffixes such as IQ2_XXS, TQ1_0, 1bit and Unsloth's UD- prefix are recognised as variant tags.
  • Registry entries for more local models (backlog 0874; assets/model_capabilities.json, assets/architecture_formats.json, assets/model_downloads_catalog.json): Spark X2.6 4B, LFM3 1.7B, Bonsai 27B, Qwen3.6-35B-A3B HauhauCS Aggressive and all-MiniLM-L6-v2, with their architecture formats, plus download rows for the Gemma E2B / 12B instruction and QAT builds. Facts come from the models' own cards, configs and chat templates.
  • Decision models: text in, calibrated typed decisions out (abstractcore/decision/, generate(..., output="decision"), POST /v1/decisions). One abstraction over every decision model AbstractCore can reach: hosted Jev through the new typesafe provider and any System One-compatible host through systemone (HTTP only, light install), and local checkpoints on mlx and huggingface (transformers or GGUF): the Kev family (pointer head on Qwen3.5), Lev (label logits on Qwen3.5-4B) and Laya (ModernBERT encoder with a marker scorer), all Apache-2.0; OpenJev-style checkpoints run through the same label-logit engine. Questions are choice (1–255 named options), noul (the probability a statement is true) and score (ordered levels); answers carry calibrated probabilities and confidence in the public System One request/answer shape, the format every decision-model host shares. The Kev state prefix is cached across calls. MultimodalGenerateResponse.decision / .decisions carry the answers; a decision model refuses text generation with a pointer to output="decision". python -m abstractcore.decision.convert folds a Kev adapter into a merged transformers or mlx-lm checkpoint (bf16, 8-bit, or the measured mixed 4-bit recipe). Registry: kev-0.8b/4b/9b/27b, lev, laya, openjev in model_capabilities.json (capability_routes.output: ["decision"], the new decision route modality, a decision.kind block), the kev / lev / laya / openjev architectures, download-catalog rows. A pointer-head GGUF runs on every released llama-cpp-python: when the bundled llama.cpp predates ggml-org/llama.cpp#29818, AbstractCore derives a backbone copy once and applies the head itself (gguf_compat.py, removed with abetlen/llama-cpp-python#2398). /v1/models entries carry additive capabilities (input / output modalities) and, for decision models, a decision object naming /v1/decisions; a chat completion against a decision model is a 400 (code: decision_model) with that pointer (DecisionModelError). The label-logit engine reuses the prompt prefix every question of a request shares (the state runs once; transformers, mlx-lm, llama.cpp); Laya scans a long state in overlapping windows as its runtime does. Kev-0.8B joins the registry and catalog; the AbstractFramework Hub collection Decision models carries kev-4b-mlx-8bit, kev-4b-mlx-4bit, kev-0.8b-mlx-8bit, kev-0.8b-mlx-4bit. Docs: docs/decision-models.md.
  • output.decision capability default and a shared decision pool. abstractcore config set-default output.decision --provider mlx --model jaredpalmer/kev-4b names the decision model every provider instance uses for output="decision" (the route resolver puts it on the spec; an explicit route on the spec wins). abstractcore.decision.pool keeps at most two decision models resident per process, shared by generate(output="decision") and /v1/decisions; model: "kev-latest" on the server falls back to the configured default when nothing is loaded yet. output_has_generated_media is False for a decision (typed answers, never bytes), so hosts need no artifact store for it. Decision models also have residency: POST /acore/models/load / unload with task: "decision" (listed as process:decision:<provider>:<model> rows of /acore/models/loaded); catalog rows carry a decision capability flag; /v1/decisions accepts the question shorthand; the decision provider is recorded as metadata.decision_provider. The mlx provider lists the decision models it can run from the local caches (Kev / Lev adapters whose base checkpoint is on disk, merged decision conversions), so pickers filtered on output.decision offer them.
  • The reserved context is explicit and the person's (ADR 0010 point 8). Residency claims of a loaded GGUF carry advertised_context_length and context_source (memory: the fit rule / allocation ladder chose it; configured: a person set it; explicit: the caller passed max_tokens) beside context_length, so the Models page can say "Context 65,536 (model advertises 262,144; limited by memory)". A person sets a model's context with abstractcore.config.model_contexts.set_model_context(provider, model, tokens) (config key model_contexts): it is loaded as is and refused with the readable sentence when it does not fit, never shrunk. A request longer than the loaded context still fails with ContextWindowExceededError; nothing is cut.
  • Concurrent generations on one weights instance: a per-model slot pool (providers/gguf_slots.py, ADR 0011).
  • A slot is one llama.cpp context with its own KV, at the model's reserved context. Every slot of a pool has the same n_ctx.
  • Provider instances own no context. A generation borrows a slot for its duration, and the provider's llm is that slot while the call runs.
  • Bounds: 4 slots on a GPU or Metal and 1 on CPU-only by default. model_concurrency (config/model_contexts.py) sets the bound per model: the slots are built at load, or the load is refused with the numbers.
  • Extra slots are built lazily, only when their KV fits free memory now. A slot never evicts another model and never gets a smaller context; when it does not fit, the request waits and the reason is kept.
  • The queue is FIFO and bounded. ModelQueueFullError (503) and ModelQueueTimeoutError (504) are request-local and carry a Retry-After. A cancel while queued is a GenerationCancelledError.
  • Idle extra slots are freed after 300 s.
  • The queued state is visible in a new progress phase queued (with queue_position) and on the residency rows: slots, slots_max, active, queued, slot_refusal_reason, slot_bytes. A pool with work running or waiting counts as in use (never evicted).
  • Measured on Metal with Qwen3.5-4B Q4_K_M: RSS was 3.14 GiB for one holder, 3.14 GiB for two and 3.86 GiB with 4 slots. A short request completed in 0.10 s during a 3.95 s decode. Four equal decodes took 0.94 x the serial wall clock (separate contexts do not batch weight reads; batched decode is backlog 0871).
  • A GGUF the installed llama.cpp cannot load says whether updating llama.cpp fixes it. AbstractCore ships the architecture table of the newest llama-cpp-python release (assets/llamacpp_known_architectures.json: 0.3.36, 153 architectures from the vendored llama.cpp's LLM_ARCH_NAMES, spark2_5 included). An installed or catalog GGUF whose architecture the installed llama.cpp does not know but 0.3.36 does carries llamacpp_update ({architecture, installed, update_to}) and the sentence "... cannot load the spark2_5 architecture; llama-cpp-python 0.3.36 can: update llama.cpp." (the console offers "Update llama.cpp"); only an architecture no release knows stays greyed ("No llama.cpp release supports the X architecture yet"). Every catalog GGUF's Hub architecture (86 repos, 28 architectures, checked 2026-10-29) is in the 0.3.36 table.
  • Start and stop an authenticated Core HTTP listener with abstractcore.server.managed.start_managed_server while retaining its host's resident model resources. The listener uses Core's server configuration and first-run token handling.

Changed

  • abstractvoice>=0.19.5 (base install, [apple] and [gpu]; ABSTRACTVOICE_ENGINE_RUNTIME_FLOOR): each tts_stream audio event carries at most 2 s of audio, so a client on a slow link starts playing a long sentence before the whole segment has downloaded, and every Qwen3-TTS generation of a cloned reply is scored against the clone before its audio is delivered: a reply is spoken in one voice or fails with ClonedVoiceNotAppliedError.
  • The model catalog never offers MLX off Apple silicon: the mlx / mlx-gen / mlx-vlm artifacts are left out on a host whose engine registry says MLX cannot run (they were listed, not downloadable), and a row with only MLX builds (the Wan video rows) is not listed there.
  • sse-starlette>=1.8,<4 (was <2.0.0): AbstractCore never imports it (the server streams with Starlette's StreamingResponse), and mcp 2.3 requires sse-starlette>=3, so every environment holding both ended in a pip conflict. Checked with sse-starlette 3.6.0 (starlette 0.52.1, fastapi 0.136.1): the server app starts and tests/server passes as with 1.8.2; uv pip compile resolves abstractcore + sse-starlette 3.6.0 + mcp 2.3.0.
  • Faster catalogue and presence sweeps. One catalogue build checks engine compatibility and provider support once per sweep, a presence sweep resolves the Hugging Face cache roots once, and whether the installed llama.cpp knows a GGUF architecture is cached per installed library.
  • Changelog entries are fragments (changelog.d/, scripts/changelog.py). A pull request adds changelog.d/<pr-or-slug>.md instead of editing CHANGELOG.md's [Unreleased] section, which conflicted on every merge of main; the release assembles the fragments (python scripts/changelog.py assemble X.Y.Z) and CI fails a pull request that changes abstractcore/ without one. The [Unreleased] section as of 2026-10-29 is the first fragment.
  • The embedding model's device is the person's choice. EmbeddingManager(device=...) or the embedding route's options.device ("gpu" / "cpu"; the route's option example is {"device": "gpu"}); unset means the GPU when there is room. On the GGUF lane "cpu" stays all on the CPU (no KV or compute buffers on the card), "gpu" that does not fit is refused with the sentence ("... could not be placed on the GPU ...; free GPU memory or set its Device to CPU"), and the default falls back to the CPU and says so (device_note). The GGUF embedder measures what it took on the GPU (device_bytes on its residency claim).
  • A GGUF reserves the maximum context that fits, computed. The smaller of the advertised context and the largest whose weights + KV + compute fit the free device memory minus a 5 % safety buffer (model_memory_buffer), by inverting the KV-size formula; an allocation that still fails halves the context. This replaces the "KV at most half of the free memory" rule and the fixed 131,072 / 65,536 / ... rungs, and the calibration seed no longer shrinks a load. Measured numbers for Kimi-9B on the 16 GB card: about 135k of 262,144 (was 65,536). Logged, and on the claim as context_reservation.

Fixed

  • A GGUF this computer's llama.cpp cannot load says so before it is chosen (backlog 0867). XHToken/Spark-X2.6-4B (architecture spark2_5) downloaded fine and failed only at its first call. An installed GGUF's row now carries architecture, and, when this install's llama-cpp-python does not name that architecture, loadable: false with unloadable_reason: "This computer's llama.cpp (llama-cpp-python 0.3.x) cannot load the spark2_5 architecture. Update llama-cpp-python, or choose another model." The check reads llama.cpp's own table of architecture names in libllama, without importing it (llamacpp_knows_architecture).
  • A GGUF-only model in the Hugging Face cache says what it is (backlog 0866). The repos the catalog downloads hold only the quant file, with no config or card, so models list reported them as an unknown model with no task. The kind and tasks now come from the file's own general.architecture:
  • an architecture the catalog's GGUF repos use (qwen35, gemma4, llama, lfm2, ...): text generation; any other architecture stays unknown;
  • qwen3-tts: text to speech;
  • flux: text to image;
  • an embedding repo (its name says so; Qwen3-Embedding reuses qwen3): text embedding. tasks_source: "gguf". A model outside the catalog can then be offered as the default text model.
  • An embedding default that is not downloaded says so, once, and can be downloaded from the console. The availability probe resolves an embedding route's catalog alias (huggingface/qwen3-embedding) to the repo the embedding manager loads (Qwen/Qwen3-Embedding-0.6B), so the route reads "not downloaded" with a download_artifact (it read "not checked": "'qwen3-embedding' is not an / Hugging Face reference"). A not-cached model raises its "download it first" ModelNotFoundError without an ERROR log line (one per account on every boot on the Linux test server); the caller says it.
  • An embedding default whose repo is not downloaded runs on the installed GGUF build of the same model. When Qwen/Qwen3-Embedding-0.6B is absent and Qwen/Qwen3-Embedding-0.6B-GGUF is installed (the Linux test server), the embedding manager loads the GGUF through llama.cpp (embedding=True, CPU, L2-normalized, the most faithful quant first: f16, bf16, Q8_0, ...) under that repo's id (another build is another embedding space), and the Defaults grid reads "installed: served by the installed GGUF build ...". Measured there: 1024 dimensions, similarity 0.775 for two cat sentences vs 0.262 against a revenue sentence. Only without any build the route reads "not downloaded" with Download.

  • A host's installed engine is offered first in the download catalog (backlog 0863). On a Linux server with llama.cpp and neither LM Studio nor Ollama, the Qwen3.5 9B row listed and pre-selected the LM Studio build. 39 curated chat rows had no GGUF build. Each now has one: a Q4_K_M, read from the Hugging Face API on 2026-10-29, with its size and revision. A curated pick for an absent engine yields to an artifact an installed engine serves. Every artifact carries engine_installed, and a row lists the pre-selection first, then installed engines' artifacts.

  • Hugging Face search pages, counts, and finds an exact handle (backlog 0864).

  • catalog(..., hub_page=, hub_page_size=) and the /acore/models/catalog route serve one page of results at a time. hub.search reports the page, how many rows it added, and whether another page exists.
  • Searching Qwen/Qwen3.5-9B now lists that repo first, then the GGUF builds of Qwen3.5-9B. Before, it returned neither the repo nor the curated row.
  • A hyphenated or slashed query (qwen3.5-9B) now finds the curated row. Before, the query was split only on spaces.

  • Structured output with a host's cancel_event no longer fails on the HuggingFace GGUF lane with "got multiple values for keyword argument 'cancel_event'" (backlog 0861): the structured branch hands the event over once, under the provider's cancel kwarg.

  • A GGUF context that fills up mid-request (llama.cpp "failed to find a memory slot", llama_decode returned 1) frees the engine's context memory and fails with a clear ContextWindowExceededError sentence, instead of an "Error: llama_decode returned 1" answer and a memory left full for the next request (backlog 0862).

  • A Hugging Face GGUF this computer's llama.cpp cannot load is flagged before download (backlog 0868, following 0867). With --hub, the catalog reads each GGUF repo's gguf.architecture from the Hugging Face API and checks it against llama-cpp-python's libllama. A build it cannot load carries loadable: false, unloadable_reason (the sentence) and downloadable: false, is never the pre-selection, and says why in its fit notes. A known architecture is loadable: true. When it cannot be told, the value is null and the build stays offered.

  • A partially downloaded Hugging Face checkpoint reads as not installed in the catalogue. When the local inventory lists a repository whose weights, shards or checkpoint index are incomplete, the checkpoint probe stays authoritative and the artifact reads absent ("cache checkpoint incomplete or unverified").
  • A first model load never waits on a provider module that is still importing (providers/process_residency.py). The residency admission check skips a model registry whose module has not finished initializing (it cannot hold weights yet), so a load that runs while another thread imports the embeddings or MLX modules proceeds instead of failing or blocking on that import.
  • A text longer than the embedding model reads is refused, never cut (framework ADR 0026). The GGUF embedding lane had a 4,096-token context and llama-cpp-python's embed() truncated by default; it now loads at the model's own sequence length (8,192 for Qwen3-Embedding-0.6B), embeds with truncate=False, and a longer text raises ContextWindowExceededError ("This text is N tokens, but the embedding model X reads at most M; split it before embedding it (nothing was cut).").
  • The sentence-transformers embedding lane never cuts a text either. The library truncated every text at its max_seq_length (model-defined, often 512) silently, and a non-strict manager turned failures into zero vectors. The model now reads its full length (the catalog's max_sequence_length, e.g. 8,192 for Qwen3-Embedding), a text one token over raises ContextWindowExceededError with the same sentence (counted with the model's own tokenizer, specials included), and that error is never replaced by a zero vector.
  • A GGUF embedding repository id is served by llama.cpp (embeddings/manager.py). /v1/embeddings with huggingface/Qwen/Qwen3-Embedding-0.6B-GGUF used to reach sentence-transformers, which cannot read a GGUF, and answered 500 "Unrecognized model". A -GGUF id now goes straight to the llama.cpp lane.
  • The GGUF embedder reserves the largest input that fits, and says so. With n_batch = n_ubatch = n_ctx, llama.cpp's compute buffers grow with the input length squared. At 8,192 tokens the 0.6B Qwen3 embedder held 6.6 GB of GPU memory on a 16 GB card, leaving no room for a second LLM slot, and its row read device_bytes: None.
  • On a CUDA GPU the encoder now reserves the largest input (a multiple of 256, at most the model's maximum) whose weights, KV and compute buffers fit the free memory minus the safety buffer (model_memory_buffer, 5 %). It logs the choice.
  • The row carries context_length, advertised_context_length, context_source (memory / configured), memory_buffer and context_reservation, the same fields as an LLM context row.
  • A maximum input an admin set (model_contexts, the same per-model setting as an LLM context) is used exactly. On a GPU-only device that cannot hold it, the load is refused in words.
  • A longer text is refused with "split it before embedding it", never cut.
  • device_bytes is measured through NVML when torch has no CUDA context, as in the gateway's model host.
  • The GGUF embedder reads long inputs in 512-token micro-batches. With n_ubatch = 8,192, llama.cpp reserved a 5.1 GB compute buffer: the output projection for every token of the micro-batch, 8,192 × 151,669 vocabulary × 4 bytes, plus the attention scratch. A causal embedder (<arch>.attention.causal, or a decoder architecture: Qwen3-Embedding) now reads its full input (n_ctx = n_batch = the model's maximum, 8,192) in 512-token micro-batches with flash attention. A bidirectional encoder keeps the whole input in one micro-batch.
  • Measured with Qwen3-Embedding-0.6B Q8_0 at 8,192 tokens, the same buffer sizes on a 16 GB CUDA card (llama-cpp-python 0.3.36) and on an Apple Silicon Mac (Metal, 0.3.35). Compute buffer 5,092 → 306 MiB; model 604 MiB and f16 KV 896 MiB unchanged. Total GPU memory on the CUDA card went from 6,710 to 1,808 MB.
  • Vectors are equivalent: minimum cosine against the previous path over 20 texts (up to 7,581 tokens) is 0.99958 on CUDA and 0.999999 on Metal.
  • With flash attention the default reservation is the model's full maximum. The fit, set-value and refusal logic above remains the safety net.
  • The row now also says which build serves it (quant: Q8_0, model_file) and carries flash_attn and micro_batch.
  • The residency failsafe never evicts a model it cannot replace (ADR 0010). On a busy GPU host the unlocked text model was evicted for a 14B load that was then refused anyway (the free memory after the eviction was still short), leaving neither model. make_room now plans first: it evicts only when the free memory plus what the evictable models hold covers the need; otherwise it refuses with everything kept.
  • The GGUF embedding lane runs entirely on the CPU. With n_gpu_layers=0 llama.cpp's CUDA build still placed the KV cache and the n_ubatch-sized compute buffers on the GPU (offload_kqv defaults on): 4.9 GiB of device memory for Qwen3-Embedding-0.6B-GGUF, shown on no Models row (gateway backlog 0966). Now offload_kqv=False (and op_offload=False where supported) and the context is bounded at 4,096 tokens; measured on the same server, the embedder process holds 118 MiB of GPU (the CUDA context) instead of failing to allocate next to the text model.
  • The GGUF architecture gate never refuses a model over a value that is not an architecture (utils/model_cache.py). llamacpp_knows_architecture / gguf_unloadable_reason answer only for a GGUF general.architecture token, read from the INSTALLED libllama. Anything else (a model id such as unsloth/Qwen3.5-4B-GGUF, a file name) is "cannot be told" (None). Before, a model id passed in read as "No llama.cpp release supports the unsloth/Qwen3.5-4B-GGUF architecture yet", although the installed llama.cpp loads that model (qwen35, gemma4 and qwen2vl all load on this Mac's 0.3.35 Metal build). New real-file test: every GGUF in the account's hub cache that the installed llama.cpp opens (vocab_only) is never refused by the gate.
  • One llama.cpp weights instance per GGUF model in a process (providers/gguf_shared.py, ADR 0011). Before, every provider instance of a resident GGUF loaded the weights again: a second account's runtime pool, a gateway-side client (run summary, Ask, sandbox, entity chat) or a server request each held a full copy. The 2026-10-29 audit measured 11.8, then 23.3, then 34.9 GB RSS for three holders of one 4B model, and the residency failsafe then refused the extra copies. Now every llama.cpp context of a model borrows the one resident LlamaModel. The weights are freed with the last context.
  • A key check says whether the KEY works (openrouter_provider.py, anthropic_provider.py; the gateway's setup guide checks a pasted key by listing models with raise_on_error=True). OpenRouter's GET /models is public: it answered 200 with the whole catalogue for a wrong key (measured 2026-10-29), so the check said "Key works · N models" to a typo. OpenRouterProvider.list_available_models now asks the authenticated GET /key first: a 401/403 lists nothing, and with raise_on_error=True raises AuthenticationError with OpenRouter's reason ("User not found."). Any other answer (a proxy base_url without /key) falls through to the listing as before. Anthropic's listing returned [] with no reason for a wrong key even with raise_on_error=True; it now raises AuthenticationError ("Anthropic API error (401): invalid x-api-key"), or ProviderAPIError for another status. Without raise_on_error both keep their old answer ([]). Tests: tests/providers/test_key_check_listing_unit.py.
  • Managed local loaders reuse compatible resident artifacts or refuse conflicting second allocations across MLX, HuggingFace and embedding paths. Explicit incompatible placement, native target/head or Qwen4 PLE settings require unloading first; Transformers callers reuse the resident provider.
  • Pinned GGUF concurrency can construct its context slots within a model load while preserving serialization between concurrent loaders.
  • Endpoint profiles accept every provider the registry reaches over HTTP (config/provider_profiles.py, providers/registry.py). The profile validator kept its own list of eight families, so the new decision providers were refused on save ("Unsupported provider family 'typesafe'") although create_llm("typesafe") worked. The accepted families are now ProviderRegistry.endpoint_provider_families(): every registered provider the light install covers that is not an in-process engine (MLX, local HuggingFace stay refused). The registry's logger is created on first use: the first config load runs inside utils.structured_logging's import, and building the registry there to validate a stored profile would otherwise be an import cycle, which the loader reads as a corrupt config (defaults for the session). Tests: tests/config/test_provider_profiles_config.py.
  • One loaded embedding model per (model, device, backend) in a process (embeddings/manager.py). Before, every EmbeddingManager loaded the weights again: each account's runtime service held its own full copy of the embedder. Now a manager whose model is already loaded adopts it, and stays a cheap facade (its caches, output dims and provider settings are its own). Unloading one manager detaches it. The weights go with the last manager that holds them, whether it unloads or is dropped. An eject still unloads every manager. The residency rows count the weights once (copies = distinct models, holders = managers, shared_weights). The GGUF encoder already serializes its own encodes, so sharing it is safe.
  • /v1/embeddings reuses the loaded embedding model. The route built a new EmbeddingManager for every request, and the manager loads the weights in its constructor, so each request was a full load of the embedding model and another copy beside the previous request's (measured on the residency probe: 4 managers alive after 2 requests). The server now keeps one manager per (provider, model, dimensions, provider settings) for the life of the process; an ejected model reloads on its next call as before, and the residency listing and eject see the same manager.

Migration

  • Embeddings are never truncated. A text longer than the embedding model reads raises ContextWindowExceededError on both the GGUF and the sentence-transformers lanes, and a non-strict EmbeddingManager no longer turns that error into a zero vector. Split long texts before embedding them.
  • A GGUF reserves the largest context that fits the free device memory (minus a 5 % buffer), instead of the earlier half-of-free-memory rule and fixed rungs. To keep a specific context, set it per model with abstractcore.config.model_contexts.set_model_context(provider, model, tokens); a set value is used exactly or refused, never shrunk.
  • Conflicting local allocations are refused. A second allocation of a resident artifact with an incompatible placement (another backend, device, native target/head or Qwen4 PLE setting) raises instead of loading a second copy: unload the resident model first. Compatible callers reuse the resident one.
  • Key checks raise on a wrong key. OpenRouterProvider.list_available_models(raise_on_error=True) and the Anthropic listing raise AuthenticationError for a rejected key; without raise_on_error they still return [].
  • Chat completions against a decision model answer 400 (code: "decision_model") with a pointer to /v1/decisions; generate() without output="decision" on a decision model raises DecisionModelError.
  • sse-starlette>=1.8,<4: environments that also install mcp 2.3 resolve without a conflict.
  • The catalogue lists discovered assets. Clients that render every catalogue row should filter on asset_kind (model for runnable models) or source when they want curated or full-model rows only.

[2.31.1] - 2026-10-28

Added

  • The LFM2 and LFM2.5 families in the download catalog, from 350M to 24B-A2B (backlog 0860; LFM2.5 230M not yet): 11 new rows (LFM2 350M, 700M, 1.2B, 2.6B, 8B-A1B, 24B-A2B; LFM2.5 350M, 1.2B Instruct, 1.2B Thinking, 8B-A1B, 24B-A2B) and GGUF on LFM2.5 2.6B, each with GGUF (Liquid AI official and unsloth) and MLX (mlx-community, else Liquid AI's own) artifacts, every id and size checked on Hugging Face on 2026-10-28; the capability registry gains lfm2.5-24b-a2b and the repo-id aliases. Searching "lfm" in a Models catalog listed one row before.

Fixed

  • GGUF residency rows report the KV cache llama.cpp really allocates, and the context it was built with. The estimate counted every block as an attention layer: Qwen3.5-9B-Kimi-k3-Distilled-GGUF (qwen35, 33 blocks, a KV cache on one block in four) at 65,536 tokens read "+ 8.3 GiB cache" on a 16 GB card whose GPU held 9.1 GiB in total; it is 2.0 GiB. The layer walk (utils.kv_geometry) reads the layout from the GGUF header (full_attention_interval, per-layer head_count_kv, sliding-window layers and widths, shared/MTP layers) and is used by the residency rows, the context-fit estimate and the load. Rows and claims carry context_length, kv_cache_bytes (kv_cache_estimated: true).
  • The GGUF context is sized to the card before allocating (one CUDA/ROCm card, full offload): the KV cache may take at most half of the free device memory after the weights and a reserve of max(1 GiB, 10%); rungs above are skipped and the rule's pick is not stored as a calibration (docs/memory-management.md). An explicit max_tokens is never resized.
  • A skipped eject names its holders in words (owner_label of the claim, "the runtime of account default/bob"), never "runtime client 70a5b844f350" (ADR 0043).
  • A prompt longer than the loaded GGUF context fails clearly, before any eval (ContextWindowExceededError, a subclass of InvalidRequestError): it used to fill the KV cache ("decode: failed to find a memory slot for batch of size 512"), retry cold, rebuild the engine and answer "Error: failed to prefill GGUF prompt cache ..." as text; llama-cpp-python's own "exceed context window" refusal is raised the same way. Decoding that reaches the end of the context stops with finish_reason="length" instead of appending "Error: llama_decode returned 1".

  • /v1/chat/completions (and /v1/responses) reuse a model already resident in the process instead of loading another copy per request (backlog 0859). With no model loaded in the server's own registry, the chat route called create_llm for every request; a host that keeps the model in another holder (AbstractGateway's runtime pool, which serves /v1 through this app) got a second full llama.cpp instance per request. Found on a fresh Linux install: a 2.5 GB GGUF on a 16 GB GPU answered 500 "Failed to create llama_context"; reproduced on Metal: holders 1 -> 2 -> 3 -> 4 and the process 11.2 -> 43.4 GB over three calls. Now the route reuses the alive huggingface holder of the same model (new process_residency.resident_provider(provider, model), matched by name or path like the eject): holders stay at 1 and the process at 11.2 GB. Not with unload_after (it would unload the holder's model) nor with request-specific provider settings (an explicit provider key, a base_url); an instance the server built for one request is never lent; MLX instances already share weights and are not lent. A lent instance keeps its own tracing (no X-AbstractCore-Trace-Id for that request) and ignores the request's timeout_s.

  • Every operation on a HuggingFace provider instance's model runs on one worker thread of that instance, one at a time (HuggingFaceProvider._generation_worker): generations, the prompt-cache prefills, set/clear/save/load, the bloc planner's tokenization, load_model and the free step of unload_model. Before, only the GGUF prompt-cache prefill took an instance lock, so a pool serving two runs (or a run and a lent /v1 request) could run two operations on one llama.cpp context at once. A stream is produced on the worker into a queue, so it never waits for its consumer (no deadlock with a call waiting for the instance, or two streams advanced by one thread); a consumer that stops early stops the producer at its next chunk; a stream counts as in flight from the call (an unload cancels and waits for it); the reload of an ejected model is decided on the worker; the caller's contextvars travel with the call; Ctrl-C while waiting cancels the generation.
  • A lent instance answers /v1 off the event loop, with a client disconnect cancelling its generation (it queues behind the holder's runs; the server's own in-process instances still answer on the loop as before). It keeps its holder's construction defaults (seed, default max output tokens, context size) for settings the request omits, shares the holder's prompt-cache store (by default 32 entries, least recently used), and, when the holder has tracing on, its trace buffer.

[2.31.0] - 2026-10-27

Added

  • Clone language over HTTP: POST /v1/voice/clone and POST /{provider}/v1/voice/clone take an optional language form field (ISO 639-1), passed to the voice plugin (recorded with abstractvoice 0.19.0 or later) and to remote AbstractVoice-compatible servers (OpenAI custom voices do not take it). Without it, the cloner identifies the language from the transcript.

Fixed

  • Streamed tool calls carry the declared tool name: a native tool whose name is not wire-safe (an MCP tool such as mcp::RAGnarok::query, declared to strict APIs as mcp_RAGnarok_query_b6ff8949) is returned under its declared name in streaming responses, as it already was without streaming, from generate() and agenerate() (including the native async paths of providers with their own async client, streaming or not). Complete calls and partial deltas keep their ids, indexes and argument fragments. Only names declared in the request's tools= are restored; any other name is returned unchanged, with a warning, for the host's allowlist to refuse.
  • MLX native lane (mlx-vlm prefix cache, MTP speculation): the per-call snapshot is placed before trailing system riders (a host's per-call attachment index), measured in tokens against the same request rendered without them. A hybrid model restores only an exact stored prefix, and a snapshot that contained the rider matched no later prompt: every tool-loop call of an attachment-bearing session re-prefilled the whole conversation (operator run: 10 of 10 calls cold, 24,552 tokens at step 10). Replayed on Jundot/Qwen3.8-27B-oQ4e-mtp: steps 2–4 now restore 8,536 / 11,424 / 14,764 tokens. New telemetry field prompt_cache.snapshot_excludes_tail_tokens. The scheduled lane (mlx_batching=True) keeps the default placement (backlog 0858).

[2.30.0] - 2026-10-26

First published release since 2.26.3: it also ships the changes listed under 2.26.4 through 2.29.0 below. The AbstractVoice, AbstractVision, AbstractMusic and Abstract3D plugins are pinned to their latest releases.

Added

  • Voice navigation by engine and language: llm.voice.list_voices(provider=..., model=..., language=...), list_cloned_voices(...) and voice_catalog(language=...); GET /v1/audio/voices and the new GET /v1/voice/clones take language. Every voice record carries voice_id (the value for voice=), name, kind (profile | clone), provider, model, languages and the native language when known; native speakers of the requested language come first.
  • Languages per engine: llm.voice.list_languages(kind=..., provider=...) and GET /v1/audio/languages list the languages of every TTS, STT and cloning engine without loading a model.
  • Cloned-voice management: llm.voice.get_cloned_voice, rename_cloned_voice, set_cloned_voice_reference_text, delete_cloned_voice, and GET|PATCH|DELETE /v1/voice/clones/{voice_id}. Built-in voices are read-only (422); an unknown id is 404. PATCH, DELETE and POST /v1/voice/design need server authentication (or ABSTRACTCORE_SERVER_ALLOW_UNAUTHENTICATED=1); a provider key does not authorize them.
  • Voice design: llm.voice.design_voice(description, name=..., language=..., text=...) and POST /v1/voice/design create a reusable voice from a written description (Qwen3-TTS VoiceDesign, then cloned; needs the qwen3-tts and stt extras of AbstractVoice, included in abstractcore[apple] and abstractcore[gpu]).
  • one_shot on /v1/audio/speech: the whole text as one generation, so the take keeps one voice (Qwen3-TTS voices, up to 1000 characters). The stream route and remote models answer 422.
  • llm.voice.compatibility_catalog(): feature support per provider and model.

  • Guide: choosing a model for knowledge-graph extraction: a measured comparison of local and hosted models on ontology-constrained entity and relationship extraction (precision, coverage, time), the prompt rules and second-pass strategies that change results, and recommendations.

  • Registry entries: claude-haiku-5-5 (1M context, 128K output, adaptive thinking, effort low..xhigh plus max) and gpt-6-luna (1,050,000 context, 128,000 output, reasoning_effort none..xhigh plus max), from the vendors' model pages (2026-10-25).
  • Mailbox access is an explicit choice: EmailAccount.access, "read" (Read only) or "write" (Read and write), stored in to_dict() / from_dict(); access_text says it in words. can_write is the choice (it was "IMAP and SMTP"); can_send is can_write and an outgoing server set. An account stored without it keeps what it could do: "write" with an outgoing server, else "read". EmailAccountStore.set_access(access, *, smtp=None, test=True) changes it without connecting again (a new outgoing server is signed in to first with the stored sign-in); public() has access / access_text; abstractcore email status and the terminal console's Email line say "Read only" / "Read and write".

Changed

  • Plugin floors: abstractvoice>=0.18.2, abstractvision>=0.3.34, abstractmusic>=0.1.17, abstract3d>=0.3.2 (base install and the apple, gpu, all-apple, all-gpu and vision-* extras).
  • POST /v1/voice/clone returns the stored record of a local clone under voice (name, engine, reference text, meta).
  • A one_shot TTS request the voice backend refuses (too long, unsupported engine) answers 422 with the backend's reason.
  • A voice request for an engine missing from this install (AbstractVoice names the extra to install) answers 501 with the install command instead of 500.
  • A read-only mailbox refuses changes and sends in plain words: "The mailbox
    is read-only: automations only read it." / "Turn on Read and write for
    to change it or send from it." (email_mailbox_read_only). guarded_send on a read-only account with an outgoing server now refuses with EmailMailboxReadOnly before connecting.

Fixed

  • The HuggingFace provider's MoE experts fallback no longer raises ModuleNotFoundError when transformers is not installed; it answers "not applicable" as intended.
  • A configured reasoning default overrode the caller's reasoning_effort=: with reasoning: minimal on the text route, generate(..., reasoning_effort="high") (or "none") ran as thinking="minimal", mapped to the model's "low", and sent reasoning_effort: "low". Precedence is now thinking= > a provider-native field on the call (reasoning_effort=, reasoning=, think=, sent as given) > the configured effort > nothing. The configured effort also applies only to an instance the route describes (same provider or endpoint profile, same model; a reasoning-only route applies everywhere): it used to reach every model on the machine. The planner behind prompt_cache_prepare_modules(thinking=None) follows the same rule. Metadata gains thinking_source (thinking | reasoning_effort | configured_default); a raw reasoning_effort= is reported as thinking_requested, and as thinking_effective on providers that forward it verbatim; the route summary reports an unapplied default as reasoning: None, reasoning_source: not_applied:<reason>.
  • An explicit output budget was cut to a guessed ceiling on unregistered models: max_tokens=12000 on a model missing from model_capabilities.json was clamped to the 4096 default_capabilities guess, truncating JSON output. For an unregistered model the per-call budget is now sent as given and the server enforces its real limit; registered models and constructor caps still clamp, with the warning naming the actual source. A GGUF n_ctx clamp stays in force for unregistered local models.
  • LM Studio thinking= reached the model only for "off": the control rode chat_template_kwargs, which LM Studio's OpenAI-compatible endpoint ignores, while metadata reported thinking_effective="on". The unified control now travels as the top-level reasoning_effort ("none" = off, the declared level, or "medium" for on), which LM Studio maps into the chat template on plain, message-history and tool-history requests, sync and async. thinking="off" no longer appends the assistant no-think prefill on top (it rendered the empty think block twice); the prefill remains the off switch only after the server rejected reasoning_effort. Models without a surface LM Studio can drive (Kimi thinking param, budget-only, surface-less) are no longer claimed. thinking= no longer routes to the native /api/v1/chat endpoint, which dropped the control for history/tool/async requests while still claiming it; reasoning= keeps that lane.
  • vLLM thinking controls never reached the server: they were posted inside a literal extra_body JSON field, which vLLM ignores. chat_template_kwargs, reasoning_effort, thinking_token_budget and the other vLLM extensions are now sent at the top level, and a caller's reasoning_effort= / chat_template_kwargs= are forwarded. The template switch is sent under the name the model declares (no guessed enable_thinking claimed for models that have none); models with levels and no switch (DeepSeek V4, Mistral Small 4) get reasoning_effort; GPT-OSS gets reasoning_effort; Seed-OSS gets thinking_budget; Nemotron low_effort is sent; a token budget alone is no longer reported as an applied level.
  • OpenRouter ignored thinking=: it is now sent as OpenRouter's reasoning object (effort / enabled), with the lowest declared effort (warned) for models whose reasoning cannot be disabled.
  • MLX text-lane usage counted the prompt with a character estimate although the tokenizer was loaded. The prompt is now counted with the loaded tokenizer exactly as mlx_lm tokenizes it; the estimate is used only when no tokenizer can count.

[2.29.0] - 2026-10-25

Added

  • MessageSummary.labels: the message's Gmail labels (X-GM-LABELS), read with every summary and detail (get, get_many, search, fetch_new, thread) when the server advertises X-GM-EXT-1, never asked of another server; () elsewhere (IMAP keywords stay in flags). In to_dict() as labels.
  • The fake IMAP server's add_message(..., labels=...).

[2.28.0] - 2026-10-25

Added

  • Mailbox verbs on EmailClient, each on a list of UIDs and inside session(write=True): mark(uids, seen=, flagged=) (\Seen, \Flagged), label(uids, add=, remove=) (Gmail labels through X-GM-LABELS when the server advertises X-GM-EXT-1, IMAP keywords elsewhere), move(uids, to_folder) (UID MOVE, else COPY + \Deleted + UID EXPUNGE of exactly those messages) and delete(uids, permanent=False) (to the special-use \Trash folder, else a usual trash name; permanent=True expunges). They run on a connection limited to those commands (MailboxIMAP4; a body FETCH stays PEEK-only).
  • EmailAccount.can_write (IMAP and SMTP; can_write in EmailAccountStore.public()): an account with IMAP only is a read-only mailbox and every change refuses before connecting with EmailMailboxReadOnly (email_mailbox_read_only).
  • client.search(...) takes a typed query: from_ (address or domain), to, subject, text, since, until, unseen, flagged, labels, with folder and limit; newest first. SearchCriteria gains text, flagged and labels.
  • client.thread(uid): the conversation of a message (References / In-Reply-To both ways), oldest first.
  • client.build_forward(uid, to=, note=, include_attachments=) and, through the recipient policy and send limits, EmailContext.reply(uid, text, reply_all=) and EmailContext.forward(uid, to, note=, include_attachments=).
  • session(write=True): one connection for reads and changes.
  • Test servers: the fake IMAP server applies STORE (flags, keywords, Gmail labels), COPY, MOVE (optional), EXPUNGE / UID EXPUNGE, lists a special-use \Trash, and searches TEXT, FLAGGED, KEYWORD, X-GM-LABELS and HEADER.

[2.27.0] - 2026-10-25

Added

  • EmailClient.session(): one read-only IMAP connection (one sign-in) for every read inside it (fetch_new, get, get_many, search...); nested sessions reuse the outer one.
  • EmailClient.get_many(uids, folder=..., max_message_bytes=...): several messages, each exactly as get(uid) reads it (whole text/HTML bodies up to the reading limit, skipped over it, attachments as metadata), on one connection with one header/structure FETCH per 100 UIDs and one PEEK FETCH per distinct text section; a UID the folder does not hold is a typed EmailMessageNotFound value, never a failure of the others. A mail watcher reading 50 new messages now signs in once and sends at most four FETCHes (it opened one connection per message before, about 10 s each on a remote server).

Fixed

  • session() types only its own connection and sign-in failures: an error of the caller's own raised inside the block (a full disk while storing what was read) passes unchanged instead of reading as a mail connection error.
  • A message a server refuses to FETCH no longer blocks a mailbox read with get_many: the refusal is a message-level error (email_protocol_error, email_server_error, email_message_not_found), so a caller can read the batch one by one and pass only that message (AbstractRuntime's mail watcher does, from its release that requires 2.27.0).

[2.26.4] - 2026-10-21

Added

  • AI agent skill at skills/abstractcore/SKILL.md, with portable Python integration and operating recipes for provider selection, bounded generation, sessions, streaming, typed extraction, host-controlled tools, embeddings, model management and HTTP serving. See Integrating and operating AbstractCore for the canonical guide.
  • Tencent Hy-Memory-30B-A3B (hy_v3, 30B total / 3B active MoE, for long-term memory extraction): registry architecture hy_v3 and model hy-memory-30b-a3b, with aliases for the BF16, FP8 and GGUF repositories and the three GGUF file names. Runs through huggingface (transformers and GGUF) and mlx.
  • MLX hy_v3 model class (abstractcore/providers/mlx_hy_v3.py). mlx-lm ships none; the class is registered as mlx_lm.models.hy_v3 only when mlx-lm has no module of that name. It matches transformers' HYV3ForCausalLM (float32 router, correction bias that chooses experts without weighting them, float32 shared-expert sum) and keeps the router in full precision when quantizing. The same file can ship next to converted weights as hy_v3.py. Its weight names follow the mlx-lm MoE convention (mlp.switch_mlp.*, mlp.router.expert_bias), so mlx-community/Hy3-preview-* quants load too.
  • Published MLX quants of Hy-Memory-30B-A3B, made with that class: mlx-community/Hy-Memory-30B-A3B-4bit (4.5 bits per weight, 16.9 GB) and mlx-community/Hy-Memory-30B-A3B-8bit (8.5 bits per weight, 32.0 GB), affine group 64 with the router and its correction bias in full precision. They bundle the class as hy_v3.py, so plain mlx-lm loads them too. Both, with the tencent GGUF Q4_K_M, are in the model download catalog (row hy-memory-30b-a3b).
  • thinking_control.effort_disable_value: for templates whose one effort variable is also the on/off switch (Hy-Memory reasoning_effort: high, low, no_think). The MLX, transformers, GGUF, vLLM and OpenAI-compatible providers send no_think for thinking=False and a declared level for thinking=True (high for Hy-Memory), instead of an enable_thinking flag the template ignores. OpenAI-compatible servers get no_think only inside chat_template_kwargs, never as the top-level reasoning_effort. Metadata reports no_think as off.

Fixed

  • Tool calls in the <tool_calls><tool_call>name<tool_sep><arg_key>… form are parsed, including calls without arguments, and the wrapper no longer leaks into streamed or cleaned content. A call whose name would be prose (no <tool_sep>) is rejected instead of returned with a garbled name, and a call cut inside an argument value is not executed. A generation cut right after name<tool_sep> (for example at max_tokens) is not executed as an argument-less call: an argument-less call counts only when its </tool_call> arrived.
  • Tool parsing (GLM / Laguna / HY V3 <arg_key> lane): a call whose argument value mentions <tool_sep> or <arg_key>…</arg_key> (for example a file being written about this format) is parsed; <tool_sep> is recognised only where it ends the tool name.
  • clean_tool_syntax: an unclosed trailing <tool_call> is removed once parsed as a call, but only when its body starts like a call (JSON object, <function=, name<tool_sep> or name<arg_key>); prose after a call that mentions <tool_call> is kept.
  • Streaming: a closed tool envelope whose body no parser accepts is reported in metadata["unparsed_tool_call"] with reason: "unparseable" instead of disappearing (all families). The HY V3 <tool_calls> wrapper is scanned only for the hy_v3 architecture, so Laguna, GLM and unnamed streams keep prose that mentions <tool_calls>.
  • Transformers: assistant tool_calls from the OpenAI wire (arguments as a JSON string) reach the chat template as objects. Templates that iterate the arguments (Hy-Memory, GLM, Laguna) used to raise, and the lane fell back to a plain prompt without the model's format or its thinking control. A request with an empty prompt after a tool result no longer adds an empty user turn.
  • GGUF control plane: explicit sampler zeros are values (temperature=0.0 is greedy, top_k=0 and min_p=0.0 disable those filters) and top_k, min_p, typical_p and repeat_penalty follow the request, the provider and the registry before the lane defaults. This changes temperature=0.0 and top_k for every GGUF model on that lane.
  • Transformers: Hy-Memory's experts are sized from expert_hidden_dim (the checkpoint's moe_intermediate_size does not match its tensors), and MoE models use Transformers' eager experts loop when torch has no grouped_mm kernel on the device (torch 2.8: CPU and MPS).
  • A Hugging Face cache snapshot path (.../models--org--name/snapshots/<revision>) resolves to the repository's registry entry; it used to fall back to architecture defaults.
  • Transformers on Apple/MPS: torch 2.8.x and 2.10.x get a load-time warning. Their causal scaled_dot_product_attention in float16/bfloat16 is wrong past about 20 prompt tokens (ABSTRACTCORE_TRANSFORMERS_ATTN_IMPL=eager avoids it).

Changed

  • Documentation includes agent-skill registration, explicit credential handling, retry and timeout defaults, and matching AI-readable indexes for version 2.26.4.
  • GLM / Laguna <arg_key> tool calls cut inside an argument value (with or without a closing </tool_call>) are no longer executed with that argument missing; they are reported as unparsed. Previously they ran with that argument missing.

[2.26.3] - 2026-10-18

2.26.1 and 2.26.2 were not published on PyPI; their Windows fixes ship in this release.

Fixed

  • Hugging Face (transformers) prompt cache with transformers 5.20 or newer: a warm call feeds only the new part of the conversation again. transformers 5.20 removed Cache.crop with a positive length; the cache is now cropped with the negative form (drop that many tokens), which every supported transformers version accepts. With 5.20, every warm call re-read the whole conversation (correct output, no prefill savings).

[2.26.1] - 2026-10-17

Windows fixes.

Fixed

  • Console output: abstractcore (--status, --config), abstractcore-chat, abstractcore-endpoint and the apps (summarizer, extractor, judge, intent, deepsearch) no longer stop with UnicodeEncodeError when their output is piped or redirected on Windows; a character the code page lacks is written as ? (abstractcore.utils.stdio.safe_stdio).
  • Process trees on Windows: a command or browser tool that is stopped (hard_kill_tree) ends every process it started (taskkill /T /F), not only its own process.
  • LM Studio models in ~/.lmstudio/models are found by the vision catalog on every OS.
  • Model downloads into a cache without symbolic links (Windows without Developer Mode, where huggingface_hub stores each file as a copy in snapshots/<revision>/): abstractcore models download huggingface <repo> reports the download as complete instead of "planned file(s) are not whole", and an interrupted-download marker counts those copies as finished.
  • Hugging Face downloads on Windows run to the end. The download process stops when the process that started it exits; on Windows it now watches that process through a process handle, because a virtual environment's python.exe is a launcher and the parent process id is the launcher's. Downloads from the gateway console (for example the default speech-to-text model, faster-whisper large-v3) previously stopped after a second with "the Hugging Face download process exited 75".

[2.26.0] - 2026-10-15

Security

  • No OS keychain, on any OS (operator ruling 2026-10-10). abstractcore.comms.email.SecretVault seals with AES-256-GCM under ONE key file — by default <config dir>/secrets/sealing.key (0600 in a 0700 folder, 32 bytes from os.urandom, made on first use); a host passes its own (SecretVault(dir, key_file=...), EmailAccountStore(..., key_file=..., vault=...); AbstractGateway uses <data dir>/secrets/sealing.key for every store of its data folder). Each seal binds the store's place relative to the key root, so a folder moved or restored with its secrets/ keeps working and a sealed file copied into another store does not open. The keyring dependency is removed and nothing imports it (the email test suite fails any test during which keyring is imported). On Windows, where Python's modes only toggle the read-only flag, the key folder and file also get a best-effort owner-only ACL (icacls /inheritance:r /grant:r <user>). New helpers ensure_key_file, read_key_file, key_fingerprint.
  • Credentials sealed by an older version with the key in a keychain are never opened (no keychain call, no password prompt): load() raises EmailSecretUnavailable (email_secret_sealed_with_keychain, or the host's own sentence and code), legacy_keychain() / retire_legacy_keychain() let a host mark or move such a store, and public() says secret_storage: "old-keychain" with the sentence in secret_warning. Stores sealed with the older per-store key file (secret.key) are opened and re-sealed under the sealing key (reseal_legacy=False reads without writing). secret_storage is now sealing-key | old-keychain | key-file (was os-keychain | key-file); --key-storage accepts auto / file only (both mean the key file), key_backend="keyring" is refused. What the key file protects (copies without secrets/; not code running as the same user, as before) is in docs/email.md.

Changed

  • Requires AbstractVoice 0.15.0 or newer in the base install and in the [apple] and [gpu] extras (abstractvoice[all-apple], abstractvoice[all-gpu]), the version whose engine runtime carries the mlx-whisper engine; the route engine check's floor moves with it.
  • Speech input (input.voice) recommends Whisper large-v3 on every host (was base). On Apple silicon with the apple setting the pick is AbstractVoice's mlx-whisper engine, which runs it on the Apple GPU (about 1.4 s for a 17-second clip on an M5 Max, against about 20 s on the processor); the light install and every other host keep faster-whisper (CUDA on an NVIDIA GPU). Stored routes are never changed; fresh installs and apply-recommended follow the new pick. On a processor, the recommendation notes that large-v3-turbo is faster (about 6 s for that clip).

Added

  • mlx-whisper speech-input provider: route alias, weights probe and download (abstractcore models download mlx-whisper large-v3), catalog rows whisper-large-v3 and whisper-large-v3-turbo (both Whisper engines).
  • recommendations.voice_input_hint(route, host): the served one-line hint for a configured speech-input route (on Apple silicon, a faster-whisper route runs on the processor while mlx-whisper runs the same model on the GPU). The capability-defaults grid carries it on the input.voice row as route_hint {code, sentence, route}.

Fixed

  • The Hugging Face weights probe counts .npz weight files (MLX checkpoints such as mlx-community/whisper-large-v3-mlx), which it reported as not downloaded.

[2.25.1] - 2026-10-08

Security

  • macOS command sandbox, "Deny everything, allow listed workspaces": the shared temp folders are denied too. The profile denied only user data (/Users, /Volumes, /private/var/root, $HOME), so an unlisted file under /private/tmp or /private/var/folders stayed readable. Both are now denied (read and write); system folders (/usr, /System, /Library, /opt, /usr/local, /Applications) stay readable and unwritable; xcrun's cache files and the run's private TMPDIR keep working. Test: tests/tools/test_sandbox_macos.py.
  • browser_probe serves local pages from a scoped loopback origin, never file://. A page in an allowed workspace could embed file:// subresources (img, iframe, stylesheet) from a refused folder, and Chromium loaded them. Local targets are now served from a private http://<random name>.localhost:<port> origin that answers only for files the run's _sandbox stamp can read (new sandbox.path_readable, the most-specific-row rule; symlinks resolved); file:// URLs and out-of-scope files are refused and listed in the report ("Local files BLOCKED"). A page outside the scope is refused before the browser starts; on a host that called configure_host a local page without a stamp is refused; library use without a host policy serves what the process can read. browser_probe accepts the hidden _sandbox argument (not in the model-facing schema). Side effect: ES-module and fetch() pages render as they do over http (the file:// CORS blank no longer happens). Tests: tests/tools/test_browser_probe.py.

Fixed

  • Linux command sandbox: an allowed folder inside a refused one is reachable under bubblewrap. The bwrap profile masked a refused folder with a tmpfs and remounted it read-only at once, so bwrap could not create the mount point of a more specific allowed folder inside it ("bwrap: Can't mkdir …/parent/child: Read-only file system") and every command failed. The masks are now made read-only after every row is bound, so the most specific row wins on Linux as on macOS (a refused folder inside the allowed child still refuses its subtree). Landlock already granted the child of a refused parent; a test now proves it. Tests: tests/tools/test_sandbox_spec.py (argv order) and tests/tools/test_sandbox_linux.py (real bwrap and Landlock runs, CI job linux-sandbox).
  • Every provider a capability route can name has a local-weights answer. The gateway console's Voice Input row (faster-whisper / large-v3) read "not checked: AbstractCore has no local-weights probe for provider 'faster-whisper'" on a machine that had Systran/faster-whisper-large-v3 cached, and output sound and music (stable-audio-3) said the same. model_materializer.probe now maps each engine's own model id to its storage with that engine's table: faster-whisper (AbstractVoice's aliases, then faster-whisper's _MODELS, read from its source so CTranslate2 and torch are never imported), transformers-asr, audiodit, omnivoice, qwen3-tts, piper, f5_tts, chroma, stable-audio-3, stable-audio, acestep, sdcpp and mlx-gen / mflux presets, triposr, trellis2, step1x and hunyuan3d. Hugging Face storage is judged by the same reader as every other HF route; acemusic and elevenlabs-music are remote. A voice route's provider is resolved the way the route runs it before the probe (local / hf on input.voice, AbstractVoice's remote / compatible / proxy aliases are remote). The engines that resolve to a Hugging Face repo download it (abstractcore models download faster-whisper large-v3). supported_providers() lists them. Only an id no route offers still answers unknown (no materializer), now naming the provider and what to do. Tests: tests/config/test_engine_weight_probes.py (cache layouts per provider, no network or subprocess allowed, every route provider covered).
  • ModelPresence.summary: one short sentence per answer ("In the Hugging Face cache.", "Not in Piper's voice folder.") that grids print under the state; the long detail stays for tooltips. Always present in to_dict().
  • Web console Email: no "Advanced" disclosure. Your own sign-in client is the visible section Sign-in app and the recipient rules, send limits and watched folder are Recipients and limits (the operator's rule: no "Advanced" anywhere; the names the consoles share). The sign-in refusal says "add your own client id under Sign-in app". Tests: tests/test_console_email_tab.py.

[2.25.0] - 2026-10-05

Added

  • Command sandbox (abstractcore.tools.sandbox): execute_command and the persistent shell_exec session run inside an OS sandbox built from the run's effective workspace set, which the host stamps as the hidden _sandbox argument (SandboxSpec: private workspace, posture allowed_only | any_except_denied, default mode, allowed rows ro/rw, refused rows, built-in refusals and the host's exceptions). macOS: sandbox-exec with a generated profile; Linux: bwrap, or Landlock for the allow-list posture. The most specific row wins; built-in refusals are absolute. No sandbox available: the call returns success: false with one sentence and runs nothing, unless the host allowed unsandboxed commands. configure_host(env=…, unsandboxed_commands_allowed=…) (set once by the host at boot) gives the scrubbed environment every command starts from (plus a private TMPDIR in the run's workspace) and makes an unstamped spawning call refuse; host_policy() / host_sandbox_kind() report it. Results carry sandbox: {kind, …} and a Sandbox: … line. Library use without a host policy is unchanged.

  • CI: a linux-sandbox job installs bubblewrap on Ubuntu and runs tests/tools/test_sandbox_linux.py (bwrap and Landlock); the job fails when any of those tests is skipped, so the Linux sandbox is verified on a real Linux host on every push to main and every pull request.

  • POST /v1/chat/completions accepts OpenAI's response_format on every provider: {"type": "json_object"} or {"type": "json_schema", "json_schema": {"name", "schema", "strict"}}. Providers that constrain decoding receive the schema; every answer goes through the structured-output handler and is validated against the caller's schema (feedback retries). An unusable response_format answers 400 invalid_response_format, response_format with tools answers 400 unsupported_parameter, and an answer that still does not match answers 500 structured_output_invalid. A streamed request receives the validated JSON as one chunk. abstractcore.structured.json_schema (response_model_for, validate_instance) is the validator.

  • Console About (the i button in the top bar): the compact About card shared by every AbstractFramework app (UI kit AfAbout) with AbstractCore's version, the AbstractFramework and AbstractGateway versions installed on this host, the links and the licence line; no package list. abstractcore.utils.identity.about_card_html (with about_version_facts, about_links) renders it; the kit's af-about CSS is vendored by python -m abstractcore.console.theme_sync.

  • POST /v1/audio/music accepts seconds (the clip length; same value as duration_s, which stays accepted). A non-positive length or two lengths that disagree answer 400. The sound output's seconds/duration_s and model reach the music plugin with the task (text_to_audio), so a sound effect runs the route's model for the requested length.

  • models delete huggingface org/repo:QUANT (and the Gateway's Models-page Delete) removes only that GGUF quant's files and keeps the repo's other quants; the whole repo goes when it was the last model file set. A quant that is not in the cache answers not_found.

Fixed

  • POST /v1/audio/music with task: "text_to_audio" returns the generated sound effect; it read only the music output and answered 500 for the sound output a sound effect produces.

  • POST /v1/chat/completions with an unknown provider, or a model the provider reports missing, answers 404 with code: "model_not_found" in the OpenAI error envelope instead of 500. The registry raises UnknownProviderError (a ModelNotFoundError and still a ValueError).

  • A Hugging Face / MLX cache delete is planned on its own repo only. The cache API resolves a commit hash to the first repo that holds it, so a mirror or duplicated repo sharing a commit could be deleted in place of (or along with) the requested one.

Changed

  • The music plugin floor is abstractmusic>=0.1.16 (base, [apple] and [gpu]): 0.1.16 runs the requested Stable Audio 3 checkpoint (the SFX checkpoint for sound effects) for the requested seconds.

  • Console theme CSS re-synced from UI kit 0.8.0. The terminal console crate abstractcore-console is versioned 0.8.0 with this release.

[2.24.0] - 2026-10-03

Added

  • Hosting applications can compose the Core ASGI server with a request-scoped ServerAuthPolicy and use_server_auth_policy() context manager. Host tokens stay separate from standalone server credentials; policies remain isolated across concurrent requests and restore after errors. Optional unauthenticated access preserves restrictions on server-held provider credentials.

Fixed

  • Prompted tool-call parsing exposes structured tool_call_error diagnostics for rejected calls; streaming malformed envelopes expose the same diagnostic so agents can recover.

[2.23.1] - 2026-10-02

Fixed

  • MLX native lane, prefix cache on small Macs: the prompt cache now sizes itself to the machine — budget min(8 GiB, working_set / 4) and a 512 MiB reserve on top of the measured free memory — instead of mlx-vlm's automatic working_set / 10 budget plus a max(1 GiB, working_set / 10) reserve. On a 24 GB Mac running a 27B model that reserve alone was more than the model left free, so every snapshot store was skipped (native_apc_store_skipped) and every turn re-prefilled the whole conversation. mlx_cache_memory_max_gb still sets the budget explicitly; the degraded reason now also names free memory as a cause.
  • MLX native MTP: a text route with no speculation key now inherits optional MTP (native_mtp, require_acceleration: false) for an artifact whose MTP support is verified, as the console's "Workflow / Gateway default" label always said. Only an explicit false turns it off. Before, absence meant off, so any save that dropped the key (a provider move, an MTP picker left on "default") silently disabled speculation (9 instead of 17 tok/s on Qwen3.8-27B oQ4e).

[2.23.0] - 2026-10-01

Added

  • McpClient.initialize() and McpStdioClient.initialize() run the MCP handshake explicitly and return the server's initialize result (serverInfo, protocolVersion, capabilities); initialize_result keeps it. list_tools_page(cursor=None) returns one tools/list page and its nextCursor.
  • McpStdioClient(..., inherit_env=False) starts the server with exactly the given env instead of this process's environment plus env.

Changed

  • A stored policy written before the two lists existed migrates on load: an allowlist's entries become Always allowed, a denylist's entries become Always denied, the mode is kept. The stored and returned policy keeps entries (the list the mode uses), so readers of {mode, entries} keep their meaning; {mode, entries} bodies are still accepted.
  • A domain entry now also covers its subdomains (example.com matches a@mail.example.com, never a@badexample.com); before, each subdomain needed its own entry.
  • The account's own addresses (registered address and mailbox address) are always allowed; the email context, POST /acore/email/policy/check and abstractcore email policy check pass them.

Fixed

  • McpClient (Streamable HTTP) now sends initialize and the notifications/initialized notification before its first request, sends the server's MCP-Session-Id on every later request and the negotiated MCP-Protocol-Version, and reads responses sent as text/event-stream. It used to post tools/list without a handshake, which conformant servers refuse.
  • McpStdioClient sends notifications/initialized after initialize (it sent initialized, which servers ignore, so strict servers refused every later request).
  • list_tools() on both clients follows nextCursor and returns every page (it returned the first page only); a server that repeats a cursor or exceeds 100 pages raises McpProtocolError.
  • Recipient rules: the email recipient policy has two lists, always_allow ("Always allowed") and always_deny ("Always denied"), each holding exact addresses (name@example.com) or domains (example.com, which also covers its subdomains). The mode decides only recipients on neither list: allowlist ("Only the Allowed list") refuses them, denylist ("Anyone not on the Denied list") allows them. Precedence, in one function (evaluate): the account's own address is allowed, then Always denied refuses, then Always allowed allows, then the mode. To, Cc and Bcc are all checked, for agent sends and notifications alike. A refusal reads "Not sent: x@denied.gov is on your Always denied list (denied.gov)."
  • GET /acore/email policy carries self_addresses (the own addresses, normalised: always allowed, shown fixed by the consoles).
  • RecipientPolicy.build(..., always_allow=, always_deny=), with_changes(always_allow=, always_deny=) (a given list replaces that list), EmailAccountStore.set_policy(always_allow=, always_deny=), PUT /acore/email/policy fields always_allow / always_deny, and abstractcore email policy set --always-allow <entry> --always-deny <entry>. policy show prints both lists. Each verdict carries source (self, always_deny, always_allow, mode).
  • In denylist mode the account's own address was denied when a caller passed it as "self" (it was merged into the mode's matched set). Self is now its own first precedence step.
  • Changing the registered address stored the policy as an object instead of its dict form.
  • The web console's Email tab (Advanced) shows the mode ("Only the Allowed list" / "Anyone not on the Denied list"), the Always allowed and Always denied lists and the sentence "Denied always wins. Your own address is always allowed. A domain also covers its subdomains."; every add, remove or mode change saves at once. The own address shows as a fixed chip ("(your address)", not removable). The limits read "Send at most [n] per hour and [n] per day.".

[2.22.0] - 2026-10-01

Mailbox servers are found from the address, the web console's Email tab connects over IMAP with every server field visible and pre-filled, a settings save keeps the keys this version does not know, and transcription routes written with a download provider are repaired. The terminal console abstractcore-console 0.6.0 ships with this release.

Added

  • abstractcore.comms.email.discovery.discover_servers(address) and POST /acore/email/discover: a mailbox's IMAP and SMTP servers are found from its address (known providers, the domain's autoconfig file, the Thunderbird ISPDB, DNS SRV, then MX; HTTPS only, public hosts only, safe XML). PUT /acore/email and abstractcore email connect without servers discover them; nothing found is a 400 email_discovery_failed listing the steps tried. `abstractcore email discover
    ` prints the result. - `abstractcore.comms.email.discovery.server_defaults(address, discovered=None)`: the server fields a mailbox form pre-fills (the discovered servers and login, else the standard `imap.` 993 SSL and `smtp.` 465 SSL), with one sentence saying which. `POST /acore/email/discover` and `abstractcore email discover --json` return it as `defaults`. - `PUT /acore/email/folder`, `EmailAccountStore.set_folder()` and `abstractcore email folder `: the folder the mailbox is read from changes without connecting again (empty = INBOX). - `GET /acore/email` and `abstractcore email status --json` list `oauth_providers` (whether this version has a built-in sign-in client for Google and Microsoft) and `registered_address_stored`. - `abstractcore.console.themes.KIT_SWITCH_CSS` and `KIT_FORM_CSS`: the UI kit's switch and form, card and tabs rules (ui-kit 0.3.3), copied verbatim by `abstractcore.console.theme_sync` (`parse_kit_block`), which refuses a kit without them. - Model catalog: an artifact may carry `route: {key, provider, model}`, the capability route that runs it when the engine is not the download provider (`model_catalog.route_for_download`). The speech input model (Hugging Face `Systran/faster-whisper-base`) is run by faster-whisper `base`. ### Changed - Web console, Email tab: in order, **Email address** (the only field with a Save button), **Mailbox**, the **Agent email tools** switch, and **Advanced**. The Mailbox tabs are **IMAP** (first, the default), **Google** and **Microsoft**. The IMAP pane shows every field: Mailbox address, Password, and Incoming mail (IMAP) and Outgoing mail (SMTP) as Server / Port / Security rows, filled with `imap.` 993 SSL and `smtp.` 465 SSL as soon as the address has a domain, then with the discovered settings, never over a field you edited; one line says where they came from. There are no User name or Display name fields: a small link "My provider uses a different login name" shows a Login field, and "Custom certificate" shows the CA file. One **Connect** tests reading and sending, then stores; an error names the step that failed. Once connected, the Mailbox card shows the status line, the **Active** switch, **Test**, and **Disconnect** with an inline confirmation. Advanced is three short sentences saved as you edit: who your agents may send to, "At most N per hour and N per day", and the watched folder. "Save and test", "Turn on/off", "Save policy" and "Save limits" are gone; the CLI hint uses `--password-stdin`. Forms are at most 720 px wide with labels above the fields. - Web console and terminal console, Email: the address is asked once. With no email address stored and no mailbox, the mailbox form's address is the only address field (connecting sets the email address from it). With an email address stored, the mailbox form shows "Mailbox account:
    — Use a different account"; the link shows the field, prefilled, and the email address is read-only until you connect or go back to it. "Your mailbox is a different account" shows only when the two addresses differ. - Email send limits default to 100 per hour and 1000 per day (were 20 and 100). Connecting a mailbox does not store the defaults, so an account where nobody set limits follows the defaults; limits set with `abstractcore email limits set`, `PUT /acore/email/limits` or the console are stored with `set_by: "user"` (only the windows set) and kept across upgrades. `abstractcore email limits reset` (`EmailAccountStore.reset_limits()`) follows the defaults again. The limits document gains `source`: `default` | `user` | `legacy`. - Connecting a mailbox sets the email address when none is stored. A connection given no display name keeps the stored one, else uses the address's local part (`abstractcore email connect --display-name` still sets it); a connection given no user name signs in with the discovered form, else the address. - Web console on phones: the content uses the full width (flat sections, one page scroll); the list panels fold from their heading and the browser remembers it. The dark/light control is a "Dark theme" switch. - `abstractcore email` texts say "Email address" and "Use this mailbox". - Terminal console `abstractcore-console` 0.6.0: the **Email** screen follows the web console card by card: Email address with its own Save; the Mailbox card with the tabs **IMAP** (first, the default), Google and Microsoft, the IMAP tab showing every server field pre-filled from the address (standard values at once, then `abstractcore email discover --json` `defaults`, never over an edit), Login and CA file behind small links, the address asked once, and one Connect; connected: status line, the **Active** switch, Test and Disconnect with an inline confirmation; the **Agent email tools** switch; Advanced as three sentences (recipients, limits, watched folder) saved as you edit, every failure with its cause inline. On/off settings on every screen are switches (`[x]` on, `[ ]` off, `[-]` unavailable with the reason; `Space` or `Enter`) that apply at once; switching on a flag marked UNSAFE still asks first. The Routes screen reads a route whose provider is no engine (for example `input.voice` = `huggingface`) as "unknown engine" with AbstractCore's reason. It needs this release's `abstractcore email discover` and `abstractcore email folder`. See [Terminal console](docs/console-tui.md#email-keys). ### Fixed - A Hugging Face model on a computer with no Hugging Face cache yet reads as not downloaded (`absent`, downloadable), not `unknown`: a fresh install's Transcription card said "Unknown" and "Download all" skipped the model. - Transcription showed "Engine missing: unknown AbstractVoice engine 'huggingface'": the recommended download plan asked AbstractVoice for the engine of the download provider (`huggingface`) instead of the route's engine (`faster-whisper`). Plan rows carry `route_provider` / `route_model` and judge that engine; the grid probes the transcription model's weights in the Hugging Face cache. Any other unknown voice provider says to pick a transcription engine (Multimodal page in the gateway console, Routes in the core console). Speech input accepts AbstractVoice's aliases (`whisper`, `local`, `hf`, `transformers`). - The default allowlist entry follows the registered address when it changes (`EmailAccountStore.set_registered_address` swaps the old address for the new one), so a sign-in code or a notification to a changed address is no longer refused as "not in the allowlist". `evaluate(..., self_addresses=)` lets a caller treat given addresses as allowlist entries. - Web console: Copy buttons work when the console is opened over plain http from another machine (textarea fallback when the Clipboard API is unavailable) and say "Copy failed — select and copy" when nothing was copied. - A settings save keeps the keys this version does not know in `abstractcore.json`: top-level keys, unknown fields of every section, unknown `capability_defaults` keys and route keys this version cannot parse, unknown `provider_profiles` keys and unknown columns of a profile that still exists are written back unchanged. Before, the first save after a restart (any setter: a route, a default, a timeout) removed a key you added yourself (a top-level key, `vision.user_note`) and every key a newer AbstractCore had written. Known keys are validated as before, and a route or profile you delete stays deleted. ### Migration - Config repair on load: a stored `input.voice` route that holds a catalog download pair (`huggingface` / `Systran/faster-whisper-base`) is rewritten to the catalog's route (`faster-whisper` / `base`) the first time this version loads the config, after writing a copy of the file to `abstractcore.json.route-repair-