Changelog¶
Releases are cut automatically when the VERSION file changes on the default branch; each release tags the repo and publishes a container image to GitHub Container Registry.
v0.3.2 October 2026¶
Removed
scripts/benchmark, a September 2025 harness from before the STM rewrite. It could not build (it importedinternal/packages from a separate module, called APIs that no longer exist and declaredmaintwice), its other half benchmarked mocks with random sleeps rather than Athena, and its only recorded run had zero operations. It still drew Dependabot alerts.industry-benchmark/is the benchmark: real datasets through the REST API.
v0.3.1 October 2026¶
Security
HealthCheckneeds credentials over gRPC, as it already did over REST. Its dependency errors can name internal hosts. Any valid key or token may read it; the open liveness probe isGET /health.
Fixed
- The documentation said
HealthCheckneeds no credentials and that/healthreportsdegradedwhen Redis or MongoDB fail.HealthCheckneeds a key, and/healthanswershealthywhenever the server is serving, without checking dependencies.
v0.3.0 October 2026¶
/metrics now needs a service key, so Prometheus scrapers need a configuration change before they upgrade. See Upgrading below.
Security
/metricsneeds a service key. The metrics are aggregated across tenants and were readable by anyone who could reach the server; a tenant key now gets403.MEMORY_OS_METRICS_PUBLIC=trueserves them without credentials, and a server running without authentication is unaffected./healthstays open.- Dependencies with published advisories are upgraded:
google.golang.org/grpc1.83.1,github.com/klauspost/compress1.18.7 andgo.opentelemetry.io/otel/sdk1.45.0 in the server;golang.org/x/crypto,golang.org/x/netandcompressin the benchmark and test-script modules, which now need Go 1.25.
Breaking changes
- Scraping
/metricswithout a service key returns401(no key) or403(tenant key).
Fixed
- Milvus was used only when
MILVUS_HOSTandMILVUS_PORTwere both set, although the documentedMEMORY_OS_MILVUS_HOSTandMEMORY_OS_MILVUS_PORTwere read elsewhere. With the two split across the names, Athena ran without vectors: chains were stored but semantic search returned nothing, and every health check stayed green. Both names are now read, and the port defaults to19530.
Added
/api/v1/healthreportsmilvus, andstatusisdegradedwhen it is not configured or does not answer. Starting without Milvus is logged as an error.
Upgrading
- Give your Prometheus scraper a service key (
MEMORY_OS_API_KEYS="<key>=*") and send it asX-API-Key; the Metrics reference has a scrape config. Or setMEMORY_OS_METRICS_PUBLIC=trueto keep/metricsopen. - Check
/api/v1/healthafter the upgrade. Ifmilvusis nothealthy, chains stored before it was fixed have no vectors and are not found by semantic search; new chains are.
v0.2.1 October 2026¶
Fixed
- Completions with Gemini on Vertex AI (
GEMINI_USE_ADC=true) failed with400 Please use a valid role: user, model., because the request carried no role. Every completion now sends theuserrole, so chain formation, topic analysis and the startup LLM check work on Vertex. The Generative Language API (API-key mode) is unaffected.
v0.2.0 October 2026¶
This release closes a tenant-isolation vulnerability (GHSA-3w3p-cfpg-qr9c) and makes authentication mandatory, so existing deployments need a configuration change before they upgrade. See Upgrading below.
Security
- Every call is authenticated and authorised by one gRPC interceptor, for REST and gRPC alike. The tenant comes from the caller's credentials: a tenant API key or JWT can only reach its own tenant's sessions (others return
NotFound), and only a service key may name the tenant in a request. Administrative calls require a service key. - Merging and archiving chains, vector search, and the knowledge graph are scoped to the tenant (and, in the graph, to the user). Graph nodes and edges record their tenant, user and the chains they came from.
- Scope IDs containing quotes, backslashes or control characters are refused, closing a vector-store filter injection.
- There is no default API key or JWT secret, and the old placeholder secret is refused. With mTLS required, gRPC listens on loopback only.
Breaking changes
- Athena refuses to start without authentication. Enable API keys (
MEMORY_OS_REQUIRE_API_KEY=truewithMEMORY_OS_API_KEYS) or JWT, or setMEMORY_OS_ALLOW_UNAUTHENTICATED=truefor local development only. - API keys are now bound to a tenant:
MEMORY_OS_API_KEYS="<key>=<tenant>"for a tenant key,"<key>=*"for a service key. The singleMEMORY_OS_API_KEYfrom earlier releases still works and is treated as a service key.
Added
GetSession,DeleteSessionandEraseMemory.EraseMemoryerases everything stored for a user, an agent or a whole tenant: short-term events, chains and their vectors, events, and what the knowledge graph learned from them. While an erasure runs, writes to that scope returnFailedPrecondition.AnalyzeTopicsandGetHeatMetricsare implemented, and every RPC in the API contract now works.- Reasoning deployments (o-series, gpt-5 and later) on Azure OpenAI and OpenAI, detected from the first rejected request or declared with
LLM_REASONING_MODEL. Azure resource endpoints are accepted as well as full deployment URLs. - The LLM and embedding model are checked at startup and every
LLM_CHECK_INTERVAL_MINminutes; failures are logged and reported in/api/v1/health. - The long-term memory graph is created at startup, retrying for up to
LTM_INIT_TIMEOUT_SECwhile ArangoDB starts. If it is unavailable, Athena still serves and/api/v1/healthreportsltmas unavailable. ltm-purge-unscoped(in the image and undercmd/) removes knowledge-graph entries written before tenant scoping.
Changed
SearchMemoryreturns the most similar chains first, andsimilarity_scoreis the cosine similarity (−1 to 1, higher is closer). It was a squared L2 distance, andsimilarity_thresholdis now compared against the cosine similarity, so thresholds set against the old value need revisiting.- A chain that is promoted again with an unchanged summary is skipped instead of being re-extracted by the LLM, and no longer inflates graph weights.
Fixed
- Short-term events are kept until they have been summarised; previously events evicted from the window before chain formation were lost (#40).
- Concurrent workers no longer form duplicate chains from the same events (#42).
- Chain formation no longer stores every event twice or drops its tenant, session and metadata (#47).
- Session endpoints that returned
Unimplementedwork, and memory can be deleted (#41). - Search returned no chains at default limits (#43).
- The Azure provider failed silently with reasoning deployments (#44).
- Long-term memory was silently disabled on fresh deployments until the graph was created by hand (#51).
Upgrading
- Choose credentials. A backend that serves many tenants (JarvisCore, for example) uses a service key:
MEMORY_OS_API_KEYS="<random key>=*". Callers that each belong to one tenant get tenant keys:"<key>=acme,<key>=globex". SetMEMORY_OS_REQUIRE_API_KEY=true. An existingMEMORY_OS_API_KEYkeeps working as a service key. - Give each client its key. JarvisCore reads it from
ATHENA_API_KEY. -
Remove graph entries written before tenant scoping. They are no longer returned, but they still hold extracted knowledge. The
ltm-purge-unscopedtool ships in the image and reads the server'sARANGODB_*settings:docker exec <athena-container> ./ltm-purge-unscoped -dry-run # count them docker exec <athena-container> ./ltm-purge-unscopedFrom a source checkout, run
go run ./cmd/ltm-purge-unscopedwith the same environment. Hot chains are promoted again into the scoped graph. -
If you compare
similarity_scoreagainst a threshold, set it again as a cosine similarity.
v0.1.6 September 2026¶
Fixed
StoreEventnow returns the durable MongoDB event ID and reports an internal error when permanent persistence fails instead of acknowledging a Redis-only event as successful.
v0.1.4 June 2026¶
Fixed
- Docker container now runs as numeric UID
1000, satisfying KubernetesrunAsNonRootadmission policies
Dependencies
go.mongodb.org/mongo-driver1.13.1 → 1.17.7 (main module and benchmark harnesses)golang.org/x/cryptobumps across benchmark and test modules
v0.1.3 June 2026¶
Fixed
- Docker build corrected around protobuf generation (generated files are produced at build time, never committed)
v0.1.1 / v0.1.2 June 2026¶
Changed
- First releases under the automated VERSION-driven pipeline: tag, GitHub Release, and GHCR image per version bump
v0.1.0 October 2025¶
Added
- Initial release of the Memory OS: three-tier memory (STM/MTM/LTM), cognitive pipeline with chain-break detection, Ebbinghaus heat scoring, knowledge-graph promotion, gRPC + REST API, multi-tenant scoping, and optional auth (disabled by default in this release)