yams/tests/unit
Trevon 3f37e8f564
Sync experimental into main: Search retrieval improvements (#60)
* fix(graph): handle qualified C++ symbols

Signed-off-by: trvon <me@trevon.dev>

* refactor(vector)!: remove dead transition APIs

Split Simeon vector and retrieval linkage so consumers inherit only the runtime surface they use.

BREAKING CHANGE: remove unused async/model/config helpers and the undefined vector-backend factory from public headers.

Signed-off-by: trvon <me@trevon.dev>

* fix(vector): harden PQ snapshot lifecycle

Validate and atomically install persisted generations, revalidate after races, and fall back to exact search when a snapshot is stale. Add the exact-scan reference lane and distinguish observed work counters from unavailable backend metrics.

Signed-off-by: trvon <me@trevon.dev>

* feat(topology): expose route coordinates

Persist chart distortion and local-dimension evidence, retain pre-scalarization route axes, and emit detailed trace rows without treating unavailable vector work as zero.

Signed-off-by: trvon <me@trevon.dev>

* feat(xplan): add vector decision gates

Track binary and corpus identity, preserve missing-work semantics, and add repeated PQ routing, crossover, and rerank plans with quality and cost summaries.

Signed-off-by: trvon <me@trevon.dev>

* feat(topology): formalize coordinate routing

Separate chart geometry from route-risk admission and prove candidate-stage recall and strict-focus boundaries. Record the measured atlas limitations and literature basis for the next construction experiment.

Signed-off-by: trvon <me@trevon.dev>

* fix(search): serialize SymSpell readers

SQLite-backed lookups reuse mutable prepared statements, so shared-reader locking is unsafe. Advance the owned SymSpell revision for batched delete insertion and cover concurrent root lookups under TSAN.

Signed-off-by: trvon <me@trevon.dev>

* fix(vector): make mutations atomic

Preserve stored vectors on replacement and commit failures, reject cross-thread writes during explicit transactions, and restore exact reranking for quantized-primary PQ rows.

* fix(search)!: surface SymSpell write errors

Propagate persistent dictionary failures through metadata ingestion, roll back failed batches, and make clear remove stored terms.

BREAKING CHANGE: SymSpellSearch mutations now return Result values.

* feat(topology): formalize candidate expansion

* feat(vector): add coordinate-aware embeddings

* feat(topology): preserve protected relation cover

* feat(search): add graph candidate rescue

* feat(daemon): expose retrieval hydration telemetry

* feat(xplan): add rescue and hydration gates

* refactor(content): dedupe media handlers

Reuse shared graph presenter helpers and centralize repeated audio/video/archive buffer processing, validation, lifecycle, and stats helper logic.

* feat(lifecycle): prune stale corpus data

Keep cleanup preview-first while retention stays opt-in and long prune work no longer holds IPC responses open.

* feat(search): add topology candidate rescue

Preserve high-value routed candidates across vector backends while keeping exact rerank diagnostics explicit.

* feat(search): expose evidence paths

* docs: define mobile host contract

* formal: model bounded candidate rescue

* fix(prune): inspect extensionless signatures

* fix(prune): tolerate stale extensions

---------

Signed-off-by: trvon <me@trevon.dev>
2026-07-24 19:00:22 -04:00
..
api perf(ingest): harden daemon batching and shutdown (#58) 2026-07-17 07:04:30 -04:00
app/services Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
chunking Remediate Fold SAST findings 2026-05-27 22:41:44 -04:00
cli Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
common Remediate Fold SAST findings 2026-05-27 22:41:44 -04:00
compression fix: stabilize CI release gates 2026-07-03 22:40:05 -04:00
content fix(test): harden sanitizer merge blockers 2026-06-29 11:34:02 -04:00
core Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
crypto feat: optimizations based on profile runs in hashing and work coordinator. test updates and correctness fixes 2026-02-24 21:06:43 -05:00
daemon Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
detection feat(linter): running linter on codebase 2026-04-20 16:13:30 -04:00
downloader test: lift coverage for core paths 2026-06-22 10:25:28 -04:00
extraction fix: ci stabilizations for release 2026-07-04 09:28:59 -04:00
ingest plugin improvements. continued gtest -> catch2 test migration 2025-12-19 22:27:31 -05:00
integrity Stabilize sanitizer lanes and daemon concurrency (#40) 2026-06-01 12:14:43 -04:00
manifest feat: optimizations based on profile runs in hashing and work coordinator. test updates and correctness fixes 2026-02-24 21:06:43 -05:00
mcp perf(cli): profile user-facing command paths 2026-06-22 12:22:53 -04:00
metadata Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
plugins fix(docs): Replace 2026-06-27 16:28:08 -04:00
repair fix(daemon): WAL flush on shutdown, corrupt-DB salvage, test hardening, ASAN fix (#27) 2026-05-09 23:03:23 -04:00
resolve perf(ingest): harden daemon batching and shutdown (#58) 2026-07-17 07:04:30 -04:00
search Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
storage perf(ingest): harden daemon batching and shutdown (#58) 2026-07-17 07:04:30 -04:00
topology Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
vector Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
wal fix: testing improvements and bug fixes in daemon logic for lifecycle management 2026-02-17 15:55:29 -05:00
meson.build test: expand coverage and harden ci 2026-05-20 10:37:54 -04:00