Part of #68. Target branch: V1. Depends on #75.
Scope
Extract high-level crates.
cc-plugins ← src/plugins/ (4 files, 1,911 LOC)
cc-teams ← src/teams/ (11 files, 3,164 LOC)
cc-daemon ← src/daemon/ (11 files, 1,487 LOC)
cc-commands ← src/commands/ (53 files, 12,626 LOC) — second-biggest crate
cc-ipc ← src/ipc/ (21 files, 4,724 LOC)
Special considerations
cc-commands has 53 separate command files, but each is <300 LOC. After measuring: if commands crate is a bottleneck, sub-split by domain:
cc-commands-session, cc-commands-review, cc-commands-daemon, etc.
cc-daemon embeds the Team Memory HTTP proxy — keep the Bun server spawn logic intact
cc-ipc is the spine between headless/daemon modes and the frontend; exhaustive integration testing required
Acceptance
Part of #68. Target branch:
V1. Depends on #75.Scope
Extract high-level crates.
cc-plugins←src/plugins/(4 files, 1,911 LOC)cc-teams←src/teams/(11 files, 3,164 LOC)cc-daemon←src/daemon/(11 files, 1,487 LOC)cc-commands←src/commands/(53 files, 12,626 LOC) — second-biggest cratecc-ipc←src/ipc/(21 files, 4,724 LOC)Special considerations
cc-commandshas 53 separate command files, but each is <300 LOC. After measuring: if commands crate is a bottleneck, sub-split by domain:cc-commands-session,cc-commands-review,cc-commands-daemon, etc.cc-daemonembeds the Team Memory HTTP proxy — keep the Bun server spawn logic intactcc-ipcis the spine between headless/daemon modes and the frontend; exhaustive integration testing requiredAcceptance