|
8 | 8 | - Prefer extracting pure helpers and formatter/parsing boundaries before moving async orchestration. |
9 | 9 | - Keep module roots thin; if a root becomes mostly re-exports, let children carry the logic. |
10 | 10 |
|
| 11 | +## Immediate Queue |
| 12 | + |
| 13 | +- [ ] `src/core/semantic.rs` |
| 14 | + - Split semantic index/store model types and defaults from persistence I/O helpers. |
| 15 | + - Split embedding metadata compatibility and adapter/fallback embedding generation. |
| 16 | + - Split source-file discovery and excerpt/query builders from index refresh bookkeeping. |
| 17 | + - Split semantic diff retrieval and feedback-example matching from feedback-store maintenance. |
| 18 | +- [ ] `src/core/symbol_index.rs` |
| 19 | + - Split LSP command detection and extension scanning from index-building entry points. |
| 20 | + - Split regex-based symbol extraction and dependency-hint parsing from graph/file-summary registration. |
| 21 | + - Split `LspClient` protocol transport from symbol-result decoding and path/URI utilities. |
| 22 | + - Keep `build()` and `build_with_lsp()` as thin orchestration entry points. |
| 23 | + |
11 | 24 | ## Core Backlog |
12 | 25 |
|
13 | | -- [ ] `src/core/comment.rs` |
14 | | - - Split category/severity/tag heuristics from confidence/fix-effort heuristics. |
15 | 26 | - [ ] `src/core/semantic.rs` |
16 | | - - Split semantic index/store model types and embedding metadata compatibility. |
17 | | - - Split JSON/file persistence helpers from path derivation helpers. |
18 | | - - Split embedding adapter/fallback logic from source discovery/chunk extraction. |
19 | | - - Split semantic matching/ranking from semantic feedback example workflows. |
20 | | - - Split index refresh/update orchestration from low-level chunk/state transforms. |
| 27 | + - Split JSON/file persistence helpers from default path derivation and atomic write helpers. |
| 28 | + - Split semantic chunk hashing/key generation from summary/excerpt assembly. |
| 29 | + - Split changed-range filtering and per-query match scoring from context chunk rendering. |
| 30 | + - Split feedback embedding-text/fingerprint helpers from feedback-store reconciliation. |
21 | 31 | - [ ] `src/config.rs` |
22 | 32 | - Split defaults/model-role conversion from load/deserialize paths. |
23 | 33 | - Split env/path resolution from validation/migration logic. |
24 | 34 | - Split serialization-focused test helpers from production config code. |
25 | 35 | - [ ] `src/core/symbol_index.rs` |
26 | | - - Split language-specific extraction/parsing from index construction. |
27 | | - - Split retrieval/query helpers from persistence/cache helpers. |
28 | | - - Split ranking/path-selection helpers from graph-aware expansion helpers. |
| 36 | + - Split language-pattern tables and path candidate expansion from dependency resolution. |
| 37 | + - Split file collection and byte-size filtering from index population. |
| 38 | + - Split symbol graph and reverse-dependency registration from symbol storage. |
| 39 | + - Split LSP symbol collection/range extraction from request/notification plumbing. |
29 | 40 | - [ ] `src/core/symbol_graph.rs` |
30 | 41 | - Split graph construction from traversal/query helpers. |
31 | 42 | - Split serialization/persistence helpers from graph algorithms. |
|
0 commit comments