{
  "bugs": [
    {
      "id": "BUG-0001",
      "title": "BugTracker forgot which framework it lived in",
      "category": "existing-bug",
      "status": "fixed",
      "severity": "high",
      "area": "frontend",
      "component": "BugTracker",
      "filePath": "src/components/bugtracker/BugTracker.tsx",
      "summary": "BugTracker had TypeScript errors, incorrect MUI imports, and was acting like this was a Next.js app when it very much was not.",
      "rootCause": "Component was created with Next.js assumptions in a Vite React app. Identity crisis ensued.",
      "fixSummary": "Corrected imports, added proper typings, removed Next.js-only assumptions, created a dedicated bugs service, and ensured bugs.json is served correctly.",
      "testStatus": "missing",
      "createdAt": "2025-01-28T00:00:00.000Z",
      "updatedAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0002",
      "title": "BugTracker tried to fetch an API route that never existed",
      "category": "existing-bug",
      "status": "fixed",
      "severity": "medium",
      "area": "frontend",
      "component": "BugTracker",
      "filePath": "src/components/bugtracker/BugTracker.tsx",
      "summary": "BugTracker attempted to fetch /api/dev/bugs in a Vite app, where API routes go to die.",
      "rootCause": "Designed for Next.js API routes in a non-Next.js environment.",
      "fixSummary": "Implemented a proper service layer and switched to fetching a public bugs.json file copied during build.",
      "testStatus": "missing",
      "createdAt": "2025-01-28T00:00:00.000Z",
      "updatedAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0003",
      "title": "BugTracker has no tests (confidence-based development)",
      "category": "missing-test",
      "status": "fixed",
      "severity": "medium",
      "area": "tests",
      "component": "BugTracker",
      "filePath": "src/components/bugtracker/__tests__/BugTracker.test.tsx",
      "summary": "BugTracker shipped without tests, relying entirely on vibes and hope.",
      "rootCause": "Initial implementation prioritized features over verification.",
      "fixSummary": "Added tests covering loading state, bug rendering, Jira ticket creation, and error handling.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0004",
      "title": "Several components also believed testing was optional",
      "category": "missing-test",
      "status": "fixed",
      "severity": "medium",
      "area": "tests",
      "component": "Multiple",
      "filePath": "src/components/",
      "summary": "Multiple UI components existed without tests, quietly hoping no one would notice.",
      "rootCause": "Test scaffolding existed but coverage lagged behind component creation.",
      "fixSummary": "Added baseline render and interaction tests for all listed components.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0005",
      "title": "Services layer also skipped leg day (and tests)",
      "category": "missing-test",
      "status": "fixed",
      "severity": "medium",
      "area": "tests",
      "component": "Services",
      "filePath": "src/services/__tests__/",
      "summary": "Several core services had no test coverage, which is exciting but dangerous.",
      "rootCause": "Services were implemented faster than test coverage could keep up.",
      "fixSummary": "Added unit tests for all listed services, including failure and edge cases.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0006",
      "title": "useProjects hook trusted the network too much",
      "category": "missing-test",
      "status": "fixed",
      "severity": "medium",
      "area": "tests",
      "component": "useProjects",
      "filePath": "src/hooks/__tests__/useProjects.test.tsx",
      "summary": "useProjects had no tests and assumed the network would always behave.",
      "rootCause": "Hook was implemented without test coverage.",
      "fixSummary": "Added tests for loading, success, error, and cache invalidation scenarios.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0007",
      "title": "Placeholder pages multiplied quietly",
      "category": "potential-bug",
      "status": "fixed",
      "severity": "high",
      "area": "frontend",
      "component": "Pages",
      "filePath": "src/pages/",
      "summary": "Multiple pages were placeholders, confidently pretending to be finished.",
      "rootCause": "Pages were scaffolded early and deferred for later implementation.",
      "fixSummary": "Each placeholder page was either fully implemented or clearly marked as preview with proper empty states.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0009",
      "title": "No integration tests existed (the system just trusted itself)",
      "category": "missing-test",
      "status": "fixed",
      "severity": "medium",
      "area": "tests",
      "component": "Integration",
      "filePath": "src/__tests__/integration/",
      "summary": "There were no integration tests verifying that anything worked together.",
      "rootCause": "Integration testing was planned but not executed.",
      "fixSummary": "Added integration tests covering hooks + services, pages + hooks, and Jira integration flows.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0010",
      "title": "E2E tests asserted that true is true",
      "category": "missing-test",
      "status": "fixed",
      "severity": "low",
      "area": "tests",
      "component": "E2E",
      "filePath": "e2e/",
      "summary": "End-to-end tests only asserted expect(true).toBe(true), which was technically correct.",
      "rootCause": "E2E scaffolding was created without real scenarios.",
      "fixSummary": "Implemented real E2E flows covering login, board navigation, bug creation, and sync.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0018",
      "title": "Test imports pointed somewhere that did not exist",
      "category": "existing-bug",
      "status": "fixed",
      "severity": "medium",
      "area": "tests",
      "component": "Tests",
      "filePath": "src/components/**/__tests__/",
      "summary": "Test files imported utilities from paths that were optimistic at best.",
      "rootCause": "Incorrect relative paths after refactoring.",
      "fixSummary": "Corrected all test utility import paths and added path aliases where appropriate.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0019",
      "title": "Vitest globals assumed everyone just knew",
      "category": "existing-bug",
      "status": "fixed",
      "severity": "medium",
      "area": "tests",
      "component": "Tests",
      "filePath": "src/pages/__tests__/",
      "summary": "Tests used vi without importing it, assuming TypeScript would just understand.",
      "rootCause": "Vitest globals were enabled at runtime but not recognized by TypeScript.",
      "fixSummary": "Explicitly imported vi where needed and updated tsconfig types to include vitest.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    },
    {
      "id": "BUG-0020",
      "title": ".env.example did not exist (classic)",
      "category": "potential-bug",
      "status": "fixed",
      "severity": "low",
      "area": "ops",
      "component": "Configuration",
      "filePath": ".env.example",
      "summary": "Required environment variables were undocumented, leading to surprise failures.",
      "rootCause": "Environment documentation was deferred.",
      "fixSummary": "Added .env.example with all required and optional configuration variables.",
      "testStatus": "passing",
      "createdAt": "2025-01-28T00:00:00.000Z"
    }
  ]
}
