Skip to content

Epic: Agent decomposition #830

@bug-ops

Description

@bug-ops

Overview

Break the Agent god object (~12K LOC, 15 files) into focused subsystems with clear ownership boundaries.

Issues

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

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions