{
"meta": {
"agent": "planner",
"task_id": "70",
"title": "Remove execute phase and reorder deliver before review",
"created_at": "2026-04-14T12:00:00Z"
},
"inputs": [
{
"name": "GitHub issue #70",
"type": "context",
"ref": "AgentSDE/agent-core-control-center#70",
"notes": "Remove execute phase, reorder deliver before review"
},
{
"name": "Codebase audit",
"type": "context",
"ref": "agent explore",
"notes": "6 locations across 4 files contain stale execute refs or wrong ordering"
}
],
"outputs": [
{
"name": "plan.md",
"type": "plan",
"format": "md",
"content": "Implementation plan for phase cleanup"
}
],
"files": [
{
"path": "app/pipeline/page.tsx",
"action": "modify",
"reason": "Remove execute from KANBAN_PHASES and tasksByPhase; reorder deliver before review"
},
{
"path": "app/config/page.tsx",
"action": "modify",
"reason": "Remove execute from SKILL_KEYS; reorder deliver before review"
},
{
"path": "lib/api/tasks.ts",
"action": "modify",
"reason": "Remove phaseExecute from Task interface; reorder phaseDeliver before phaseReview"
},
{
"path": "app/pipeline/[taskId]/page.tsx",
"action": "modify",
"reason": "Remove execute from PHASE_FIELDS and dropdown; reorder deliver before review"
}
],
"steps": [
{
"id": "S1",
"summary": "Update phase arrays and constants in UI components",
"acceptance": [
"KANBAN_PHASES in app/pipeline/page.tsx is [refine, plan, deliver, review, compound]",
"SKILL_KEYS in app/config/page.tsx has no execute entry and deliver precedes review",
"PHASE_FIELDS in app/pipeline/[taskId]/page.tsx has no execute entry and deliver precedes review",
"Hardcoded phase dropdown in app/pipeline/[taskId]/page.tsx has no execute and correct order"
],
"depends_on": []
},
{
"id": "S2",
"summary": "Update Task interface and data structures",
"acceptance": [
"Task interface in lib/api/tasks.ts has no phaseExecute field",
"tasksByPhase init in app/pipeline/page.tsx has no execute key",
"phaseDeliver field appears before phaseReview in Task interface",
"npm run lint passes",
"npm run build compiles successfully"
],
"depends_on": [
"S1"
]
}
],
"risks": [
{
"risk": "phaseExecute removal may break if backend still sends it",
"mitigation": "TS ignores extra API response fields; build step catches any compile errors referencing removed field"
}
],
"assumptions": [
"No persistent phase state in this frontend repo requires migration",
"The backend API may still return phaseExecute but no frontend code reads it beyond the interface definition"
],
"open_questions": []
}