Repository navigation
v0.18.1 — Memory and Safety Fixes
Patch release prepared 2026-12-02. Extended memory acceptance was explicitly
waived by the repository owner; the limitation is recorded below.
This patch stabilizes the maintained database, memory relationships, FastThink
evidence selection and MCP recovery. It also adds backup-first local operator
tooling. It does not introduce training-dataset export or change the default
generation provider.
Database memory and transaction safety
- Request arenas now own and drop heap-backed property values recursively on
reset, destruction and partial-construction failure (#177). The production
allocator remains mimalloc; no diagnostic allocator is substituted.
Extended post-workload verification in #177 remains open: the owner waived
the fresh long memory check for this release. - A narrowly scoped vendored LMDB fix keeps the root writer mutex held through
spill/remap cleanup (#189). Deterministic original-source controls and linked
transaction tests cover the handoff; the persisted format is unchanged. - Telemetry exporters in the maintained engine and CLI are disabled (#183).
Legacy telemetry settings cannot enable payload export, and the gateway no
longer collects request bodies for that exporter.
More accurate memory and explicit evidence
- High cosine similarity no longer silently treats non-identical statements
as duplicates: changed numbers, units, negation and subjects receive a
semantic decision. Byte-identical duplicate handling is retained. - Inferred contradictions require the same subject and applicable conditions,
rather than a shared topic or different measurements from different projects
(#184). Unavailable or malformed adjudication does not invent a dispute. - Structural fallback links require independent, unambiguous endpoint facts
(#197). A classification plus another detail about the same subject cannot
manufacture a category endpoint. Matching stays within the structural
statement; agent instructions describe this evidence requirement. - Resolved disputes no longer appear as active
controversy; historical edges
remain accessible (#185). think_recalladdsrecalled_facts, mapping thought indices to bounded
source text, memory ids, scores and metadata (#186). Existing count/index
fields remain. Only selected evidence is attached to a committed conclusion;
unselected sibling recalls are not silently included.- Invalid FastThink parent/support indices return
INVALID_PARAMSbefore
graph or session mutation (#180). - Contradiction resolution requires an authenticated actor, write access to
both records and one security domain (#192). Only the requested directed
pair is retired; protected sources retain charter guards and no-op requests
do not manufacture another precedent.
Recovery and maintenance
- MCP discovery stays available while a missing database is retried in the
background; memory operations still fail closed until it recovers (#179). - Watchdog status recognizes the managed launchd/systemd owner instead of
relying only on a detached-process PID file (#167). - Managed service definitions retain explicit loopback proxy bypass. Complete
corporate-proxy validation remains a separately deferred task (#178). - The local macOS/bind-mount maintenance tool preserves old image/native/config
identity, verifies a cold backup with the old engine, checks census/RBAC
before restoring writers, and preserves failed data during rollback. - Memory tests reject interrupted idle observations and distinguish sample
gaps or host suspension from a continuously observed idle interval (#191). - The bounded emulator tracks all 193 HQL routes, preserves collection UPDATE
arrays and scalar objects, and checks directed pair-resolution no-ops and
missing-source errors (#193). Nested predicate traversals no longer alter
the returned row type; controversy projections remain arrays of nodes.
Reproducible native packages
The build now obtains ONNX Runtime from Microsoft's official NuGet packages
because its GitHub repository and release downloads returned 404 during
candidate validation (#196). Fixed package checksums retain macOS 1.23.2 and
Linux/Windows 1.24.2; each target receives its native library, required loader
names, licenses and a provenance manifest. NLI inference and Linux ABI gates
remain required. Strict compilation also follows current stable Rust without
adding lint suppressions (#195).
Provider choice and declared validation coverage
The README and installation guide now distinguish a latency-oriented Cerebras
route from budget-oriented DeepSeek Flash. The shipped default is unchanged,
and neither choice enables an implicit fallback. Current prices depend on
model, caching and billing period; the recommendation is not a universal
price or quality comparison.
The operator selected DeepSeek-only functional validation with fallback off.
Cerebras behavior was not retested.
Memory acceptance was not run. The repository owner explicitly waived the
fresh primary/repeat and long idle observations for v0.18.1 to proceed with
publication after the other checks. The source-bound
memory-check-waiver.json records that decision
and the completed functional report digests; it is not a memory-pass report.
The strict evidence verifier and resource protections remain available for
actual memory runs. This release does not certify long-term heap retention.
Validation status
Fresh native candidate checks passed 1431 engine library tests, ten ownership
regressions, three writer-handoff integrations, selected arena/CLI checks and
twelve fresh stress processes. The application/client/mock matrix passed
23 stages, including 415 library, 30 CLI, eleven client and 38 unique emulator
tests, gateway recovery, strict application/client/mock Clippy and rustdoc.
The structural follow-up passes 419 library and 30 CLI tests, including the
observed missing-endpoint case and explicit positive/ambiguous alternatives.
The rebuilt maintained CLI compiles all 193 HQL handlers. All 63 fresh isolated
live executions (61 unique tests), both optimized MCP cases and all ten branch
CI jobs pass. The tagged Release workflow
validates native archives, Homebrew/APT installation and gateway lifecycle
before it creates the GitHub release. Its completed run records package and
publication acceptance; pre-publication attempts are not reported as passes.
The November local-production candidate passed isolated MCP/RBAC and semantic
quality checks using DeepSeek with fallback disabled, plus bounded diagnostic
read-pressure and idle measurements. Those results are not a fresh public
release or a Cerebras-model performance/quality verdict. Current candidate
proof and declared limitations are tracked in
state-snapshot.md.
Upgrade and scope
Full hosts must update the maintained engine, 193-query bundle and server
together after a verified backup and restore rehearsal. The physical
22-node/five-vector/30-edge declarations remain unchanged. See
UPGRADING.md.
After restarting the gateway, reconnect MCP clients so they establish a fresh
HTTP session and load the shipped tool descriptions, prompts and skill.
Agent-only hosts update helixir-client without taking database ownership.
Comprehensive corporate-proxy validation (#178), transactional Windows bootstrap (#131), inherited
maintained-fork strict-Clippy debt (#188) and obsolete documentation examples
(#190) remain separately tracked. CLI-only operation does not require the
control plane. Training-dataset export remains a separate research stage.
Publication record
All 16 build, test and image jobs passed in release run 46931309511. After the hosted final publication step failed, the maintainer completed archive binding, checksums and upload with the same validated artifacts and unchanged tag 40934e7. Windows first-party text files use the exact repository LF bytes so their schema fingerprint matches the shared backend descriptor; executable and ORT bytes are unchanged. No additional acceptance gate was waived.