AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. agent-core
  4. gh-439
  5. plan
  6. prd.json
prd.json(1.7 KB)ยท Apr 12, 2026
{
  "issueNumber": 439,
  "branchName": "feat/439-redis-bullmq",
  "generatedAt": "2026-04-12T12:00:00Z",
  "stories": [
    {
      "id": "S1",
      "title": "Install dependencies and add env vars to config schema and .env",
      "priority": 1,
      "dependsOn": [],
      "acceptanceCriteria": [
        "@nestjs/bullmq, bullmq, ioredis appear in package.json dependencies",
        "REDIS_HOST and REDIS_PORT in configValidationSchema with correct defaults",
        "REDIS_HOST and REDIS_PORT appended to .env"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S2",
      "title": "Register BullModule and queues in AppModule, add Redis health check to HealthModule",
      "priority": 2,
      "dependsOn": [
        "S1"
      ],
      "acceptanceCriteria": [
        "BullModule.forRootAsync() registered in AppModule with ConfigService-driven connection",
        "phase-invoke and phase-result queues registered via BullModule.registerQueue()",
        "HealthModule provides a Redis client via custom factory",
        "HealthService.getHealth() returns redis: connected|disconnected",
        "HealthController return type includes redis field"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S3",
      "title": "Add and update unit tests for health service and controller",
      "priority": 3,
      "dependsOn": [
        "S2"
      ],
      "acceptanceCriteria": [
        "health.service.spec.ts covers connected and disconnected Redis states",
        "health.controller.spec.ts updated for new response shape",
        "npm run build passes",
        "npm run test passes with no regressions",
        "npm run lint reports zero warnings"
      ],
      "passes": false,
      "completedAt": null
    }
  ]
}
PlanPr description