{
"issueNumber": 557,
"branchName": "feat/557-bitbucket-e2e-module",
"generatedAt": "2026-04-23T17:15:00Z",
"stories": [
{
"id": "S1",
"title": "Scaffold bitbucket E2E module (directory, npm script, docs)",
"priority": 1,
"dependsOn": [],
"acceptanceCriteria": [
"test/bitbucket/ directory exists",
"package.json has test:module:bitbucket script invoking MODULE=bitbucket jest --config jest.module.config.js",
"TEST_MODULES.md Modules table lists bitbucket; path-filter mapping includes src/webhook/bitbucket/** → bitbucket"
],
"passes": false,
"completedAt": null
},
{
"id": "S2",
"title": "Implement bitbucket happy-path spec against mock server",
"priority": 2,
"dependsOn": [
"S1"
],
"acceptanceCriteria": [
"Scenario tagged @integration @bitbucket in describe block",
"Uses mock request log assertions for the full agent-core round-trip (comment, PR create, merge)",
"Both pullrequest:created and pullrequest:fulfilled deliveries succeed in WebhookDeliveryEntity",
"Final task state asserted as completed/closed",
"MODULE=bitbucket npm run test:module passes against testing (port 8777)"
],
"passes": false,
"completedAt": null
}
]
}