Skip to content

v2026.11.3

Latest

Choose a tag to compare

@jmagly jmagly released this 30 Nov 04:04
v2026.11.3
151ac4a

Highlights

What Changed Why You Care
Chat model list never reports context_window: 0 (#1347) HotM and other clients no longer drop OpenAI-compatible and llama.cpp models, so the model picker is no longer empty
New kind and context_window_source fields on chat model entries Clients can tell chat from embedding models and see whether a window is confirmed or estimated
Optional MATRIC_CHAT_CONTEXT_WINDOWS and MATRIC_CHAT_DEFAULT_CONTEXT_WINDOW Set exact per-model windows when the heuristic default is wrong; no action is needed otherwise
PostGIS 3.6.4 resolved from the PGDG archive with an exact apt pin (#1345, #1344) Bundle and test database images build again after apt.postgresql.org dropped 3.6.4; PostGIS stays on 3.6.4 because 3.7.0 does not load on the pinned pgvector base
Container input and Python sidecar lock reviews renewed Trust inventory reviews are current to 2026-11-28; no pins changed

Fixed

  • GET /api/v1/chat/models no longer reports context_window: 0 for a configured
    chat model that is absent from the static profile registry (#1347). HotM drops
    every model with context_window <= 0, so an OpenAI-compatible or llama.cpp
    deployment (for example a Codex proxy model) produced an empty picker. The
    window now resolves from explicit config (MATRIC_CHAT_CONTEXT_WINDOWS), the
    provider's /models runtime context, the registry, a capped estimate from a
    provider-reported training maximum, then an 8192-token heuristic default
    (MATRIC_CHAT_DEFAULT_CONTEXT_WINDOW). The endpoint now also lists the
    configured generation model of each non-Ollama provider, and no longer returns
    503 when Ollama is unreachable but another provider is configured; the list is a
    configuration/catalog view, not a health signal.
  • Provider model metadata is fetched through the outbound inference destination
    policy (DNS pinned, no redirects or proxies, denied address classes), is bounded
    (4 MiB, 4096 entries, 512-byte ids), and is served from a shared TTL cache with
    single-flight refresh and stale-while-error. Ollama discovery for the list has an
    explicit deadline and cannot hold back other providers' entries.
  • POST /api/v1/chat and /chat/stream accept the provider-qualified slugs the
    list advertises (ollama:qwen3:8b previously returned 400 when another provider
    was the default); the sync response model_info now carries the same identity and
    resolved metadata as the list entry.
  • Model kind uses the configured generation role or a known capability before a
    case-insensitive name heuristic, and embedding-only models are excluded for every
    provider.
  • Resolve the pinned PostGIS 3.6.4 (3.6.4+dfsg-2.pgdg12+1) in Dockerfile.bundle and build/Dockerfile.testdb from the PGDG archive (https://apt-archive.postgresql.org, suite bookworm-pgdg-archive), because the active bookworm-pgdg feed removed that revision and the bundle build failed (#1345). The archive reuses the base image's signed-by PGDG keyring (fingerprint B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8); apt preferences give only postgresql-18-postgis-3 and postgresql-18-postgis-3-scripts at the exact version priority 990 and every other archive candidate priority -1. The archive source and preferences are removed in the same layer. The test database image also installs ca-certificates first, since the archive is HTTPS-only. PostGIS stays on 3.6.4 because 3.7.0 fails to load on the digest-pinned PostgreSQL 18.4/pgvector base (#1345); the coordinated base and PostGIS update is tracked in #1344. The feed exception expires 2026-12-28 (docs/content/container-dependency-trust.md).

Added

  • kind (chat or embedding) and context_window_source (config, provider,
    registry, provider_training_estimate, default, unknown) on chat model entries, so clients no longer infer
    embedding models from context_window == 0. context_window is unchanged. The
    OpenAPI contract now publishes the ListChatModelsResponse and ChatModelInfo
    schemas.

Changed

  • Chat model slugs from GET /api/v1/chat/models are bare for the default provider
    and provider-qualified (ollama:name, llamacpp:name) otherwise, so a listed
    slug always routes to the provider that reported it. Previously Ollama slugs were
    always bare, which misrouted when another provider was the default.
  • Renew the retained container input reviews (eleven image entries last reviewed 2026-10-28) against their recorded origins, with registry manifests fetched read-only by digest and tag and a value-free receipt in docs/evidence/container-dependency-review-20261128/. Every pin still matches its immutable digest; seven mutable tags now resolve to newer upstream builds, and moving any pin is separate work. Renew the retained Python sidecar lock reviews (docs/evidence/python-sidecar-review-20261128/); requirements and lock hashes are unchanged. Neither review is a vulnerability scan or runtime qualification.

Security

  • Add a documented 30-day ignore for RUSTSEC-2026-0620 (curve25519-dalek 4.1.3, a scalar multiplication bug in the AVX-512 backend) to deny.toml and .cargo/audit.toml (the auth-consumer lockfile does not contain the crate). Fortemi is not affected: matric-crypto uses the crate only through x25519-dalek, whose x-only multiplication the advisory lists as unaffected, and on 4.1.3 the AVX-512 backend is selected only by nightly builds, while every Fortemi build uses stable rustc 1.92. The upgrade to x25519-dalek 3 and curve25519-dalek 5.1 is tracked in Fortemi/fortemi#1352; the ignore expires 2026-12-29.

Upgrade notes

  • No new migrations. git diff --stat v2026.11.2..HEAD -- migrations is empty.
  • Chat model list: GET /api/v1/chat/models now returns kind and context_window_source per entry, lists each non-Ollama provider's configured generation model, and no longer returns 503 when Ollama is unreachable but another provider is configured. Slugs are bare for the default provider and provider-qualified otherwise; clients should use the listed slug as is.
  • Two optional environment variables, both unset by default: MATRIC_CHAT_CONTEXT_WINDOWS (comma-separated model=tokens overrides) and MATRIC_CHAT_DEFAULT_CONTEXT_WINDOW (default 8192). Existing deployments need no change.
  • Images built from this release fetch the two PostGIS packages from the PGDG archive during the build; builds need HTTPS access to apt-archive.postgresql.org.