Parent: #520
Related plan: docs/architecture-improvement-plan.md
Goal
Reduce default dependency closure and isolate optional heavy integrations behind explicit features and boundaries.
Deliverables
- Shared dependencies normalized to workspace policy across member crates
- Heavy integrations isolated behind feature gates with default-minimal profile
terraphim_types and terraphim_config split/feature strategy applied (or ADR-backed alternative)
Tasks
- Normalize shared dependencies (
tokio, serde, serde_json, reqwest, chrono, uuid, etc.) to workspace = true
- Audit VM execution, multi-agent, schema generation, and desktop-only paths for optional isolation
- Implement type/config profile split strategy or accepted equivalent
- Capture before/after dependency and compile-time metrics
Acceptance Criteria
- Minimal server/CLI builds avoid linking optional heavy stacks
- Duplicate dependency count decreases versus Phase 0 baseline
- Feature matrix coverage is validated in CI for minimal and full profiles
Parent: #520
Related plan:
docs/architecture-improvement-plan.mdGoal
Reduce default dependency closure and isolate optional heavy integrations behind explicit features and boundaries.
Deliverables
terraphim_typesandterraphim_configsplit/feature strategy applied (or ADR-backed alternative)Tasks
tokio,serde,serde_json,reqwest,chrono,uuid, etc.) toworkspace = trueAcceptance Criteria