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/specs/2026-05-17-209-domain-module-naming.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,19 @@ Full directory rename + import path update for all TypeScript source files under
14
14
15
15
### Mapping
16
16
17
+
> **Amendment (2026-05-17):** Dropped the `src/core/` grouping layer (depth without signal). Kept `src/util/` unchanged (pure helpers like `dates.ts` and `strings.ts` are not "infrastructure"). Renamed feature folder `navigation` → `browse` to avoid collision with `src/journal/navigation.ts`.
18
+
17
19
| Current path | New path | Reason |
18
20
|---|---|---|
19
-
|`src/ext/`|`src/core/extension/`| VS Code lifecycle/config is extension plumbing, not domain |
20
-
|`src/actions/`|`src/core/journal/`| Core read/write/inject logic _is_ the journal domain |
21
-
|`src/util/`|`src/core/infrastructure/`|Controller, logger, paths, strings — infrastructure, not domain|
21
+
|`src/ext/`|`src/extension/`| VS Code lifecycle/config is extension plumbing, not domain |
22
+
|`src/actions/`|`src/journal/`| Core read/write/inject logic _is_ the journal domain |
23
+
|`src/util/`|`src/util/`|No change — pure helpers are not infrastructure|
22
24
|`src/provider/commands/`|`src/commands/`| Commands are a top-level surface, not a provider sub-concern |
23
25
|`src/provider/codeactions/`|`src/ui/codeactions/`| VS Code UI surface grouped under `ui/`|
24
26
|`src/provider/codelens/`|`src/ui/codelens/`| VS Code UI surface grouped under `ui/`|
25
-
|`src/provider/features/sync-daily-links.ts`<br>`src/provider/features/sync-note-links.ts`|`src/features/sync/`| Sync is a domain feature, distinct from navigation|
26
-
|`src/provider/features/scan-entries.ts`<br>`src/provider/features/load-note.ts`<br>`src/provider/features/show-pick-list.ts`<br>`src/provider/features/weekly-entry-watcher.ts`|`src/features/navigation/`|These power the "find and open" UX flow |
27
-
|`src/provider/features/match-input.ts`|`src/core/journal/match-input.ts`| Smart-input resolver is parser-adjacent core logic |
27
+
|`src/provider/features/sync-daily-links.ts`<br>`src/provider/features/sync-note-links.ts`|`src/features/sync/`| Sync is a domain feature, distinct from browsing|
28
+
|`src/provider/features/scan-entries.ts`<br>`src/provider/features/load-note.ts`<br>`src/provider/features/show-pick-list.ts`<br>`src/provider/features/weekly-entry-watcher.ts`|`src/features/browse/`|Power the "find and open" UX flow; `browse` avoids collision with `src/journal/navigation.ts`|
29
+
|`src/provider/features/match-input.ts`|`src/journal/match-input.ts`| Smart-input resolver is parser-adjacent core logic |
28
30
|`src/model/`|`src/model/`| Already neutral; no rename |
29
31
30
32
`src/provider/` disappears entirely once all sub-paths are redistributed.
@@ -38,7 +40,7 @@ Full directory rename + import path update for all TypeScript source files under
38
40
## Out of Scope
39
41
40
42
- Logic changes of any kind
41
-
- Renaming barrel namespace keys (`J.Util` → `J.Infrastructure` etc.) — that belongs in Phase 2.3 alongside consumer migration
43
+
- Renaming barrel namespace keys (`J.Util`, `J.Actions` etc.) — that belongs in Phase 2.3 alongside consumer migration
0 commit comments