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: docs/roadmap/ROADMAP.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1110,7 +1110,7 @@ With analysis data loss fixed, optimize the 1-file rebuild path end-to-end. Curr
1110
1110
1111
1111
**Goal:** Migrate the codebase from plain JavaScript to TypeScript, leveraging the clean module boundaries established in Phase 3. Incremental module-by-module migration starting from leaf modules inward.
1112
1112
1113
-
**Why after Phase 3:** The architectural refactoring creates small, well-bounded modules with explicit interfaces (Repository, Engine, BaseExtractor, Pipeline stages, Command objects). These are natural type boundaries -- typing monolithic 2,000-line files that are about to be split would be double work.
1113
+
**Why after Phase 4:** The architectural refactoring (Phase 3) creates small, well-bounded modules with explicit interfaces. Phase 4 moves the remaining hot-path visitor code to Rust — doing TS migration first would mean rewriting those visitors to TypeScript only to delete them when porting to Rust. With both phases complete, the JS layer is purely orchestration and presentation, which is the ideal surface for TypeScript.
1114
1114
1115
1115
### 5.1 -- Project Setup
1116
1116
@@ -1227,14 +1227,14 @@ Migrate top-level orchestration and entry points:
1227
1227
- No coverage thresholds enforced in CI (coverage report runs locally only)
1228
1228
- Embedding tests in separate workflow requiring HuggingFace token
1229
1229
- 312 `setTimeout`/`sleep` instances in tests — potential flakiness under load
1230
-
- No dependency audit step in CI (see also [5.7](#47----supply-chain-security--audit))
1230
+
- No dependency audit step in CI (see also [5.7](#57----supply-chain-security--audit))
1231
1231
1232
1232
**Deliverables:**
1233
1233
1234
1234
1.**Coverage gate** -- add `vitest --coverage` to CI with minimum threshold (e.g. 80% lines/branches); fail the pipeline when coverage drops below the threshold
1235
1235
2.**Unified test workflow** -- merge embedding tests into the main CI workflow using a securely stored `HF_TOKEN` secret; eliminate the separate workflow
1236
1236
3.**Timer cleanup** -- audit and reduce `setTimeout`/`sleep` usage in tests; replace with deterministic waits (event-based, polling with backoff, or `vi.useFakeTimers()`) to reduce flakiness
1237
-
4.> _Dependency audit step is covered by [5.7](#47----supply-chain-security--audit) deliverable 1._
1237
+
4.> _Dependency audit step is covered by [5.7](#57----supply-chain-security--audit) deliverable 1._
0 commit comments