AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. agent-core
  4. gh-354
  5. plan
  6. prd.json
prd.json(1.3 KB)ยท Apr 8, 2026
{
  "issueNumber": 354,
  "branchName": "rc/multi-tenant",
  "generatedAt": "2026-04-08T12:00:00Z",
  "stories": [
    {
      "id": "S1",
      "title": "Inject TenantConfigService into WorktreeService and replace hardcoded origin/master with config-driven value",
      "priority": 1,
      "dependsOn": [],
      "acceptanceCriteria": [
        "TenantConfigService injected via constructor",
        "No hardcoded origin/master remaining in worktree.service.ts",
        "origin/${defaultBaseBranch} used in git worktree add -b call"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S2",
      "title": "Make default branchPrefix config-driven, update WorktreeModule imports, and update unit tests",
      "priority": 2,
      "dependsOn": [
        "S1"
      ],
      "acceptanceCriteria": [
        "Default branchPrefix reads from TenantConfigService.branchPrefix when caller does not pass explicit value",
        "Explicit caller-provided branchPrefix still takes precedence",
        "TenantModule imported in WorktreeModule",
        "Unit tests include TenantConfigService mock",
        "Test case with defaultBaseBranch='main' verifies origin/main is used",
        "tsc --noEmit passes",
        "npm run lint passes",
        "npm run test passes"
      ],
      "passes": false,
      "completedAt": null
    }
  ]
}
PlanPr description