Description
Reorganize the src/ directory structure to comply with the project's 10-item-per-directory convention defined in docs/conventions/file-structure.md.
Context
The current src/ layout has grown organically, resulting in directories with 20-28 direct children — well above the 10-item limit. This makes navigation difficult, blurs process boundaries, and violates the project's own architectural conventions.
Scope
- src/ root: consolidate loose directories into
common/ and process/
- src/process/: reorganize from 24 to 11 items (resources/, services/, utils/)
- src/common/: reorganize from 28 to 8 items (api/, adapter/, chat/, config/, types/, update/, utils/)
- Global: fix all stale import paths across 835 files
- Docs: update architecture.md and file-structure.md with new paths
Description
Reorganize the
src/directory structure to comply with the project's 10-item-per-directory convention defined indocs/conventions/file-structure.md.Context
The current
src/layout has grown organically, resulting in directories with 20-28 direct children — well above the 10-item limit. This makes navigation difficult, blurs process boundaries, and violates the project's own architectural conventions.Scope
common/andprocess/