{
"issueNumber": 534,
"branchName": "feat/534-rebrand-agentsde-directives",
"generatedAt": "2026-04-16T12:00:00Z",
"stories": [
{
"id": "S1",
"title": "Update regex patterns in GitHubAdapter and PhaseRouterService to recognize /agentsde and /agent",
"priority": 1,
"dependsOn": [],
"acceptanceCriteria": [
"hasAgentDirective() matches both /agentsde and /agent at line start",
"extractDirectiveFromBody() extracts directive value from both prefixes",
"extractDirectiveValue() in PhaseRouterService parses both prefixes",
"handlePullRequestReviewComment() accepts /agentsde directives without @mention",
"Reason strings updated to reference /agentsde"
],
"passes": false,
"completedAt": null
},
{
"id": "S2",
"title": "Add discuss and fix-this directives to DTO, DirectiveService, and PhaseRouterService",
"priority": 2,
"dependsOn": [
"S1"
],
"acceptanceCriteria": [
"discuss and fix-this added to ALLOWED_DIRECTIVES in directive.dto.ts",
"DirectiveService.applyDirective() handles discuss and fix-this with GitHub feedback comments",
"VALID_DIRECTIVES in PhaseRouterService includes discuss and fix-this",
"PhaseRouterService.route() dispatches discuss and fix-this correctly"
],
"passes": false,
"completedAt": null
},
{
"id": "S3",
"title": "Update documentation: AGENTS.md, skill docs, and inline code comments",
"priority": 3,
"dependsOn": [
"S1"
],
"acceptanceCriteria": [
"AGENTS.md references /agentsde as primary with /agent as noted legacy fallback",
"Skill docs updated to /agentsde",
"Inline comments in internal-adapter.service.ts updated"
],
"passes": false,
"completedAt": null
},
{
"id": "S4",
"title": "Add and update unit tests for all changes",
"priority": 4,
"dependsOn": [
"S1",
"S2"
],
"acceptanceCriteria": [
"github.adapter.spec.ts covers /agentsde detection, /agent backward compat, PR review comment /agentsde directive",
"directive.service.spec.ts covers discuss and fix-this handlers",
"phase-router.service.spec.ts covers /agentsde extraction",
"npm run test passes",
"npm run lint passes with zero warnings"
],
"passes": false,
"completedAt": null
}
]
}