AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. agent-core
  4. gh-501
  5. plan
  6. prd.json
prd.json(1.6 KB)· Apr 14, 2026
{
  "issueNumber": 501,
  "branchName": "feat/501-remove-execute-phase",
  "generatedAt": "2026-04-14T12:00:00Z",
  "stories": [
    {
      "id": "S1",
      "title": "Remove phaseExecute from production code (entity, DTOs, task-state service)",
      "priority": 1,
      "dependsOn": [],
      "acceptanceCriteria": [
        "phaseExecute column removed from TaskEntity",
        "phaseExecute removed from createTask() defaults",
        "execute removed from PHASES in phase-override.dto.ts and status-override.dto.ts",
        "DTO PHASES arrays ordered as [refine, plan, deliver, review, compound]"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S2",
      "title": "Update all test files to replace execute phase references with valid phases",
      "priority": 2,
      "dependsOn": [
        "S1"
      ],
      "acceptanceCriteria": [
        "No test file references execute as a pipeline phase",
        "All phaseExecute property references removed from test fixtures",
        "Event types like execute_completed replaced with deliver_completed",
        "npm run test passes with zero failures"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S3",
      "title": "Run lint and full test suite to verify clean codebase",
      "priority": 3,
      "dependsOn": [
        "S2"
      ],
      "acceptanceCriteria": [
        "npm run lint passes with zero warnings",
        "npm run test passes with zero failures",
        "grep confirms no remaining execute phase references in src/"
      ],
      "passes": false,
      "completedAt": null
    }
  ]
}
PlanPr description