Releases: EverMind-AI/EverOS
Release list
EverOS 1.3.1
One reproducible runner for four long-term-memory benchmarks, plus an
LLM-guided multi-round retrieval method. LoCoMo, LongMemEval, EverMemBench,
and SubtleMemory now share the same staged ADD → SEARCH → ANSWER → JUDGE
workflow, resume model, metrics, and run manifest. The new
llm_multiround search method iteratively recalls episode blocks, asks a
separately configurable decider to retain core evidence and issue follow-up
queries, and returns a bounded final context without a cross-encoder.
Added
- LLM-guided multi-round episode retrieval.
POST /api/v2/memory/searchacceptsmethod = "llm_multiround"for user
memory. Each round independently fuses BM25 and vector candidates for the
current sub-queries with RRF, then uses the decider to select core evidence
and identify remaining gaps. Existing search response fields are unchanged;
decider failures are recorded in structured logs and optional trace dumps. - Independent decider configuration. The new
[decider]section selects
the model, endpoint, timeout, request extras, retry policy, and loop tuning.
Empty connection fields inherit[llm], preserving single-model setups. - Unified benchmark harness. One runner and four adapters cover LoCoMo,
LongMemEval, EverMemBench, and SubtleMemory with explicit dataset configs,
resumable stage artifacts, deterministic run identities, shared IR metrics,
decider preflight checks, and trace validation that rejects degraded
multi-round runs before reporting scores. - Cascade snapshot control.
POST /api/v1/cascade/quiesceand
POST /api/v2/cascade/quiescedrain the Markdown-to-index queue and stop the
cascade subsystem until restart. Startup switches can disable all cascade
work or only the filesystem watcher for managed read-only workloads.
Changed
- OME attempts are bounded. One strategy attempt now has a 1,800-second
default wall-clock timeout and follows the existing retry/dead-letter path on
timeout. Environment settings can tune concurrency or disable the timeout. - SQLite pool saturation fails visibly. Pool size, overflow, checkout
timeout, recycle, and pre-ping are explicit settings; exhausted pools now
raise after a bounded wait and emit saturation diagnostics instead of waiting
indefinitely. - Extraction LLM transport is configurable.
[llm]now exposes request
timeout and provider-specific SDK arguments while retaining the previous
60-second default.
Fixed
- Permanent embedding request errors no longer retry. HTTP 400, 401, 403,
404, 413, 414, and 422 responses are classified as rejected input or
configuration and leave the retry loop; timeouts, 429 responses, and server
errors remain retryable. - EverMemBench owner mapping no longer changes profile extraction. The
adapter uses one stable synthetic owner per topic for both ingestion and
search while preserving each real participant's name in message metadata.
The production Profile cluster/direct extraction paths are unchanged.
Upgrade
pip install --upgrade everos # or: uv sync- No storage migration or index rebuild is required. Existing search methods
keep their prior behavior unless callers explicitly select
llm_multiround. - Deployments with a healthy OME strategy that legitimately runs for more than
1,800 seconds must raiseEVEROS_OME_RUN_TIMEOUT_SECONDSor set it to0/
offbefore upgrading.
Full changelog: v1.3.0...v1.3.1
EverOS 1.3.0
Milvus as an optional index backend, behind a port that hides which one you
run. The rebuildable BM25/vector index can now live in a remote Milvus Server
or Zilliz Cloud instead of the embedded LanceDB, selected by one setting and
verified at startup. Nothing about the default installation changes: LanceDB
stays the backend, pymilvus stays an optional extra, and markdown stays the
source of truth — the index is derived either way, so switching backends is a
rebuild, not a migration. Both backends implement the same typed ports, so
cascade, search and /get never branch on physical storage; a filter is a
backend-neutral predicate tree rather than a rendered SQL string, which is what
lets one set of contract tests hold both adapters to the same behaviour. The
vector metric is now cosine everywhere, which corrects an inconsistency
described under Changed.
Added
-
Optional Milvus derived-index backend. Install with
pip install everos[milvus]and select it with:[index] backend = "milvus" [milvus] uri = "http://127.0.0.1:19530" # or a Zilliz Cloud endpoint token = "" # Zilliz Cloud API key db_name = "" consistency_level = "Session" # Strong | Bounded | Session | Eventually collection_prefix = "everos"
Every field binds to an environment variable
(EVEROS_INDEX__BACKEND,EVEROS_MILVUS__URI, ...). The seven business
tables are created as<collection_prefix>_<kind>.Remote Milvus Server or Zilliz Cloud only. A local database path is
rejected at startup rather than silently accepted: embedded Milvus Lite is
not supported, because its pure-Python rewrite degrades a single query to a
full scan and drops search-time parameters.Startup verifies the physical collection field by field — datatype, primary
key, nullability, vector dimension, and the index metric (denseCOSINE,
BM25 output fields) — so a collection that disagrees with the declared schema
fails immediately instead of at the first write or search.
Changed
- Vector search now uses cosine distance on LanceDB too. The generic
vector path callednearest_to()without a distance type, so it ran on
LanceDB's L2 default whileagent_skillrecall and every Milvus query
already used cosine. All of them are cosine now. Ranking can shift for
existing deployments — the same vectors are scored by a different metric.
No action is required and no rebuild is involved; the index is unchanged. - everalgo's transitive layer is pinned.
everalgo-boundary,
everalgo-coreandeveralgo-clusteringare now direct==dependencies
matching the versions the test suite resolves. The consumer packages declare
them as>=0.2.0,<2.0.0, which treats a 0.x line as if only a major bump
could break compatibility, so a fresh resolution could pick releases the
suite had never run against. Raise them deliberately, together with a smoke
run against a PyPI-resolved install —make packageinstalls the built
wheel with--no-deps, so it cannot catch a resolution break on its own.
Fixed
POST /api/v1/memory/addno longer fails on a freshly resolved install.
everalgo-boundary0.3.0 added a third required field to the public
DetectionResultNamedTuple whileeveralgo-agent-memory0.4.0 still built
it with two, so a default (memorize.mode = "agent") install answered
500 TypeError: DetectionResult.__new__() missing 1 required positional argument: 'should_wait'. Chat mode was unaffected. The pin above resolves
the compatible pair.- Milvus datetime round-trips are exact below the millisecond threshold.
Timestamps were written in milliseconds but read back through a
seconds-or-milliseconds heuristic, so any instant before 2001-09-09 either
landed in the year 30000 or raisedValueError. Physical column reads now
use an exact inverse. - Concurrent
update()on the Milvus backend no longer loses writes. The
read half of the read-modify-write cycle sat outside the write lock, so a
backfill writingvectorand a reflection writingdeprecated_bycould
overwrite each other on the same row. Both halves share one lock, and the
silent 10,000-row truncation on that path is gone. - Milvus queries stay inside the engine's result window. Row scans and
searchtopKare bounded by the 16,384-row ceiling instead of requesting
more and failing.
Upgrade
pip install --upgrade everos # or: uv syncFull changelog: v1.2.3...v1.3.0
EverOS 1.2.3
Background maintenance that fails loudly instead of quietly. A soak run on
1.2.2 found a table that had stopped reclaiming disk for 100 minutes while
/health stayed green — nothing had failed, a call had simply never returned,
and every signal was built from failure counters. Auditing for that shape turned
up six more places it could happen: reads with no deadline (which stop the whole
md to LanceDB projection, not just one table), background loops that die
permanently on one exception with no log at all, an alert counter reset by the
remediation it triggers. All of them are now bounded, and a stall that does
happen names the table it happened to. Alongside that, agent-skill extraction is
rescued from a retry-then-dead-letter loop, keyword search no longer returns 500
during an index rebuild, and the maintenance cadences moved into settings.
Fixed
- Agent skill extraction is no longer stuck in a retry-then-dead-letter
loop. Target case data now travels onSkillClusterUpdatedand existing
skills for the cluster are read from markdown (strong-consistency), so the
strategy never races cascade indexing. Prior to this fix, running a fresh
agent trajectory produced zeroSKILL.mdfiles —.skills/did not exist.
The related stale-index clobber is fully closed only for clusters at or
belowMAX_SKILLS_IN_PROMPT(10). Above it, markdown still supplies the
candidate set but LanceDB orders it, and the skill a lagging index omits is
by definition the one written most recently — the one most likely to need
update— so it can be ranked out of the prompt and re-added instead. The
window is narrow (it needs a cluster over 10 skills and an index that has
not caught up) and the consequence is the pre-existing full-replace, not a
new failure mode. POST /api/v2/ome/triggerno longer masks strategy state. Thestatus
field now distinguishesnot_dispatched(all dispatch gates rejected the
strategy — usually a missing"force": true) fromok(dispatched and
settled). The newrunsfield surfaces dead-lettered strategy runs that
were previously invisible to the caller. If your client matches
statusexhaustively (PythonLiteral, TypeScript union), add a
not_dispatchedbranch.- Agentic search on agent memory now uses the skill-shaped rerank
passage. The cross-encoder previously saw only the rawdescription
field instead of thename + description + skill instructiontriple that
the HYBRID lane uses. A skill with emptydescription(a legal everalgo
output — seeeveralgo/agent_memory/skill_ops.py:294) no longer causes
HTTP 500 during the LLM sufficiency check. - OME strategy retries now back off between attempts. A retry-class error
(e.g. waiting on eventually-consistent state) previously exhausted its
max_retriesbudget in milliseconds; the loop now sleeps
min(base * 2**(attempt-1), cap)plus up tojitterseconds
(defaults:1sbase /10scap /0.5sjitter — code-only defaults,
not currently exposed viaeveros.tomlorome.toml).engine_semis
now held per attempt rather than across the whole retry chain, so the
backoff sleep does not occupy a concurrency slot. The cap bounds
concurrent strategy work — LLM calls, embeddings, storage IO — and a
coroutine waiting to retry consumes none of it; holding the slot would
have turned a partial outage into a total stall, since enough
simultaneously-failing runs park every one of the
max_concurrent_runsslots inasyncio.sleepand starve strategies that
would have succeeded. Backpressure on failing work is intended;
backpressure on everything else is not. - Path-traversal hardening for LLM-generated agent-skill names (CWE-22).
AgentSkillFrontmatter.namecomes straight from LLM output
(extract_agent_skill) and was concatenated unsanitized into the
skills/skill_<name>/directory segment on both the write and read
paths; given a sufficiently long../prefix, the write target could
escape the memory root. This is the same class of defect previously
fixed for knowledge-upload titles/categories (seeknowledge_writer.py
in an earlier 1.2.x). The sanitizer is now a single shared helper
(everos.core.persistence.markdown.sanitize_dirname) used by both
KnowledgeWriterand the newSkillPathMixin.skill_dir_name()/
sanitize_skill_name(), instead of two independently maintained copies.
extract_agent_skillnow sanitizes the LLM-emitted name before
constructingAgentSkillFrontmatter, soAgentSkillFrontmatter.name
and the LanceDBagent_skillprimary key now hold the sanitized name
(spaces become_, characters outside[\w\-.]are dropped, capped at
50 chars), not the raw LLM output — a user-visible change for anything
that reads a skill'snamefield expecting the verbatim LLM string.
AgentSkillFrontmatter.namealso gained a validator rejecting a name
containing a path separator, or being exactly.., so a hand-edited
SKILL.mdthat bypasses the writer's sanitization is caught on read
rather than silently relocated (the substring form, e.g. a name that
merely contains.., is deliberately allowed — sanitized output can
legitimately contain runs of literal dots).sanitize_dirnameitself
falls back (not just on an empty result, but also on.or..) so a
short input that is itself a sanitizer fixpoint — e.g."../"sanitizes
to".."verbatim without this fallback — cannot resolve to the same
directory or its parent; this closes both the agent-skill case and an
equivalent one-level escape on the knowledge-upload path, which has no
skill_-style prefix protecting its sanitized segment. No data
migration is needed for agent skills: extraction has never
successfully produced aSKILL.mdbefore this release (see the
cascade-lag fix above), so there is no legacy skill corpus whose
directory names would change. Knowledge documents do have a
pre-existing corpus, and two inputs resolve to a different directory
than before: a decomposed (NFD) topic or category now keeps its
combining marks ("Résumé"no longer degrades to"Resume") because
the shared helper NFC-normalizes first, and a topic or category of
exactly.or..now falls back instead of resolving onto the
parent directory. Precomposed input — including CJK — is unaffected;
the character class is unchanged from the previous private copy.
Sanitizing is lossy: skills whose raw names
differ only in characters the sanitizer drops or replaces (e.g.
"fix django"vs."fix_django") now share oneSKILL.md, and so do
names differing only in a combining mark regardless of script (e.g.
Devanagari"किताब"vs."कताब"— a combining mark alone is not\w
and is stripped either way; same for Thai tone marks, Hebrew niqqud,
Arabic harakat). The later write wins — the earlier skill's
source_case_ids,maturity_score, and body are silently lost, not
merged. Case is not folded, so"Fix Django"and"fix django"stay
two distinct sanitized names — two LanceDB rows, but one directory on a
case-insensitive filesystem (macOS APFS and Windows NTFS defaults),
where the index then advertises a name whose content was overwritten.
This is accepted for now rather than mitigated: detecting a collision
and raising would reintroduce the dead-letter DoS the sanitizer was
built to avoid, and a disambiguating suffix — the workable option —
needs a collision probe plus a case-folding rule, so it is deferred to
a deliberate pass rather than added here. - A renamed skill no longer leaves an orphan directory that pollutes the
next extraction. everalgo treats a name change as a first-class update
(skill_ops._apply_updatepreservesprior.idwhile swapping the name),
so the emitted skill was written to a newskill_<new_name>/while the
old directory survived carrying the samecluster_id. Because existing
skills are now read from markdown rather than LanceDB, that orphan did
not merely sit on disk — it came back in the next run's
existing_relevant_skillsas a duplicate of a skill the LLM had already
renamed, feeding exactly theadd-instead-of-updatefull-replace
clobber this release set out to close, once more per rename. The old
directory is now reaped after the new one is written, keyed on the
skill'sid(the only thing that survives a rename; a freshaddmints
a uuid and can never match). A prior name that another skill in the same
batch just claimed is never deleted. extract_agent_skillretire ops are documented as unimplemented rather
than silently mispersisted.AgentSkillExtractor.aextractreturns a
flat list with no op discriminator, so a retirement arrives as an
ordinary skill withconfidence < retire_confidenceand was written back
like any other — staying in markdown, in the next prompt, and in search.
The behaviour is unchanged; the module docstring no longer claims retire
is handled. Honouring it is a design decision (delete the directory, or
add aretiredflag that the enumeration, cascade, and search all
filter on) deferred to its own change.reference_nameandscript_filenameare sanitized. Both are
appended after theskill_<name>segment, soskill_dir_namenever
covered them; they now go through the samesanitize_dirnameprimitive
on both the reader and the writer. No caller insrc/reaches them
today, so nothing was exploitable — this closes the gap before
progressive disclosure wires them up.- A single unparseable
SKILL.mdno longer disables skill extraction
for its whole cluster.AgentSkillReader.list_by_clusterpropagated
any frontmatterValidationError, which...
EverOS 1.2.2
Storage-layer reliability. LanceDB maintenance is split into lock-free compaction and write-locked reclamation, fixing unbounded index growth — the previous bundled call issued a Rewrite that concurrent writes kept preempting, so version cleanup lost the race indefinitely (a soak run measured 16 successes against 547 conflicts over 21h, with the index directory growing to the disk guardrail). Every write-lock critical section is now bounded by a deadline that covers lock acquisition as well as the body, so no operation can wedge a table permanently and silently.
This release also adds the operational surface to see those faults: a cascade readiness block on GET /health with per-kind prune staleness, and everos cascade rebuild as the supported recovery from a drifted or corrupt index. Verified by nine soak / concurrency / fault-injection runs (~120h).
Added
-
GET /healthnow carries acascadereadiness block —healthy, human-readablereasons, and the counters behind them (pending,failed_permanent,failed_retryable,drain_consecutive_failures,unrecoverable_total,optimize_failure_streak,prune_stale_seconds).nullwhen the app runs without the cascade lifespan.
Alert oncascade.healthy: it flips false only on operational faults — drain loop failing (≥3 in a row), index maintenance wedged (≥5), or version cleanup stalled on some table (≥3 missed 300s beats, andreasonsnames the table).failed_permanentis a data-quality backlog awaitingcascade fixand deliberately does not fliphealthy, otherwise the signal sits red until a human edits markdown. The HTTP status stays 200 even when the block says unhealthy — it is a liveness signal, and a degraded projection must not trigger a container restart. If the probe itself fails (locked / full SQLite), the block returnshealthy=falsewith acascade health probe failed: …reason and zeroed counters — read zeros next to that reason as "unknown", not "clean". -
everos cascade rebuildCLI command — drops every business LanceDB table, clears the cascade queue, and re-indexes all markdown from scratch. The supported recovery from a drifted or corrupt index: unlike deleting the index directory, it re-enqueues every file (a barerm -rfleaves the queue markeddone, so nothing re-indexes and the index comes back empty), and unlike deleting.index/it preserves SQLite state that markdown cannot rebuild — notablyunprocessed_buffer. Requires the server to be stopped: it refuses to start (exit code3) while a server holds the OME lock, because a live daemon keeps writing through cached table handles to the dropped dataset.--yes/-yfor non-interactive use;Ctrl-Cexits130and the re-index resumes on the next run or server start. -
Startup schema verification now detects column type drift, not just missing / extra columns. Catches the class of corruption behind #337 — an
episode.subject_vectorleft asstringby an older build while the schema declares a 1024-dfixed_size_list— which a name-only check waved through and which then failed deep insidemerge_insertwith an opaqueLanceError(IO). The error now points ateveros cascade rebuild.
Changed
-
LanceDB maintenance is split into compaction and reclamation.
optimize()is lock-free compaction; the newprune()runscleanup_older_thanunder the per-table write lock. Fixes unbounded index growth: the previous bundled call issued a Rewrite that concurrent writes kept preempting, so version cleanup lost the race indefinitely (a soak run measured 16 successes against 547 conflicts over 21h, with the index directory growing to the disk guardrail). Reclamation now completes on every beat, at the cost of a brief same-table write stall (measured ~40ms). Retention is decoupled from cadence: files older than 60s are eligible, reclaimed on a 300s beat. -
Every write-lock critical section is now bounded. All seven operations (
add/upsert/update/delete/delete_by_md_path/prune/rebuild_indexes) run under a deadline that covers lock acquisition as well as the body, so no code path can wait for the lock — or hold it — indefinitely. Budgets are sized from measured durations (row writes are 2–25ms, worst observed 63ms → 15s; index rebuild → 300s; prune → 60s). Expiry raises the retryableVectorStoreBusyError, so the cascade worker retries the row instead of marking it permanently failed. Without this, one operation stuck outside the old narrow timeout wedged a table permanently: every writer blocked on acquire, and the maintenance scheduler skipped a kind whose task never finished, so that table stopped reclaiming versions altogether (observed: 150 versions retained, disk 11x live size, with nothing logged because nothing failed). -
Benign LanceDB commit conflicts no longer count as failures. A lost optimistic-concurrency race logs at
debugon either maintenance beat. The heavy beat needs this too: its write lock is in-process only, so a second process (cascade sync,cascade backfill) can preempt its commit. Counting those triggered spurious fallback index rebuilds, which drop every index before recreating them — and if the rebuild also lost the race, the table sat without an FTS index and every search on that kind returned 500 until the next 12h sweep. -
A query vector whose width disagrees with the embedding provider's declared
dimnow fails immediately withCONFIGURATION_ERRORinstead of reaching LanceDB. It previously surfaced as an opaqueValueErrorafter the query was built — 13–14s per request, as an unhandled 500. -
Exception logging no longer renders frame locals. structlog's default traceback formatter (
show_locals=True, up to 100 frames) rendered one unhandled exception on an async stack into 6423 log lines — 85MB of logs across 11 exceptions in one soak run — at ~290ms of synchronous CPU each, and risked printing request payloads into logs. Now locals-off and capped at 15 frames: the same traceback is 103 lines. -
cascade backfillreclaims through the daemon's retention window rather than at zero age, so it cannot delete files out from under an in-flight/searchin the server process. -
lancedbpinned to>=0.34.0,<0.35.0. 0.35 embeds lance-rust v9; 0.34.0 is the version validated under sustained churn. Environments installing fromuv.lockare unaffected (already 0.34.0). Never widen the floor below 0.34 — older lance cannot read v8 data.
Fixed
-
Maintenance deadlines now cover the whole call, not just the critical section. Resolving a table handle sat outside the timeout, so a hang there never returned — and because the scheduler runs one maintenance task per kind and skips a kind whose task is in flight, that table stopped being maintained permanently and silently (a soak run caught one table 13 minutes without a reclaim, retained versions climbing, while its siblings reclaimed normally and nothing was logged because nothing failed). Handle resolution moved inside the deadline for all seven locked operations, the lock-free compaction beat got its own deadline, and the scheduler adds a last-resort 180s bound on the whole call. The per-kind staleness alert added in this release is what surfaced it.
-
AGENTIC search crashed on agent memory (
agent_case/agent_skill) — candidate metadata now satisfies the everalgo_format_docscontract, removing aTypeErrorin the sufficiency / multi-query steps. -
Per-kind version-cleanup staleness is no longer masked. The health signal reported time since the newest successful prune across all kinds, so on a multi-kind deployment one kind whose cleanup died was hidden by the others pruning on schedule. It now reports the worst kind and names it.
-
cascade backfillsilently skipped compaction and reclamation — it still called the removedoptimize(cleanup_older_than=…)signature, and the resultingTypeErrorwas swallowed by a best-effortexcept, so the disk growth this release fixes came back after every backfill. -
Empty
_indices/<uuid>/husks are removed after cleanup (a soak run accumulated 13061 directories, 98% of them empty), which bloated inode usage and slowed directory scans.
Docs
- Rewrote the cascade runbook's recovery paths: the
/healthcascade block and its alert thresholds,cascade rebuild(including the stop-the-server requirement), whyrm -rf .index/lancedbyields an empty index, and whyrm -rf .indexloses un-extracted buffered messages.
Upgrade
pip install --upgrade everos # or: uv syncNo manual migration. Two things to expect on the first startup after upgrading:
- Startup schema verification now checks column types, not just names. An index left drifted by an older build — the
#337class of corruption, whereepisode.subject_vectorstayed astring— is now reported at startup instead of failing later insidemerge_insertwith an opaqueLanceError(IO). Recovery iseveros cascade rebuild, which requires the server to be stopped. - An index that already grew unbounded reclaims itself. The new
prune()beat runs every 300s over files older than 60s, so the disk a wedged version cleanup was holding comes back without intervention.
lancedb is pinned to >=0.34.0,<0.35.0. Environments installing from uv.lock are already on 0.34.0 and unaffected; never widen the floor below 0.34, since older lance cannot read v8 data.
Full changelog: v1.2.1...v1.2.2
EverOS 1.2.1
[embedding] and [rerank] configuration become optional at runtime — EverOS now boots with only [llm] configured and degrades into three capability tiers, with a new everos cascade backfill command to fill in rows written without an embedding provider.
This release also hardens the cascade queue's retry and delete handling, and fixes a path traversal in knowledge upload — see Security for the affected versions.
Added
[embedding]and[rerank]are now soft runtime dependencies — EverOS boots and serves requests with only[llm]configured. A missing or misconfigured embedding / rerank / multimodal provider no longer aborts startup; the accessor logs<provider>_capability_build_failedand reportsavailable=False. Features degrade into three tiers: Tier 1 ([llm]only) → KEYWORD search + add/flush + md writes + cascade sync; Tier 2 (+ [embedding]) → adds VECTOR/HYBRID search + reflection + skill extraction + backfill; Tier 3 (+ [rerank]) → adds AGENTIC search + knowledge write/search. Tier upgrades require a server restart. Downgrades are read-safe: knowledge documents stay readable / renamable / deletable after a Tier-3 → Tier-2 downgrade; only write and search endpoints return 422.everos cascade backfillCLI command — three-phase interactive backfill (vectors→clusters→skills, or--phase all) that upgrades Tier-1 rows to Tier-2 once[embedding]is configured. Each phase prints row / token estimates and blocks ony/N;--yes/-yfor CI. Exit codes:0success,1user declined,2phase preconditions unmet,3server running,4completed-with-failures,130SIGINT.- LanceDB schema v2 — the six business tables (
episode,atomic_fact,foresight,agent_case,agent_skill,knowledge_topic) now allowvector NULL, so cascade can write rows without vectors when[embedding]is unavailable and a later backfill fills them in. The migration runs once on first startup under a cross-processmemory_root_lock(fcntl.flock), followed by a per-tableoptimize(cleanup_older_than=timedelta(0))to physically prune older manifest versions. - Startup unbackfilled-rows banner — after the LanceDB lifespan, a sweep emits
unbackfilled_memory_rowswhen rows withvector IS NULLexist, pointing ateveros cascade backfill. - PyPI Trusted Publishing workflow — tag-triggered
.github/workflows/release.ymlbuilds, smoke-tests and uploads via OIDC (no stored token) behind thereleaseenvironment's manual-approval gate. A version / tag mismatch aborts the publish. Companion/releaseskill lives under.claude/skills/release/.
Changed
ProviderNotConfiguredError→ HTTP 422CAPABILITY_UNAVAILABLE— write / search endpoints that need embed or rerank now return 422 with a section-aware hint (pointing at theeveros.tomlsection, never atEVEROS_*env vars) instead of erroring at startup or 500-ing at request time.GET /healthreturns a PydanticHealthResponsemodel — with typedcapabilitiesanddisabled_featuresfields, so OpenAPI codegen produces real shapes instead ofadditionalProperties: true.MemoryRoot.default()→MemoryRoot.resolve()— renamed to make the precedence walk (--root/EVEROS_ROOT/ default) explicit. Adefault()alias is kept as a backward-compatibility shim that forwards toresolve()and emits aDeprecationWarning; it will be removed in a future major release, so update call sites when convenient.- Uncalibrated recall scores moved to their own name —
KEYWORDand single-routeVECTORsearches now report their top score asrecall_top_score_raw;recall_top_scoreis reserved for the calibrated methods (HYBRIDLR sigmoid,AGENTICcross-encoder), whose values share a comparable[0, 1]scale. Langfuse aggregates scores by name, so the previous single name meant a chart could average an unbounded BM25 score together with a probability. Every recall score also carriesmetadata = {"method": ..., "calibrated": ...}. Dashboards built onrecall_top_scorefor keyword search need to switch to the new name. - Docs and examples now use
/api/v2— README, QUICKSTART, thedocs/reference set, the Langfuse example andeveros demo --liveall call the canonical/api/v2prefix./api/v1keeps resolving to the same handlers, so nothing breaks, but it is now described as a legacy compatibility alias that may be removed in a future major release rather than a permanent one. New integrations should target/api/v2. cluster_repo.find_cluster_id_for_membernow requires(app_id, project_id, owner_id)— reverse-index lookups JOINClusterfor scope filtering.entry_idis per-owner unique by design, so the reverse index alone could collide across owners writing on the same day.- All six cascade handlers register unconditionally — a Tier-3 → Tier-2/1 downgrade no longer strands DELETE / PATCH events. Embed-requiring branches inside each handler body-guard on capability availability at execution time.
- Interactive TTY log level defaults to WARNING — keeps INFO lines from drowning out the backfill
y/Nprompts; non-interactive / CI stays at INFO, and--verbose/-vforces INFO. click>=8.1promoted to a first-class dependency — previously transitive via typer.typer.Abortandclick.exceptions.Abortare distinct classes under typer 0.15+, so the interrupt catch incascade backfillcovers both.- Test harness pins
EVEROS_ROOTto a temp path —conftest.pyscrubs everyEVEROS_*env var so a developer's~/.everos/everos.tomlcannot make tests accidentally green against a real provider.
Fixed
- Cascade retry classification and total-retry budget — the worker now catches
ExternalServiceError(transient embedding / LLM / rerank failures) and retries inline up to 3 times before marking a rowretryable=True. A total budget of 12 attempts across scanner cycles bounds retrying during a prolonged outage, andfailedrows withretryable=Falseon a stable mtime skip auto-retry, so editing and re-saving the md is what grants another attempt. - The reconciler no longer overwrites the worker's
mark_done—pending/processingrows with a stable mtime are no longer re-enqueued. SQLiteREALround-trip precision loss in mtime comparisons is absorbed with a 10 ms tolerance. - A file deleted while its
modifiedevent was still queued is now processed as a deletion — previously the handler raisedFileNotFoundError, which left a stale indexed row and a permanently failed queue item behind. - Stuck
optimize()escalates to a full index rebuild — after 5 consecutive failures the worker falls back todrop_index + create_indexinstead of letting compaction and version cleanup stay wedged (workaround for thelance-format/lance#7653panic path). - The embedding provider raises on HTTP 200 with empty
data— it previously returned zero-length vectors silently, corrupting search results. - Episode extraction retries on malformed LLM output — the synchronous
/flushpath retries everalgoValueError(typically a truncated provider response) twice with 1 s / 2 s backoff before surfacing a 500. - Filename validation on knowledge upload — NUL bytes and filenames longer than 255 UTF-8 bytes now fail fast with
InvalidInputError→ HTTP 400 instead of surfacing OS errors as a 500 with a half-written md file. - HTML upload no longer takes the UTF-8 fast path — knowledge upload's plaintext short-circuit uses an explicit allowlist (
text/plain,text/markdown,text/x-rst,text/x-markdown) plus known extensions;text/htmlis deliberately excluded so HTML still goes through everalgo'sclean_html_for_llm. Prevents a 503 when a Tier-3 user without[multimodal]uploads a markdown doc. - Broken table-of-contents links in
docs/api.md— the endpoint anchors still pointed at the pre-1.2.0#post-apiv1…slugs after the headings moved to/api/v2, leaving all five TOC links dead.
Removed
- README "Star us" section.
Security
-
Knowledge upload path traversal (CWE-22) — the knowledge document upload joined the untrusted multipart filename into
_original/verbatim, so an absolute or..-laden filename let a caller write attacker-controlled bytes outside the document directory. The filename is now reduced to a safe basename, and the resolved target is asserted to stay inside_original/before any filesystem touch.Affected: every release before
1.1.4, and1.2.0. Not affected:1.1.4. Fixed in:1.2.1. The fix shipped in1.1.4but was not present on the branch1.2.0was built from, so upgrading1.1.4 → 1.2.0reintroduced it.
Upgrade
pip install --upgrade everos # or: uv sync
On first startup after upgrading, LanceDB runs the schema-v2 migration once — it takes a cross-process lock and optimizes each table afterwards. No manual steps. If rows were written while [embedding] was unavailable, the startup banner will point you at everos cascade backfill to fill in their vectors.
Full changelog: v1.2.0...v1.2.1
EverOS 1.2.0
EverOS 1.2.0
Minor release adding the /api/v2 API prefix and native OpenTelemetry tracing.
Added
/api/v2API prefix — every business endpoint (memory/*,ome/*,knowledge/*) is now served under/api/v2, aligning the open-source API with the EverOS Cloud contract./api/v1is retained as a permanent, backward-compatible alias: both prefixes resolve to the same handlers with identical contracts, so existing integrations keep working unchanged.- Native OpenTelemetry tracing — memory operations (add/flush, memcell boundary, episode extraction, search, and OME reflection) export to any OTLP backend (e.g. Langfuse) as nested traces carrying LLM/embedding token usage, per-request correlation, and recall-quality scores. Off by default; enable via
[observability]with the optionalotelextra. Content capture (query / extracted memory) is opt-in and redaction-aware.
Upgrade
pip install --upgrade everos
Or update the project environment with uv sync.
Full changelog: v1.1.4...v1.2.0
EverOS 1.1.4
Note on the published package: the
everos==1.1.4release on PyPI was built from a separate internal release lane and contains fixes that are not in this tag's source — including a knowledge-upload path-traversal fix (CWE-22). See the 1.1.4 section ofCHANGELOG.mdfor the full list, and the v1.2.1 notes for the affected-version range.
EverOS 1.1.4
Patch release adding Langfuse observability and fixing cascade file deletion races.
Added
- Langfuse OpenTelemetry integration example for tracing add, flush and extraction, search, and reflection operations.
Fixed
- Process a queued modified event as a deletion when the source file disappears, preventing stale indexed rows and permanently failed queue items.
- Limit synthetic Langfuse child spans to responses with stage details so live-server traces use real telemetry.
Upgrade
pip install --upgrade everos
Or update the project environment with uv sync.
Full changelog: v1.1.3...v1.1.4
EverOS 1.1.3
EverOS 1.1.3
Fixes unbounded index growth from a LanceDB FTS regression.
Fixed
-
LanceDB FTS
with_positioncrashesoptimize(), bloating the index
until the disk fills. On lancedb ≥ 0.32, FTS indexes built with
with_position=Truecrash lance'soptimize()/ compaction when it merges
an unindexed tail (Max offset exceeds length of values— an upstream
lance-encodingv4 → v6 regression, reported at
lance-format/lance#7653).
Because the crash abortedoptimize()including version cleanup, the
index directory grew without bound.The fix:
- FTS now defaults to
with_position=False— lossless for EverOS, since
recall uses OR-mode BM25 and never runs phrase queries. - A marker-guarded startup migration rebuilds pre-fix indexes and reclaims
the orphaned fragments automatically. - Consecutive
optimize()failures now escalatewarning → errorinstead
of being swallowed silently.
- FTS now defaults to
Upgrade
pip install --upgrade everos # or: uv syncExisting installations are migrated automatically on next startup — the
pre-fix index is rebuilt once and the leaked fragments are reclaimed. No
manual steps required.
Full changelog: v1.1.2...v1.1.3
EverOS 1.1.2
EverOS 1.1.2
Fixes agent-track search.
Fixed
- Agent-track search broken by
deprecated_by IS NULLfilter.
compile_filters()unconditionally appended adeprecated_by IS NULL
clause to every LanceDB query, but only theepisodeandatomic_fact
tables carry that column. As a result, agent-track search (agent_case,
agent_skill) failed on every method. The clause is now applied
conditionally, only whenowner_type == "user".
Upgrade
pip install --upgrade everos # or: uv syncNo configuration or data-migration changes required.
Full changelog: v1.1.1...v1.1.2
EverOS 1.1.1
EverOS 1.1.1
EverOS 1.1.1 focuses on benchmark reproducibility, search quality, and keeping the public GitHub release aligned with the 1.1.1 source package while preserving GitHub-only project assets.
Highlights
- Added the LoCoMo benchmark runner under
benchmarks/, including TOML configuration, an environment template, staged ingestion/search/answer/judge execution, result artifacts, and benchmark documentation to make metric reproduction easier. - Improved hybrid search with heap-driven lazy expansion and global top-N competition. The 1.1.1 benchmark package reports stable LoCoMo targets around 91% for hybrid search and 93% for agentic search.
- Synced the 1.1.1 source package while preserving GitHub-only workflows, templates, contributor-doc checks, public release support, use-case material, and the existing English
README.mdstructure. - Expanded CI coverage to Python 3.12 and 3.13, refreshed package metadata, and kept docs/OpenAPI checks in the release flow.
- Updated quickstart, benchmark, Chinese README, docs index, and cross-document references for the current setup and benchmark workflow.
Fixes
- Fixed concurrent Knowledge cascade upserts by switching to an atomic
INSERT ... ON CONFLICT DO UPDATEpath. - Kept the OpenAPI application version in sync with package metadata instead of a hardcoded version.
- Fixed profile middleware so inner handler exceptions are re-raised instead of being swallowed.
- Reduced unnecessary LanceDB
optimize()I/O by throttling cascade optimize calls.
Compatibility Notes
- Existing EverOS demo TUI and live demo changes remain preserved.
- Existing DashScope rerank provider support remains preserved.
- The English
README.mdkeeps the GitHubmainstructure; release-package README changes were not applied to the default README. - Existing local-first
file://URI handling remains allow-any by default. For server deployments, configureFILE_URI_ALLOW_DIRSexplicitly to constrain readable file paths. - GitLab/internal-only artifacts such as
.gitlab/,.gitlab-ci.yml,.vscode/,.claude/skills/release/SKILL.md, andevaluation/are not part of the GitHub release.
Upgrade Notes
- Run
uv sync --frozenagainst the updateduv.lock. - Use
benchmarks/README.mdandbenchmarks/config.tomlas the entrypoint for LoCoMo benchmark reproduction. - Review updated config templates in
src/everos/config/default.toml,src/everos/config/default_ome.toml, andsrc/everos/templates/env.template. - Review
CHANGELOG.mdfor the complete 1.1.1 changelog.
Verification
This release was checked with:
make docs-checkuv lock --checkmake lintuv run pytest tests/unit/test_scripts/test_check_github_contributor_docs.py -q- PR #327 full CI: unit tests, integration tests, lint, links, package build, commit-message check, and PR-title check on Python 3.12 and 3.13