feat(search): implement Phase 1 scoped search vertical slice

Resolve persisted enabled actors and atomically replace knowledge selection with revision checks, removal epochs, stable locking and audit updates.

Reuse compatible query embeddings for scoped pgvector cosine retrieval, revalidate authority after remote work, and expose opt-in operator inspection with uncalibrated candidates.

Validation: 37 targeted tests passed (14 unit, 23 PostgreSQL); provider-free inactive-to-active demonstration passed. Real-provider demonstration remains pending ingestion database connectivity. Applied migrations are unchanged.
This commit is contained in:
amirhosein mazaheri
2026-10-07 17:31:59 +03:30
parent ff9c32823c
commit 7fa1c2dcc1
11 changed files with 798 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
"""Shared selection and search; no prototype or provider I/O on import."""