yams/tests/unit/cli
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
..
doctor perf(ingest): harden daemon batching and shutdown (#58) 2026-07-17 07:04:30 -04:00
add_command_stdin_catch2_test.cpp Stabilize sanitizer lanes and daemon concurrency (#40) 2026-06-01 12:14:43 -04:00
cli_option_isolation_catch2_test.cpp plugin install path update, daemon status fixes, lint run 2025-12-20 18:13:54 -05:00
cli_test_cleanup_listener.cpp fix: suspected deadlock fixes in repair, bugs addressed in request logic. Continued triage from infer output and test failures 2026-04-11 18:45:22 -04:00
cli_utility_coverage_catch2_test.cpp test: lift coverage for core paths 2026-06-22 10:25:28 -04:00
command_registry_catch2_test.cpp fix: cli clean up of old comments and duplicate code. search improvements as we migrate yams to simeon. 2026-04-21 10:20:01 -04:00
completion_command_catch2_test.cpp Stabilize sanitizer lanes and daemon concurrency (#40) 2026-06-01 12:14:43 -04:00
config_command_catch2_test.cpp Stabilize sanitizer lanes and daemon concurrency (#40) 2026-06-01 12:14:43 -04:00
daemon_command_catch2_test.cpp feat: TurboQuant search and ANN compression improvements. CLi client regression fixes 2026-03-25 23:59:42 -04:00
daemon_helpers_pool_catch2_test.cpp perf(search): bound topology routing and harden runtime paths (#59) 2026-07-19 14:53:10 -04:00
data_dir_resolution_catch2_test.cpp feat: cleaning up test suite 2026-04-14 10:25:54 -04:00
delete_command_catch2_test.cpp fix: expanding cli test suite, addressing ASAN issues and improving error handling 2026-03-19 13:03:46 -04:00
doctor_command_catch2_test.cpp fix: concurrency and race condition fixes 2026-04-12 11:37:06 -04:00
doctor_repair_renderers_catch2_test.cpp test: lift coverage for core paths 2026-06-22 10:25:28 -04:00
download_command_catch2_test.cpp feat: massive commit. Download logic updates with expanding controls (stop, start, resume etc.) from daemon control. This is used in my archive openclaw agent. This commit also includes work to harden onnxruntime abi access. this should allow loading newer abi's when builds are pinned to 1.23.0. 2026-03-21 17:12:47 -04:00
error_hints_catch2_test.cpp fix: improving socket and chunking reliability and robustness. Added better regression tests and errror logging logic for state connections 2026-02-10 12:25:30 -05:00
graph_explore_presenter_catch2_test.cpp Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
graph_helpers_catch2_test.cpp Assertion hardening, metadata correctness, & daemon lifecycle fixes (#41) 2026-06-04 12:53:42 -04:00
graph_query_presenter_catch2_test.cpp Assertion hardening, metadata correctness, & daemon lifecycle fixes (#41) 2026-06-04 12:53:42 -04:00
graph_topology_support_catch2_test.cpp Assertion hardening, metadata correctness, & daemon lifecycle fixes (#41) 2026-06-04 12:53:42 -04:00
grep_command_path_tree_catch2_test.cpp plugin install path update, daemon status fixes, lint run 2025-12-20 18:13:54 -05:00
homebrew_service_formula_catch2_test.cpp fix(ci): test fixes 2026-04-26 01:02:36 -04:00
init_command_catch2_test.cpp fix: cleaning up startup logic and timers as corpus grows 2026-04-22 17:38:35 -04:00
list_command_catch2_test.cpp chore: housekeeping — rm dead code, consolidate MCP tools, add tests, clean docs (#50) 2026-06-16 19:37:24 -04:00
model_command_catch2_test.cpp fix: bug fixes from test regressions and test infrastructure improvements 2026-03-21 19:52:39 -04:00
pipeline_stage_render_catch2_test.cpp fix: onnx pool model scaling improvements, test fixes and UX improvements 2026-01-29 23:18:50 -05:00
plugin_command_catch2_test.cpp Remediate Fold SAST findings 2026-05-27 22:41:44 -04:00
prompt_util_catch2_test.cpp plugin install path update, daemon status fixes, lint run 2025-12-20 18:13:54 -05:00
recommendation_util_catch2_test.cpp removing gtest migrated tests and continuing with test migration 2025-12-16 10:50:18 -05:00
repair_command_catch2_test.cpp feat: persist semantic dedupe suggestions and apply them via repair 2026-04-02 22:33:07 -04:00
session_command_catch2_test.cpp fix: expanding cli test suite, addressing ASAN issues and improving error handling 2026-03-19 13:03:46 -04:00
status_metrics_catch2_test.cpp feat: completion fixes and reduce bottleneck of ingestion on add from cli 2026-04-12 23:45:28 -04:00
stream_heuristics_catch2_test.cpp plugin install path update, daemon status fixes, lint run 2025-12-20 18:13:54 -05:00
time_parser_catch2_test.cpp feat: test coverage improvements. Scaling bug addresses 2026-02-04 20:20:18 -05:00
update_command_catch2_test.cpp perf(metadata): profile write-path batching (#49) 2026-06-12 14:11:49 -04:00
vector_db_util_catch2_test.cpp fix: concurrency and race condition fixes 2026-04-12 11:37:06 -04:00
version_generated_header_catch2_test.cpp fix(ci): stabilize Windows release builds 2026-07-05 15:56:52 -04:00