v1.5.1
latestThe release that made the stack honest about itself. Ollama now runs inside Compose with automatic model provisioning, extraction reads long conversations in chunks instead of truncating them, the console was rebuilt around a single-operator flow, and a new-user walkthrough run against a wiped volume found two defects the existing suite had walked past — one of them a port published to the whole network under a comment that claimed the opposite.
- Warm extraction
- 1.23 → 11.33 tok/s
- Chunked recall
- 13/90 → 70/90
- Backend tests
- 392 → 409
- New-user walkthrough
- 22/22
- Docs topics
- 8 → 20
- Mojibake files
- 49 → 0
Extraction that reads the whole conversation — Added
- Chunked extraction, defaulting to 10 sentences or 1,600 characters per chunk, with merge, dedupe, truncated-JSON salvage and per-chunk failure isolation. One bad chunk no longer costs you the rest of the message.
- Real-server recall over a 90-fact conversation went from 13/90 to 70/90, and a standalone 30-fact set from 24/30 to 30/30.
A first run you can follow — Added
- A /dashboard/welcome page that reads actual engine, key and memory state instead of a checklist, and shows exactly which step is blocking.
- MCP setup in two steps, with key minting inline and a real transport and key check against the running service.
- scripts/bootstrap_key.py creates the organization, account, membership and first API key in one command, and is idempotent.
- benchmarks/new_user_e2e.py walks the whole first-time path and asserts on behaviour rather than status codes: boot, key, first memory, retrieve, contradict, supersede, retrieve again, explain, graph, MCP, console. It found both of the defects above when run against a wiped volume.
The operator console — Changed
- Rebuilt light-first around a Notion-style shell and a single token system, replacing the page-by-page styling.
- The entity graph gained force-directed layout, search, relationship filters, edge labels, neighbourhood focus, pan and zoom, a table view and a deterministic fallback for large graphs.
- Extraction telemetry is surfaced where you use it, with truthful unavailable and unverified states rather than a green tick on a model that is not loaded.
Documentation — Changed
- The public docs grew from 8 topics to 20 and now answer the questions a self-hoster actually has: which containers run, which ports are default versus profile-gated, every environment variable worth setting, measured performance, and a troubleshooting table keyed on symptoms.
- Diagrams are composed from a single dimetric projection so boxes tile correctly, and they respect prefers-reduced-motion.
- Mojibake across 49 dashboard and landing-page files is gone. It was real corruption — UTF-8 read as cp1252 and written back — and it had been reintroduced twice by bulk edits before it was traced.
MCP was published to the whole network — Fixed
- The MCP container authenticated one tenant once at startup, from CONTEXTA_MCP_API_KEY, and then served that tenant to every caller that could open the port — but the port was bound to 0.0.0.0 and the Compose comment claimed it "authenticates every caller". The port is now bound to 127.0.0.1 and the comment describes what the code actually does. Put a reverse proxy with per-client auth in front of it before exposing MCP beyond the host.
- A stale or revoked MCP key now reports which of the two problems it is, instead of a bare "unknown or revoked".
The public API spec was missing its own request body — Fixed
- POST /v1/observations published no requestBody at all, because the body is parsed by hand to return 422s for oversized and malformed payloads in the same shape as a schema violation. The schema is now declared explicitly while the manual parsing — and its error shape — is kept.
Ollama inside Compose, and tuned — Performance
- Ollama is a service in the stack now, with a named model volume and a one-shot provisioner, so the extractor no longer depends on something installed on the host.
- The image's default thread allocation fragments the pool across speculative sequences, which on a small box left a single extraction request using a fraction of the cores. Setting OLLAMA_NUM_PARALLEL=2, a 30-minute keep-alive and a single loaded model took warm throughput from 1.23 to 11.33 tokens per second — faster than the host Ollama it replaced, so running it in the stack costs nothing.
- As a side effect, extraction stopped flapping. The old timeouts were pushing the worker onto the heuristic fallback, whose output was then discarded by the PII filter; the discard was the symptom, not the cause.
Upgrading
- 01No schema migration. docker compose up --build is enough.
- 02MCP is now on 127.0.0.1:8765 instead of 0.0.0.0:8765. If you were reaching it from another machine, put a reverse proxy with per-client authentication in front of it, or set CONTEXTA_MCP_PORT and bind deliberately.
- 03The stack grew by one service: Ollama, with a named volume for model weights. First boot provisions the extractor from ./models if a GGUF is present, otherwise from CONTEXTA_EXTRACTOR_MODEL_REF.
- 04If you were running Ollama on the host, you can stop it. Set CONTEXTA_EXTRACTOR_MODEL_REF only if you want to pull the extractor from a registry instead of the local file.
- 05One backend test now skips rather than fails when the Qwen3 weights are neither cached nor reachable, because it loads real model weights. Run the suite inside the compose stack to cover that path.