AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. meridian-frontend
  4. gh-13
  5. plan
  6. prd.json
prd.json(1.3 KB)· Apr 2, 2026
{
  "issueNumber": 13,
  "branchName": "fix/13-sidebar-org-env-tests",
  "generatedAt": "2026-04-02T12:00:00Z",
  "stories": [
    {
      "id": "S1",
      "title": "Set up Vitest test infrastructure — install deps, create config, update test script",
      "priority": 1,
      "dependsOn": [],
      "acceptanceCriteria": [
        "vitest is installed as a devDependency",
        "vitest.config.ts resolves @/ path alias to src/",
        "npm run test executes vitest (not the placeholder echo)"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S2",
      "title": "Write unit tests for buildOrgViewItems, buildEnvViewItems, and findNodeAtPath",
      "priority": 2,
      "dependsOn": [
        "S1"
      ],
      "acceptanceCriteria": [
        "Tests cover multi-issue scanning with deduplication by org/repo name",
        "Tests cover run merging across issue directories under the same repo node",
        "Tests cover env grouping under e2e and production with child merging",
        "Tests cover zero issue-N directories returning empty array",
        "Tests cover missing tasks/ directory inside an issue-N being silently skipped",
        "All tests pass via npm run test"
      ],
      "passes": false,
      "completedAt": null
    }
  ]
}
PlanPr description