-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
3 / 33 of 3 issues completedLabels
architectureArchitecture improvementsArchitecture improvementscoreepicMilestone-level tracking issueMilestone-level tracking issuerefactor
Description
Overview
Break the Agent god object (~12K LOC, 15 files) into focused subsystems with clear ownership boundaries.
Issues
- Extract ContextBuilder from Agent into standalone struct #836 Extract ContextBuilder from Agent into standalone struct (L, high)
- Extract ToolOrchestrator from Agent #837 Extract ToolOrchestrator from Agent (L, high)
- Extract LearningEngine from Agent #838 Extract LearningEngine from Agent (M, medium)
Internal Critical Path
#836 (ContextBuilder) ───┐
├─ parallel
#837 (ToolOrchestrator) ─┘
│
v
#838 (LearningEngine) ── after boundary stabilization
Cross-Epic Dependencies
| Relation | Epic | Reason |
|---|---|---|
| blocks | #860 Hot-path CPU | #860 touches agent/context.rs — do after Agent refactor |
| blocks | #861 Allocation reduction | #861 touches agent/context.rs — same reason |
| blocks | #862 Async efficiency | #889/#890 touch agent/persistence.rs — coordinate |
| parallel with | #831 Binary restructuring | different files (main.rs vs agent/) |
| parallel with | #832 Dependency hygiene | different concerns |
| parallel with | #853 Secret memory hygiene | different files (vault.rs) |
| parallel with | #859 Build speed | workspace-level, no conflict |
Effort: XL
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
architectureArchitecture improvementsArchitecture improvementscoreepicMilestone-level tracking issueMilestone-level tracking issuerefactor