Part of #197 - Planning Phase Automation
Scope
This issue covers the backend automation that triggers after PRD generation and the task approval flow.
Tasks
1. Planning Automation Trigger (~2h)
2. Task Approval Endpoint (~1.5h)
Acceptance Criteria
Dependencies
- Requires: 016-1 (PhaseManager class)
Blocks
Files
codeframe/ui/routers/discovery.py (modify)
codeframe/ui/routers/tasks.py (modify)
tests/ui/test_discovery_automation.py (new)
tests/ui/test_task_approval.py (new)
Effort
~3.5 hours
Part of #197 - Planning Phase Automation
Scope
This issue covers the backend automation that triggers after PRD generation and the task approval flow.
Tasks
1. Planning Automation Trigger (~2h)
codeframe/ui/routers/discovery.pyLeadAgent.generate_issues(sprint_number=1)LeadAgent.decompose_prd()planning_started- when automation beginsissues_generated- with count of issues createdtasks_decomposed- with count of tasks createdtasks_ready- when ready for user review2. Task Approval Endpoint (~1.5h)
POST /api/projects/:id/tasks/approvetotasks.py{ "approved": true, "excluded_task_ids": [] }development_startedeventAcceptance Criteria
Dependencies
Blocks
Files
codeframe/ui/routers/discovery.py(modify)codeframe/ui/routers/tasks.py(modify)tests/ui/test_discovery_automation.py(new)tests/ui/test_task_approval.py(new)Effort
~3.5 hours