Skip to content

YAMS 0.24.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 18:42
Immutable release. Only release title and notes can be modified.
fabd42b

Happy Thanksgiving! 🦃

Highlights

  • Search, Vector & Storage Performance — Substantial latency and throughput improvements across retrieval and ingest:
    • Two-phase batched SPQ exact rerank, snippet-only vector projection, and single-pass document deduplication.
    • In-RAM SimeonLexicalBackend rerank with batched lexical hydration, collapsed FTS5 tiers, and overlapped text/vector retrieval.
    • Single-allocation direct-first CAS reads, lock-free read stats, thread-local Zstd contexts, SQLITE_STATIC vector binds, O(N) chunking, and batched metadata/path-tree/KG/title writes.
  • Built-in Simeon Title & Entity Extractor — Automatic title detection (Markdown/YAML/HTML/Setext headings with simeon::TextRank fallback) and bounded concept/identifier extraction when no external GLiNER plugin is loaded.
  • External Graph Ingest & Exploration — New graph ingest CLI and MCP support (--strict, namespace scoping, atomic namespace removal, truthful counts) plus expanded file/query exploration ranked by score.
  • ResourceGovernor & Concurrency Hardening — Pressure-aware admission and mid-work checks across BackgroundTaskManager, TopologyManager, WriteCoordinator, and P2P accept/reconnect loops, plus client IO reset ordering fixes backed by TLA+ and Lean formal models.
  • Codebase Debloat & Header Hygiene — Removed dead legacy libraries (yams_content, yams_integrity, yams_benchmarks, yams_wal) and unused helpers, unified TuneAdvisor worker sizing, and decoupled heavy headers (<spdlog/spdlog.h>, <nlohmann/json.hpp>, <regex>).

Changes

Added

  • daemon: wire built-in Simeon title and entity extractor fallback (23c9e9c)
  • daemon: gate BackgroundTaskManager periodic maintenance with ResourceGovernor (d67c4df)
  • graph: external graph ingest CLI/MCP with --strict, namespace scoping, truthful counts, and atomic namespace removal (442cbf4, e4a1bc3)
  • graph: expand file explore to related files and rank query explore by score (473fe4a)
  • p2p: consult ResourceGovernor in acceptLoop and reconnectLoop (1c2ab21)
  • repair: drive RepairFsm from the repair loop (efc6a1e)
  • search: add ConvexMinMax fusion strategy, typed rerank window, and lexical_floor_top_n / vector_weight config (3e729b2, 0e46569, 4d0cbca)
  • topology: add mid-rebuild ResourceGovernor checks, Tracy zones, and epoch postcondition (d527fec)

Performance

  • search & vector: two-phase batched SPQ exact rerank, snippet-only projection, single-pass dedup, in-RAM SimeonLexicalBackend rerank, batched lexical hydration, and 5-column FTS5 projection (7725d6d, cfb5454, 91c8413, 4bbfd2f, 5e46493, 7051625)
  • storage, compression & vector: single-alloc direct-first CAS reads, lock-free read stats, thread-local Zstd contexts, SQLITE_STATIC vector binds, and O(N) chunker (0540746, 379744c, 4367d63)
  • daemon, metadata & topology: indexed path-head lookups, batched path-tree/title/KG/repair queries, O(1) WriteCoordinator deque, and preserved topology snapshot cache across rebuilds (e4a85f3, f330613, 190cc08, 4a27e66, 44f20ac, 1ddde91, 49a0720)

Fixed

  • client: check for a pending reset before taking the IO guard (2ec5ba2)
  • daemon: keep scratch daemon starts off the default daemon, fail cleanly on newer-schema stores, and name failed migrations on open (814eab9, ce614bc, af5583e)
  • graph & mcp: enforce namespace ownership, atomic removal, stop minting path versions on unchanged re-ingest, resolve ingested nodes in lookup/trace, and mark graph removal destructive (c40d959, f568417, 93007c5, 257461a, c4c69be)
  • metadata, search & repair: fix LIKE pattern prefix misparse and SearchService coroutine lifetime (ac385de)
  • search: rerun short natural-language keyword AND as ranked OR, preserve fusion/rerank config across SearchTuner replacement, and zero entity_vector weight when unused (15130fa, d8956b9, 861304f)
  • topology: store snapshot payloads in bounded chunks, require reciprocal edges in both directions, and close dirty regions over prior clusters (bd1770f, ec1eb06, 6d23317)

Changed

  • debloat & headers: removed unused legacy modules (content, integrity, benchmarks, wal), dead CLI/API helpers, MetadataQueryBuilder, and CompressionMonitor; routed worker sizing via TuneAdvisor; decoupled heavy headers (f42f2c9, 18e8236, 6c49870, 46b35c2, 6ea1643, 60a74d2)

Full Changelog: v0.23.1...v0.24.0 · CHANGELOG.md