You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(learning): close foundation readiness with local ann
Promote the staged vector path into a deterministic local embedding plus
ANN-style retrieval boundary, and align readiness docs/tests with the
resulting integrated/go mainline state.
- When a historical section says `in_progress` / `no-go`, read it as past checkpoint truth rather than current repo state.
37
+
24
38
Execution anchor:
25
39
26
40
-[Mainline Checkpoint: CI Hardening and Post-M8 Direction Requirements (2026-04-20)](../../../brainstorms/2026-04-20-mainline-checkpoint-ci-hardening-and-post-m8-direction-requirements.md)
@@ -280,6 +294,22 @@ Execution anchor:
280
294
- decision stays `no-go`,
281
295
- no ANN readiness claim is permitted from lexical-prefilter evidence alone.
282
296
297
+
## Latest Mainline Increment (2026-04-21 M8.18 Foundation Local ANN Vector Independence)
298
+
299
+
- Promoted the staged vector path into a real independent local ANN backend:
300
+
-`src/learning/vectorAccelerationAdapter.ts` now emits deterministic local embeddings,
301
+
- candidate pruning now runs through ANN-style signature buckets,
302
+
- query traces now surface `mode = local_ann` and `status = independent`.
303
+
- Foundation readiness is now fully satisfied on `main`:
304
+
- status `integrated`
305
+
- decision `go`
306
+
-`promotionCriteriaPassed = 7/7`
307
+
-`promotionBlockers = []`
308
+
- The current bounded vector evidence is explicit:
| L2 Retrieval | explainable hybrid/vector retrieval + governance | Branch still frames graphdb/vector expansion | Explainable retrieval with relation-path + temporal-validity evidence is integrated on `main`; dedicated query scoring now lives in `src/learning/queryBackend.ts`, vector prefilter scoring now lives in `src/learning/vectorAccelerationAdapter.ts`, but persistence is still file-backed and independent ANN evidence is still absent (`src/learning/KnowledgeLearningPlatform.ts`, `src/learning/store.ts`) | M8: keep readiness honest until independent vector evidence exists|
1032
+
| L2 Retrieval | explainable hybrid/vector retrieval + governance | Branch still frames graphdb/vector expansion | Explainable retrieval with relation-path + temporal-validity evidence is integrated on `main`; dedicated query scoring lives in `src/learning/queryBackend.ts`, persistence is sqlite-backed in `src/learning/store.ts`, and the vector path now runs through independent local ANN semantics in `src/learning/vectorAccelerationAdapter.ts`| Keep quality/perf honest while richer vector backends remain optional|
1003
1033
| L3 Learning | mastery diagnostics + path/session loop | Expanded in branch | Path/session/misconception/memory flows are already integrated and persistence-tested on `main`| Preserve baseline and avoid underclaiming |
1004
1034
| L4 Interaction | agent conversation + focus/path pane runtime | Implemented in branch | Typed contract routing, conversation shell, focus-mode, and path-dock coexistence are integrated on `main`| Expand only through typed contract discipline |
- Mainline persistence baseline now defaults to embedded sqlite graph storage:
13
13
-`src/learning/store.ts`
14
14
- Mainline learning/runtime contract currently centers on:
15
15
-`src/learning/api.ts`
16
16
-`src/learning/types.ts`
17
17
-`src/learning/KnowledgeLearningPlatform.ts`
18
18
-`src/server.ts`
19
+
- Mainline foundation retrieval boundaries are now explicit and integrated:
20
+
-`src/learning/queryBackend.ts`
21
+
-`src/learning/vectorAccelerationAdapter.ts`
19
22
- Active interaction lane is stable and CI-protected:
20
23
-`src/agent_workspace.contract.parity.test.ts`
21
24
-`src/agent_workspace.runtime.behavior.test.ts`
@@ -69,9 +72,9 @@ Bundle note:
69
72
- runtime snapshots now preserve `mandatoryCheckIds` for the active gate contract
70
73
- runtime snapshots now preserve full `mandatoryChecks`, `promotionBlockers`, and `recommendations`
71
74
- Current expected result on `main` is:
72
-
- status `In Progress`
73
-
- decision `No-Go`
74
-
- rationale: mainline persistence now uses an embedded sqlite-backed graph store, query-backend and vector-boundary modules are present, graph-backend independence is satisfied, but the vector adapter is still only `prefilter_only`, so independent ANN evidence is still absent.
75
+
- status `Integrated`
76
+
- decision `Go`
77
+
- rationale: mainline now carries embedded sqlite graph persistence, a dedicated querybackend, and an independent local embedding-ANN vector adapter, so the bounded foundation re-entry contract is fully satisfied on the repository baseline.
75
78
- The readiness payload now makes that distinction explicit:
76
79
-`provenance.repoRootSource`
77
80
-`provenance.runtimeProjectRootAligned`
@@ -94,30 +97,29 @@ Bundle note:
94
97
-`graphBackendSignalKind = embedded_graphdb`
95
98
-`graphBackendIndependent = true`
96
99
- Current expected promotion blockers on `main` are:
97
-
-`vector_backend_not_independent`
100
+
-none
98
101
- Current expected promotion criteria on `main` are:
-`embedded_graphdb` is evidence that mainline graph persistence no longer depends on the legacy file snapshot as the primary backend.
119
-
-`lexical_token_overlap` is evidence of lexical prefilter scoring only.
120
-
- It is **not** evidence of embedding-backed ANN readiness.
122
+
-`embedding_ann` is evidence that the vector path now runs through deterministic local embeddings plus ANN-style bucket selection instead of lexical prefilter overlap.
0 commit comments