AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. agent-core
  4. gh-553
  5. plan
  6. prd.json
prd.json(1.9 KB)ยท Apr 23, 2026
{
  "issueNumber": 553,
  "branchName": "rc/atlassian-integration",
  "generatedAt": "2026-04-23T17:12:28Z",
  "stories": [
    {
      "id": "S1",
      "title": "Bitbucket fixtures + adapter spec (verifySignature, all 7 events, bot-self, /agentsde, unsupported)",
      "priority": 1,
      "dependsOn": [],
      "acceptanceCriteria": [
        "7 realistic fixture JSONs exist under __fixtures__/bitbucket/",
        "bitbucket.adapter.spec.ts covers verifySignature good + bad secret + IP allowlist cases",
        "One it() per X-Event-Key asserts correct eventType/issueNumber/prNumber",
        "Bot-self comment returns { event: null } with reason mentioning AGENT_USERNAME",
        "/agentsde and legacy /agent directive detection covered on pullrequest:comment_created",
        "Unknown X-Event-Key returns { event: null, reason } without throwing",
        "npm run test passes for this spec; npm run lint reports zero warnings"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S2",
      "title": "Jira fixtures + adapter spec (HMAC verifySignature, all 5 events, bot-self, /agentsde, unsupported)",
      "priority": 2,
      "dependsOn": [],
      "acceptanceCriteria": [
        "5 realistic fixture JSONs exist under __fixtures__/jira/ including a changelog payload",
        "jira.adapter.spec.ts covers HMAC good signature, missing header, bad signature, tampered body",
        "One it() per webhookEvent asserts correct eventType",
        "jira:issue_updated spec inspects changelog for label transitions",
        "Bot-self comment_created returns { event: null } with reason mentioning AGENT_USERNAME",
        "/agentsde directive detection covered on comment_created",
        "Unknown webhookEvent returns { event: null, reason } without throwing",
        "npm run test passes for this spec; npm run lint reports zero warnings"
      ],
      "passes": false,
      "completedAt": null
    }
  ]
}
PlanAi-done