Skip to content

Commit b336ce2

Browse files
authored
refactor: remove v1 multi-agent domain cluster (#599 PR1/3)
## Summary PR 1 of 3 for #599. Removes the legacy multi-agent domain cluster and the import "reachability threads" that kept it alive (top-level codeframe/__init__.py, core/__init__.py, cli/__init__.py, agents/__init__.py, ui/shared.py surgery + deleted shadowed cli.py). ~174 files, almost entirely deletions. The plan engine (--engine plan -> BuiltinPlanAdapter -> core.agent.Agent) is verified LIVE and intentionally KEPT. ## Validation - Tests: pytest -m v2 green (2824 passed); Backend + Frontend CI green - Lint/Type: ruff + mypy clean; CI Code Quality green - Collect: pytest --collect-only clean (3863); zero tracked .py reference any deleted module - Boot: TestClient /health -> 200; cf --help + cf status work - Internal review: advisory (claude-review approved) - Cross-family review: codex (3 findings fixed) + CodeRabbit (0 findings) - Demo: all 10 acceptance criteria mapped to outcome evidence Deferred: Database slim + enforcement/ + v1 repos (PR2); persistence->platform_store rename + CLAUDE.md (PR3). Part of #599 (PR1 of 3 — does not close).
1 parent 12009da commit b336ce2

175 files changed

Lines changed: 15 additions & 63431 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

codeframe/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,4 @@
88
__version__ = "0.1.0"
99
__author__ = "Frank Bria"
1010

11-
from codeframe.core.project import Project
12-
from codeframe.agents.lead_agent import LeadAgent
13-
from codeframe.agents.worker_agent import WorkerAgent
14-
15-
__all__ = ["Project", "LeadAgent", "WorkerAgent"]
11+
__all__ = ["__version__", "__author__"]

codeframe/agents/QUICKSTART.md

Lines changed: 0 additions & 182 deletions
This file was deleted.

codeframe/agents/__init__.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
"""AI agents for CodeFRAME."""
1+
"""Agent utilities for CodeFRAME.
22
3-
from codeframe.agents.lead_agent import LeadAgent
4-
from codeframe.agents.worker_agent import WorkerAgent
5-
from codeframe.agents.factory import AgentFactory
6-
from codeframe.agents.definition_loader import AgentDefinitionLoader, AgentDefinition
3+
The legacy multi-agent orchestration (LeadAgent/WorkerAgent/AgentFactory) was
4+
removed during the v1 cleanup. Only the dependency resolver remains, used by the
5+
live ``cf`` task-scheduling commands. Import it directly:
76
8-
__all__ = [
9-
"LeadAgent",
10-
"WorkerAgent",
11-
"AgentFactory",
12-
"AgentDefinitionLoader",
13-
"AgentDefinition",
14-
]
7+
from codeframe.agents.dependency_resolver import ...
8+
"""

0 commit comments

Comments
 (0)