{
  "repositoryName": "achieveradarsh/schedula-app-model",
  "overallScore": 68,
  "scanDate": "2026-07-30T16:32:34.457Z",
  "totalTests": 5,
  "summary": {
    "passed": 1,
    "warnings": 3,
    "failed": 1,
    "errors": 0
  },
  "repositoryDna": {
    "stack": [
      "Next.js",
      "React",
      "Tailwind CSS",
      "TypeScript"
    ],
    "personality": "Frontend Focused",
    "traits": [
      {
        "label": "Security",
        "value": "Emerging",
        "score": 58
      },
      {
        "label": "Maintainability",
        "value": "High",
        "score": 86
      },
      {
        "label": "Modularity",
        "value": "Strong",
        "score": 82
      },
      {
        "label": "Testing",
        "value": "Weak",
        "score": 42
      },
      {
        "label": "Documentation",
        "value": "Medium",
        "score": 70
      },
      {
        "label": "Deployment",
        "value": "Manual",
        "score": 48
      },
      {
        "label": "Data Layer",
        "value": "Not Detected",
        "score": 45
      }
    ],
    "architectureNodes": [
      {
        "id": "__root__",
        "label": "github-achieveradarsh-schedula-app-model-main-409f78b6",
        "kind": "directory",
        "detail": "Repository heart: entry point for the digital twin",
        "purpose": "System center of gravity for architecture exploration",
        "layer": "Core",
        "importance": 100,
        "imports": 0,
        "exports": 0,
        "complexity": 50,
        "riskSignals": [],
        "documentation": "Medium"
      },
      {
        "id": "app",
        "label": "app",
        "kind": "directory",
        "parentId": "__root__",
        "detail": "Application routes and user-facing workflows",
        "purpose": "Application routes and user-facing workflows",
        "layer": "Interface",
        "importance": 86,
        "imports": 0,
        "exports": 0,
        "complexity": 100,
        "riskSignals": [],
        "documentation": "Medium"
      },
      {
        "id": "app/api",
        "label": "api",
        "kind": "directory",
        "parentId": "app",
        "detail": "Backend endpoints and request handlers",
        "purpose": "Backend endpoints and request handlers",
        "layer": "Service",
        "importance": 98,
        "imports": 0,
        "exports": 0,
        "complexity": 34,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/api/medical-history",
        "label": "medical-history",
        "kind": "directory",
        "parentId": "app/api",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/api/medical-history/[patientId]",
        "label": "[patientId]",
        "kind": "directory",
        "parentId": "app/api/medical-history",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/api/reviews",
        "label": "reviews",
        "kind": "directory",
        "parentId": "app/api",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 34,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/api/reviews/stats",
        "label": "stats",
        "kind": "directory",
        "parentId": "app/api/reviews",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/api/reviews/route.ts",
        "label": "route.ts",
        "kind": "file",
        "parentId": "app/api/reviews",
        "detail": "Application logic",
        "purpose": "Application logic",
        "layer": "Artifact",
        "importance": 39,
        "imports": 1,
        "exports": 4,
        "complexity": 64,
        "riskSignals": [],
        "documentation": "Medium"
      },
      {
        "id": "app/appointment-success",
        "label": "appointment-success",
        "kind": "directory",
        "parentId": "app",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 34,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/appointment-success/loading.tsx",
        "label": "loading.tsx",
        "kind": "file",
        "parentId": "app/appointment-success",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 35,
        "imports": 0,
        "exports": 1,
        "complexity": 13,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/appointment-success/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/appointment-success",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 43,
        "imports": 8,
        "exports": 1,
        "complexity": 47,
        "riskSignals": [],
        "documentation": "Medium"
      },
      {
        "id": "app/appointments",
        "label": "appointments",
        "kind": "directory",
        "parentId": "app",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 41,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/appointments/[id]",
        "label": "[id]",
        "kind": "directory",
        "parentId": "app/appointments",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/appointments/[id]/review",
        "label": "review",
        "kind": "directory",
        "parentId": "app/appointments/[id]",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/appointments/loading.tsx",
        "label": "loading.tsx",
        "kind": "file",
        "parentId": "app/appointments",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 35,
        "imports": 0,
        "exports": 1,
        "complexity": 13,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/appointments/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/appointments",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 54,
        "imports": 13,
        "exports": 1,
        "complexity": 83,
        "riskSignals": [
          "Auth surface",
          "Data access surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "app/doctor",
        "label": "doctor",
        "kind": "directory",
        "parentId": "app",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 69,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/calendar",
        "label": "calendar",
        "kind": "directory",
        "parentId": "app/doctor",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 34,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/calendar/loading.tsx",
        "label": "loading.tsx",
        "kind": "file",
        "parentId": "app/doctor/calendar",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 36,
        "imports": 1,
        "exports": 1,
        "complexity": 17,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/calendar/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/doctor/calendar",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 54,
        "imports": 21,
        "exports": 1,
        "complexity": 100,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "app/doctor/consultations",
        "label": "consultations",
        "kind": "directory",
        "parentId": "app/doctor",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 34,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/consultations/loading.tsx",
        "label": "loading.tsx",
        "kind": "file",
        "parentId": "app/doctor/consultations",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 36,
        "imports": 1,
        "exports": 1,
        "complexity": 17,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/consultations/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/doctor/consultations",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 54,
        "imports": 12,
        "exports": 1,
        "complexity": 67,
        "riskSignals": [
          "Auth surface",
          "Data access surface"
        ],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/dashboard",
        "label": "dashboard",
        "kind": "directory",
        "parentId": "app/doctor",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/dashboard/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/doctor/dashboard",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 51,
        "imports": 11,
        "exports": 1,
        "complexity": 67,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "app/doctor/patients",
        "label": "patients",
        "kind": "directory",
        "parentId": "app/doctor",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 41,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/patients/[id]",
        "label": "[id]",
        "kind": "directory",
        "parentId": "app/doctor/patients",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/patients/loading.tsx",
        "label": "loading.tsx",
        "kind": "file",
        "parentId": "app/doctor/patients",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 36,
        "imports": 1,
        "exports": 1,
        "complexity": 17,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/patients/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/doctor/patients",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 54,
        "imports": 11,
        "exports": 1,
        "complexity": 65,
        "riskSignals": [
          "Auth surface",
          "Data access surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "app/doctor/prescriptions",
        "label": "prescriptions",
        "kind": "directory",
        "parentId": "app/doctor",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 41,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/prescriptions/[id]",
        "label": "[id]",
        "kind": "directory",
        "parentId": "app/doctor/prescriptions",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 34,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/prescriptions/create",
        "label": "create",
        "kind": "directory",
        "parentId": "app/doctor/prescriptions",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/prescriptions/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/doctor/prescriptions",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 54,
        "imports": 14,
        "exports": 1,
        "complexity": 100,
        "riskSignals": [
          "Auth surface",
          "Data access surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "app/doctor/profile",
        "label": "profile",
        "kind": "directory",
        "parentId": "app/doctor",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 34,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/profile/loading.tsx",
        "label": "loading.tsx",
        "kind": "file",
        "parentId": "app/doctor/profile",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 36,
        "imports": 1,
        "exports": 1,
        "complexity": 17,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/profile/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/doctor/profile",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 50,
        "imports": 10,
        "exports": 1,
        "complexity": 57,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "app/doctor/reviews",
        "label": "reviews",
        "kind": "directory",
        "parentId": "app/doctor",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctor/reviews/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/doctor/reviews",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 53,
        "imports": 13,
        "exports": 1,
        "complexity": 87,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Weak"
      },
      {
        "id": "app/doctors",
        "label": "doctors",
        "kind": "directory",
        "parentId": "app",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 41,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctors/[id]",
        "label": "[id]",
        "kind": "directory",
        "parentId": "app/doctors",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 34,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctors/[id]/book",
        "label": "book",
        "kind": "directory",
        "parentId": "app/doctors/[id]",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctors/[id]/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/doctors/[id]",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 44,
        "imports": 9,
        "exports": 1,
        "complexity": 59,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctors/loading.tsx",
        "label": "loading.tsx",
        "kind": "file",
        "parentId": "app/doctors",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 35,
        "imports": 0,
        "exports": 1,
        "complexity": 13,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/doctors/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/doctors",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 50,
        "imports": 10,
        "exports": 1,
        "complexity": 63,
        "riskSignals": [
          "Data access surface"
        ],
        "documentation": "Weak"
      },
      {
        "id": "app/otp",
        "label": "otp",
        "kind": "directory",
        "parentId": "app",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/otp/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/otp",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 51,
        "imports": 11,
        "exports": 1,
        "complexity": 75,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "app/profile",
        "label": "profile",
        "kind": "directory",
        "parentId": "app",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/profile/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/profile",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 50,
        "imports": 10,
        "exports": 1,
        "complexity": 57,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "app/records",
        "label": "records",
        "kind": "directory",
        "parentId": "app",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 41,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/records/prescription",
        "label": "prescription",
        "kind": "directory",
        "parentId": "app/records",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/records/prescription/[id]",
        "label": "[id]",
        "kind": "directory",
        "parentId": "app/records/prescription",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/records/loading.tsx",
        "label": "loading.tsx",
        "kind": "file",
        "parentId": "app/records",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 35,
        "imports": 0,
        "exports": 1,
        "complexity": 13,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/records/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/records",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 54,
        "imports": 10,
        "exports": 1,
        "complexity": 100,
        "riskSignals": [
          "Auth surface",
          "Data access surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "app/signup",
        "label": "signup",
        "kind": "directory",
        "parentId": "app",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 27,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/signup/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app/signup",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 52,
        "imports": 12,
        "exports": 1,
        "complexity": 67,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Weak"
      },
      {
        "id": "app/globals.css",
        "label": "globals.css",
        "kind": "file",
        "parentId": "app",
        "detail": "2 KB source artifact",
        "purpose": "2 KB source artifact",
        "layer": "Artifact",
        "importance": 34,
        "imports": 0,
        "exports": 0,
        "complexity": 12,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/layout.tsx",
        "label": "layout.tsx",
        "kind": "file",
        "parentId": "app",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 41,
        "imports": 5,
        "exports": 2,
        "complexity": 36,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "app/page.tsx",
        "label": "page.tsx",
        "kind": "file",
        "parentId": "app",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 52,
        "imports": 12,
        "exports": 1,
        "complexity": 73,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "components",
        "label": "components",
        "kind": "directory",
        "parentId": "__root__",
        "detail": "Reusable interface building blocks",
        "purpose": "Reusable interface building blocks",
        "layer": "Interface",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 76,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui",
        "label": "ui",
        "kind": "directory",
        "parentId": "components",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Interface",
        "importance": 63,
        "imports": 0,
        "exports": 0,
        "complexity": 100,
        "riskSignals": [
          "Large module surface"
        ],
        "documentation": "Medium"
      },
      {
        "id": "components/ui/accordion.tsx",
        "label": "accordion.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 39,
        "imports": 4,
        "exports": 1,
        "complexity": 29,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/alert-dialog.tsx",
        "label": "alert-dialog.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 39,
        "imports": 4,
        "exports": 1,
        "complexity": 29,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/alert.tsx",
        "label": "alert.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 43,
        "imports": 3,
        "exports": 1,
        "complexity": 25,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/aspect-ratio.tsx",
        "label": "aspect-ratio.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Automation",
        "importance": 36,
        "imports": 1,
        "exports": 1,
        "complexity": 17,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/avatar.tsx",
        "label": "avatar.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 38,
        "imports": 3,
        "exports": 1,
        "complexity": 25,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/badge.tsx",
        "label": "badge.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 44,
        "imports": 3,
        "exports": 2,
        "complexity": 28,
        "riskSignals": [
          "Auth surface"
        ],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/breadcrumb.tsx",
        "label": "breadcrumb.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 39,
        "imports": 4,
        "exports": 1,
        "complexity": 29,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/Button.tsx",
        "label": "Button.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 39,
        "imports": 4,
        "exports": 1,
        "complexity": 29,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/calendar.tsx",
        "label": "calendar.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 40,
        "imports": 5,
        "exports": 1,
        "complexity": 39,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/Card.tsx",
        "label": "Card.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 38,
        "imports": 3,
        "exports": 1,
        "complexity": 25,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/carousel.tsx",
        "label": "carousel.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 40,
        "imports": 5,
        "exports": 1,
        "complexity": 45,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/ui/chart.tsx",
        "label": "chart.tsx",
        "kind": "file",
        "parentId": "components/ui",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 39,
        "imports": 3,
        "exports": 2,
        "complexity": 48,
        "riskSignals": [],
        "documentation": "Medium"
      },
      {
        "id": "components/BookingProgress.tsx",
        "label": "BookingProgress.tsx",
        "kind": "file",
        "parentId": "components",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 38,
        "imports": 3,
        "exports": 1,
        "complexity": 25,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/CancelReasonModal.tsx",
        "label": "CancelReasonModal.tsx",
        "kind": "file",
        "parentId": "components",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 41,
        "imports": 6,
        "exports": 1,
        "complexity": 41,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/LoadingProgress.tsx",
        "label": "LoadingProgress.tsx",
        "kind": "file",
        "parentId": "components",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 39,
        "imports": 4,
        "exports": 1,
        "complexity": 31,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/PaymentInvoice.tsx",
        "label": "PaymentInvoice.tsx",
        "kind": "file",
        "parentId": "components",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 41,
        "imports": 6,
        "exports": 1,
        "complexity": 37,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "components/PaymentProcessing.tsx",
        "label": "PaymentProcessing.tsx",
        "kind": "file",
        "parentId": "components",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 40,
        "imports": 5,
        "exports": 1,
        "complexity": 39,
        "riskSignals": [],
        "documentation": "Medium"
      },
      {
        "id": "components/RescheduleModal.tsx",
        "label": "RescheduleModal.tsx",
        "kind": "file",
        "parentId": "components",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 42,
        "imports": 7,
        "exports": 1,
        "complexity": 53,
        "riskSignals": [],
        "documentation": "Medium"
      },
      {
        "id": "components/theme-provider.tsx",
        "label": "theme-provider.tsx",
        "kind": "file",
        "parentId": "components",
        "detail": "Interactive UI or route implementation",
        "purpose": "Interactive UI or route implementation",
        "layer": "Interface",
        "importance": 37,
        "imports": 2,
        "exports": 1,
        "complexity": 21,
        "riskSignals": [],
        "documentation": "Weak"
      },
      {
        "id": "hooks",
        "label": "hooks",
        "kind": "directory",
        "parentId": "__root__",
        "detail": "Repository module",
        "purpose": "Repository module",
        "layer": "Artifact",
        "importance": 58,
        "imports": 0,
        "exports": 0,
        "complexity": 34,
        "riskSignals": [],
        "documentation": "Weak"
      }
    ]
  },
  "results": [
    {
      "testSuiteId": "repository-architecture",
      "status": "PASS",
      "message": "Architecture scan found organized repository structure and no obvious layer violations.",
      "details": {
        "topLevelDirs": [
          "app",
          "components",
          "hooks",
          "lib",
          "public",
          "services",
          "store",
          "styles",
          "types"
        ],
        "cleanArchitectureSignals": [],
        "dddSignals": [],
        "microserviceSignals": [],
        "layerViolations": [],
        "scannedFiles": 103
      },
      "executionTime": 13,
      "testName": "Suite 14 - Repository Architecture",
      "sectionName": "Architecture"
    },
    {
      "testSuiteId": "frontend-security",
      "status": "FAIL",
      "message": "Frontend scan found exposed env, public secret, or dangerous DOM API risks.",
      "severity": "high",
      "details": {
        "scannedFiles": 95,
        "envFiles": [],
        "exposedEnvFiles": [],
        "publicSecretNames": 0,
        "backendUrls": 0,
        "debugEndpoints": 0,
        "dangerousDomApis": 1,
        "hasCsp": false,
        "sourceMapsEnabled": false
      },
      "executionTime": 10,
      "testName": "Suite 15 - Frontend Security",
      "sectionName": "Architecture"
    },
    {
      "testSuiteId": "backend-security",
      "status": "WARN",
      "message": "Backend scan found missing or undiscovered security controls.",
      "severity": "medium",
      "details": {
        "hasMiddleware": false,
        "hasValidation": true,
        "hasAuthentication": false,
        "hasAuthorization": false,
        "hasLogging": true,
        "hasRateLimiting": false,
        "hasExceptionHandling": true,
        "scannedFiles": 5,
        "missing": [
          "hasMiddleware",
          "hasAuthentication",
          "hasAuthorization",
          "hasRateLimiting"
        ]
      },
      "executionTime": 4,
      "testName": "Suite 16 - Backend Security",
      "sectionName": "Architecture"
    },
    {
      "testSuiteId": "data-layer",
      "status": "WARN",
      "message": "Data layer scan found missing ORM, pooling, or encryption signals.",
      "severity": "medium",
      "details": {
        "hasOrm": false,
        "rawSqlConstruction": 0,
        "hasPooling": false,
        "hasEncryption": true,
        "databaseExposure": 0,
        "scannedFiles": 105
      },
      "executionTime": 12,
      "testName": "Suite 17 - Data Layer",
      "sectionName": "Architecture"
    },
    {
      "testSuiteId": "cloud-architecture",
      "status": "WARN",
      "message": "No AWS, Azure, or GCP architecture artifacts were found.",
      "severity": "low",
      "executionTime": 2,
      "testName": "Suite 18 - Cloud Architecture",
      "sectionName": "Architecture"
    }
  ]
}