AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. agent-core
  4. gh-242
  5. plan
  6. prd.json
prd.json(1.5 KB)ยท Apr 2, 2026
{
  "issueNumber": 242,
  "branchName": "fix/242-persistent-block-gated-status",
  "generatedAt": "2026-04-02T12:00:00Z",
  "stories": [
    {
      "id": "S1",
      "title": "Update handlePersistentBlock to set status=gated and pass gated to onPhaseBlocked hook",
      "priority": 1,
      "dependsOn": [],
      "acceptanceCriteria": [
        "handlePersistentBlock sets status: 'gated' instead of status: 'blocked'",
        "onPhaseBlocked call in handlePersistentBlock passes 'gated' as the fourth argument"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S2",
      "title": "Add gated to TaskStatus type and update onPhaseBlocked early-return guard",
      "priority": 2,
      "dependsOn": [
        "S1"
      ],
      "acceptanceCriteria": [
        "TaskStatus union type includes 'gated'",
        "onPhaseBlocked suppresses label/comment for category=gated on refine/review phases"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S3",
      "title": "Update unit tests for persistent-block and hook gated-category behavior",
      "priority": 3,
      "dependsOn": [
        "S1",
        "S2"
      ],
      "acceptanceCriteria": [
        "internal-adapter.service.spec.ts tests expect gated status in persistent-block scenarios",
        "phase-hooks.service.spec.ts covers gated category early-return",
        "npm run test passes",
        "npm run lint passes"
      ],
      "passes": false,
      "completedAt": null
    }
  ]
}
PlanPr description