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
Copy file name to clipboardExpand all lines: plans/qihse_persistence_layer.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ Current landed state:
14
14
- PR-3 read-only mmap candidate work now covers `vectors.qvec`, `metadata.qmeta`, validated `idmap.qid`, and validated direct mapping of `index.qidx` for clean snapshots.
15
15
- PR-4 physical compaction is complete for the current row model: `compact()` rewrites the in-memory table, vector blob, and metadata arena with live rows only, then publishes the compact snapshot and regenerated `idmap.qid`/`vectors.qtri` through the existing atomic flush path.
16
16
- PR-4 compaction fixtures now verify compact-after-mutation row/index/idmap/trinary behavior, high-ID idmap consistency, stale/corrupt derived sidecar rebuild, stale `.tmp` file ignore-on-open behavior, and WAL mutation compaction clearing WAL without resurrecting pruned rows.
17
-
- PR-5 search-path benchmark scaffolding is present: `make bench-trinary-search-path` compares full float32 DB search against DB-backed `vectors.qtri` candidate selection plus exact float32 rerank and reports recall/order/latency. Pure trinary storage remains out of scope.
18
-
- Latest pushed checkpoint before this slice: `b8a37a3` on `codex/qihse-file-persistence`.
17
+
- PR-5 search-path benchmark scaffolding is present: `make bench-trinary-search-path` compares full float32 DB search against DB-backed `vectors.qtri` candidate selection plus exact float32 rerank across aligned, banded, and weighted deterministic datasets, reporting recall/order/latency for each. Pure trinary storage remains out of scope.
18
+
- Latest pushed checkpoint before this slice: `b87150a` on `codex/qihse-file-persistence`.
19
19
20
20
Resume commands:
21
21
@@ -46,14 +46,14 @@ Current continuation:
46
46
47
47
- PR-3: validate the newly landed `index.qidx` mmap path under more corruption and compatibility cases, then decide whether UMA should wrap mapped rows directly or keep the current vector DB-owned mapping path.
48
48
- PR-4: add deeper manifest-publication crash fixtures if needed. Public mutation APIs, mutation WAL replay/truncation, physical compaction, stale temp-file handling coverage, and WAL-plus-compaction interaction coverage are present.
49
-
- PR-5: use the search-path benchmark to drive optional vector DB trinary acceleration. Current benchmark proves recall/order on the synthetic fixture and exposes latency variance; it is not yet a production search-path optimization.
49
+
- PR-5: use the search-path benchmark to drive optional vector DB trinary acceleration. Current benchmark proves recall/order on three deterministic fixtures and exposes latency variance; it is not yet a production search-path optimization.
50
50
- PR-6: add persisted anchor hints and optimizer statistics only as rebuildable, explicit-format sidecars.
51
51
52
52
Recommended 3-agent split:
53
53
54
54
- Agent 1 owns any remaining manifest-publication crash fixtures.
Copy file name to clipboardExpand all lines: plans/qihse_persistence_pr0_pr1_enhancement.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@ Current implementation state:
30
30
- PR-3 candidate work has started: read-only mmap mode maps `vectors.qvec`, `metadata.qmeta`, validated `idmap.qid`, and validated direct `index.qidx` rows for clean snapshots.
31
31
- PR-4 physical compaction is present: delete/update/upsert API symbols write committed WAL records, replay committed mutation batches newer than the snapshot, writable open truncates torn/uncommitted mutation tails, and `compact()` rewrites live rows only before publishing the regenerated snapshot/sidecars.
32
32
- PR-4 compaction fixture coverage now enforces row/index/live/idmap counts after physical pruning, high unsigned IDs, valid `vectors.qtri` after compact, stale/corrupt derived sidecar rebuild, stale `.tmp` file ignore-on-open behavior, and WAL mutation compaction clearing WAL without resurrecting pruned rows.
33
-
- PR-5 search-path benchmark scaffolding is present: standalone tryte top-k exists with `make bench-trinary-codec`, DB-backed candidate generation plus exact float32 rerank exists with `make bench-trinary-db-candidate`, and `make bench-trinary-search-path` compares full float32 DB search against trinary candidates plus rerank with recall/order/latency reporting.
34
-
- Latest pushed checkpoint before this slice: `b8a37a3` on `codex/qihse-file-persistence`.
33
+
- PR-5 search-path benchmark scaffolding is present: standalone tryte top-k exists with `make bench-trinary-codec`, DB-backed candidate generation plus exact float32 rerank exists with `make bench-trinary-db-candidate`, and `make bench-trinary-search-path` compares full float32 DB search against trinary candidates plus rerank across aligned, banded, and weighted deterministic datasets with recall/order/latency reporting.
34
+
- Latest pushed checkpoint before this slice: `b87150a` on `codex/qihse-file-persistence`.
35
35
-`qihse/qihse_vector_db.c` was restored after a disk-full truncation and now contains the native persistence implementation.
36
36
-`qihse_vector_db_create(..., db_path)` opens a file-backed native database.
37
37
-`qihse_vector_db_open()` supports ephemeral, file-copy, read-only, and read-only mmap modes.
@@ -553,7 +553,7 @@ After the current checkpoint:
553
553
554
554
- PR-3: harden mmap compatibility and corruption tests now that read-only `vectors.qvec`, `metadata.qmeta`, `idmap.qid`, and `index.qidx` mapping are present for clean snapshots.
555
555
- PR-4: public delete/update/upsert API behavior, mutation WAL replay/truncation, physical tombstone compaction, stale temp-file ignore behavior, and WAL-plus-compaction interactions are implemented and covered by persistence tests. Deeper manifest-publication crash fixtures can still be added.
556
-
- PR-5: DB-backed candidate generation, exact rerank, and search-path benchmark scaffolding are present; production search-path acceleration, broader recall measurement, and optional pure trinary storage remain.
556
+
- PR-5: DB-backed candidate generation, exact rerank, and three-dataset search-path benchmark scaffolding are present; production search-path acceleration, realistic recall measurement, and optional pure trinary storage remain.
557
557
- PR-6: optional persisted anchor hints and optimizer statistics as rebuildable sidecars.
0 commit comments