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: ROADMAP.md
+19-24Lines changed: 19 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
<!-- Status: [ ] open [~] in progress [x] done [I] Issue [P] PR [?] blocked [!] unclear -->
4
4
5
5
**Version:** 2.4.0-alpha
6
-
**Last Updated:** 2026-08-18
6
+
**Last Updated:** 2026-08-31
7
7
**Scope:** Aggregated roadmap across tracked modules in `src/` (improved scanner pipeline Phase 1–6 complete; Phase 1–6 execution contract evidence closure COMPLETE). GA hardening path: Phases 0-6 technical evidence complete, Phase 6 human governance sign-off (D-11) is the only remaining GA blocker at `docs/governance/GA_PROMOTION_SIGN_OFF.md` §9. Wave C (Security Production Validation) complete with all exit criteria passing 2026-08-18.
8
8
9
9
> For module-specific details see each module's `src/<module>/ROADMAP.md`.
@@ -30,19 +30,19 @@ ThemisDB is a high-performance multi-model database with native AI/LLM integrati
30
30
-[~] Other modules use legacy four-column format; will be expanded on next per-module roadmap sync.
31
31
-[x] A consolidated root-level Soll-Ist matrix for all research-backed roadmap claims is established via `research/implementation_influence/by_module.md` (6 modules, 21 implementation aspects); recurring sync enforced from Phase 6 onwards (✅ COMPLETE 2026-08-04).
32
32
33
-
## Implementation vs Documentation Gap Classification (2026-08-10)
33
+
## Implementation vs Documentation Gap Classification (2026-08-31)
|replication|16 listed |MIXED | Multi-region base exists; geo placement policies and lag-limit WAL shipping are real gaps|
37
+
|core|9 listed | Mostly DOC / evidence gaps |Runtime adapter registry and plugin loading are delivered; remaining items are Wave D operability and refreshed evidence|
38
+
|base|8 listed | Mostly historical scanner noise |`src/base/MODULE_GAPS.md` re-scan shows 0 actionable current gaps; remaining items are documented false positives or follow-up docs|
39
+
|server|4 residual source gaps | REAL IMPL gaps |gRPC-Web proxy is still UNIMPLEMENTED-only in fallback builds; time-series aggregate/retention providers and RoPE metrics still rely on degraded fallback paths; non-Linux MCP stdio transport remains unsupported|
40
+
|query|residual perf / validation follow-up | Mostly verification / perf gaps |Process-mining trace/pattern/ideal query paths and the three `ETHICS_*` runtime gaps were closed on 2026-08-31; remaining work is optimizer/federation hardening and benchmark evidence|
|auth|8+ listed |Mostly verification / perf follow-up | Wave 4B source gaps are closed; remaining work is Wave 8 tests, representative-hardware baselines, and protocol-matrix regressions|
43
+
|LLM | 13 listed |MIXED | Major Wave 5 closures landed; remaining real gaps center on distributed collectives, multi-tenant isolation, and final cross-module speculative/TARG wiring|
44
+
|RAG / LLM Wiki | 57 listed |Mostly perf / integration follow-up | BM25+, RRF, persistent cache, and real `LLMJudgeIntegration` path are implemented; remaining work is performance gates, Recall@k sign-off, Wikipedia ABI wiring, and entropy-bridge integration|
45
+
|GPU/CUDA|21+53 listed |REAL IMPL gaps | CUDA/HIP kernel parity and representative-hardware validation remain open release blockers for acceleration-heavy paths|
46
46
| access_model | 21 listed | REAL IMPL gaps | Benchmarks and GATE-ACM-01..06 not yet implemented |
47
47
48
48
## Release Hardening Program (current canonical version: v2.4.0-alpha)
@@ -71,6 +71,7 @@ ThemisDB is a high-performance multi-model database with native AI/LLM integrati
71
71
-[x] Wave 8, chaos/fault-injection, sanitizer/recovery, penetration-test, and 99.99% SLA sign-off artefacts are closed: sanitizer evidence bundle at `docs/security/GA_SANITIZER_EVIDENCE_BUNDLE.md`; pentest evidence bundle at `security/pentest/GA_PENTEST_EVIDENCE_BUNDLE.md`; Wave 9 SLA/chaos gates PASS; final governance sign-off pending human approval at `docs/governance/GA_PROMOTION_SIGN_OFF.md`.
72
72
-[x] Phase 1-6 execution contract complete: all technical gates PASS; human sign-off (Section 9 of `docs/governance/GA_PROMOTION_SIGN_OFF.md`) is the only remaining GA blocker.
73
73
-[x] Tools build-option transition complete: canonical flag for desktop tools is `THEMIS_BUILD_TOOLS` (default `ON`); legacy alias removed.
74
+
-[~] Core-first residual source-gap queue revalidated: finish server runtime fallback gaps and query feature gaps first, then close LLM/RAG integration and GPU representative-hardware gates (Target: Q4 2026).
- HNSW index (M=16, ef_construction=200) for dense embeddings.
631
-
- RRF fusion (k=60) combining BM25+ and HNSW scores.
632
-
- Perf target: ≥2× query throughput vs Phase A at 50K chunks; p95 < 100ms.
633
-
- Automatic Phase A→B index migration with progress log; rollback path on failure.
634
-
(Target: Q4 2026)
635
-
-[ ] Persistent embedding cache: RocksDB column family `"embedding_cache"`; key = `sha256(doc_id + content)`; cache-miss triggers re-embedding call; ≥99% hit rate on re-ingest (measured); LRU eviction at configurable byte limit. (Target: Q4 2026)
629
+
-[x] WikiIndexStore Phase B activation (gate: `THEMIS_WIKI_PHASE_B`): BM25+ scorer, HNSW index initialization, RRF fusion, automatic Phase A→B migration, and persistent embedding cache are implemented in `src/llm/wiki_index_store.cpp`; remaining work is representative-hardware performance proof and production gate evidence. (Target: Q4 2026)
630
+
-[ ] Perf target for Phase B: ≥2× query throughput vs Phase A at 50K chunks; p95 < 100ms on representative hardware. (Target: Q4 2026)
636
631
-[ ]`ingestWikipediaDump()` ABI wiring: sub-feature gate `"llm_wiki_wikipedia"` check at runtime; `ILLMWikiPlugin::Status::PermissionDenied` in Community/Minimal editions; test `LWP-WIKI-01` (enterprise smoke) + `LWP-WIKI-02` (community gate). (Target: Q4 2026)
637
-
-[ ] FTS enhancement: phrase queries via positional inverted index (`"hello world"` → documents where tokens adjacent); proximity queries (`NEAR(term1, term2, distance=5)`); ≤100ms on 100K documents at p95. (Target: Q4 2026)
632
+
-[ ] FTS enhancement gate: phrase/proximity query path is implemented; remaining work is the ≤100ms p95 benchmark gate on 100K documents. (Target: Q4 2026)
638
633
-[ ]`TensorRagCostModel`: 5-phase RAG cost model — C_RAG = C_embed + C_retrieve + C_rerank + C_assemble + C_generate; `TENSOR_RAG` WorkloadType in `TensorWorkloadClassifier`; TTFT comparison table (150-400ms llama.cpp vs 40-90ms cached); integrate with `TensorRagCostModel::estimate()`. (Target: Q4 2026)
634
+
-[x] LLM↔RAG entropy bridge: speculative decoding now installs a scoped per-request entropy override so downstream `TARGRetrieval` calls can reuse the already-available exact target-logit rows without cross-thread global callback leakage; the default TARG runtime still keeps its built-in exact full-vocabulary fallback when no bridge is active. (Target: Q4 2026)
639
635
-[ ] LWP tests Phase 4 (LWP-01..20 + LWP-GATE-01): see `plugins/themisdb_llm_wiki/ROADMAP.md` Phase 4 for full list; Recall@k ≥0.8 gate on LWP-01..08. (Target: Q4 2026)
-[ ] LLM-Judge Integration: replace mock-mode in `src/rag/llm_judge_integration.cpp` with real LLM judge calls via internal `ILLMBackend` adapter; gate `THEMIS_ENABLE_LLM_JUDGE`; when gate off or LLM unavailable → `LLMJudgeResult{score: -1, reason: "llm_unavailable"}` — never silently return fixed score. (Target: Q4 2026)
646
-
- Stub removal: current mock returns fixed score 0.85; MUST be replaced — mark with `STUB/SIMULATION NOTE` until replaced.
647
-
-[ ] Recall@k / MRR / p95-Reporting in `ILLMWikiPlugin::stats()`:
641
+
-[x] LLM-Judge Integration: `src/rag/llm_judge_integration.cpp` has a real `ILLMInferenceEngine` path under `THEMIS_ENABLE_LLM_JUDGE`; when the gate is off or no backend is available it returns `llm_unavailable` fail-closed, and the former mock-mode fallback has been removed from runtime behavior. (Target: Q4 2026)
642
+
-[x] Recall@k / MRR / p95-Reporting in `ILLMWikiPlugin::stats()`:
648
643
-`EvaluationStats::recall_at_k` (k=1,3,5,10) — fraction of queries with relevant doc in top-k.
649
644
-`EvaluationStats::mrr` — mean reciprocal rank over last N queries.
650
645
-`EvaluationStats::p95_query_latency_ms`.
651
-
- Recall@k ≥ 0.8 as gate criterion for LWP-01..08 acceptance. (Target: Q4 2026)
646
+
-Remaining open gate: Recall@k ≥ 0.8 as formal sign-off criterion for LWP-01..08 acceptance. (Target: Q4 2026)
0 commit comments