AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. agent-core-control-center
  4. gh-70
  5. plan
  6. plan.md
plan.md(1.9 KB)· Apr 14, 2026· 1 min read
  • Summary
  • Files
  • Steps
  • Verification
  • Risks

Plan: Remove execute phase and reorder deliver before review#

Summary#

Remove all references to the deprecated execute pipeline phase and fix phase ordering so deliver comes before review across all UI components, type definitions, and constants in the control center.

Files#

FileActionDescription
app/pipeline/page.tsxmodifyRemove execute from KANBAN_PHASES array and tasksByPhase init; reorder deliver before review
app/config/page.tsxmodifyRemove execute from SKILL_KEYS array; reorder deliver before review
lib/api/tasks.tsmodifyRemove phaseExecute field from Task interface; reorder phaseDeliver before phaseReview
app/pipeline/[taskId]/page.tsxmodifyRemove execute entry from PHASE_FIELDS; reorder deliver before review in PHASE_FIELDS and the hardcoded dropdown (line ~185)

Steps#

  1. S1: Update phase arrays and constants — Remove execute from KANBAN_PHASES in app/pipeline/page.tsx, SKILL_KEYS in app/config/page.tsx, and PHASE_FIELDS + dropdown in app/pipeline/[taskId]/page.tsx. Reorder all to: refine, plan, deliver, review, compound.
  2. S2: Update Task interface and data structures — Remove phaseExecute from Task interface in lib/api/tasks.ts. Remove execute key from tasksByPhase object init in app/pipeline/page.tsx. Reorder field declarations so phaseDeliver precedes phaseReview.

Verification#

  • npm run lint passes with zero warnings
  • npm run build compiles successfully
  • Grep for execute in phase-related contexts returns zero hits

Risks#

  • phaseExecute in the Task interface mirrors the backend API response shape. If agent-core still sends this field, removing it is safe (TS will ignore extra props), but any code reading task.phaseExecute will break at compile time — the build step will catch this.
ContextPrd