{
  "schema_version": "1.0.0",
  "scanner": {
    "name": "global-capability-catalog",
    "version": "0.1.0"
  },
  "repo": {
    "id": "github-recent__mbarbine__platphorm-opendocs",
    "name": "mbarbine__platphorm-opendocs",
    "path": "/Users/bwm.barbinewarnermichael/Documents/github/repositories/github-recent/mbarbine__platphorm-opendocs",
    "relative_path": "github-recent/mbarbine__platphorm-opendocs",
    "remote_url": "git@github.com:mbarbine/platphorm-opendocs.git",
    "default_branch": "main",
    "current_commit": "47a12744470e05352d983275c1a211b0535960e2"
  },
  "languages": [
    {
      "language": "TypeScript",
      "files": 232,
      "bytes": 1398314
    },
    {
      "language": "YAML",
      "files": 3,
      "bytes": 328010
    },
    {
      "language": "Markdown",
      "files": 20,
      "bytes": 158757
    },
    {
      "language": "JSON",
      "files": 16,
      "bytes": 79076
    },
    {
      "language": "CSS",
      "files": 2,
      "bytes": 11398
    },
    {
      "language": "SQL",
      "files": 1,
      "bytes": 6500
    },
    {
      "language": "JavaScript",
      "files": 11,
      "bytes": 6240
    },
    {
      "language": "Dockerfile",
      "files": 1,
      "bytes": 1082
    }
  ],
  "frameworks": [
    {
      "name": "MCP SDK",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    },
    {
      "name": "Next.js",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    },
    {
      "name": "Playwright",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    },
    {
      "name": "React",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    },
    {
      "name": "Tailwind CSS",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    },
    {
      "name": "Vitest",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    }
  ],
  "packages": {
    "package_manager": "pnpm",
    "manifests": [
      {
        "path": "package.json",
        "name": "OpenDocs",
        "version": "0.1.0",
        "scripts": {
          "dev": "next dev",
          "build": "next build",
          "start": "next start",
          "lint": "eslint .",
          "test": "vitest run",
          "test:unit": "vitest run __tests__/unit",
          "test:integration": "vitest run __tests__/integration",
          "test:mcp": "vitest run __tests__/integration/mcp",
          "test:coverage": "vitest run --coverage",
          "test:watch": "vitest"
        },
        "dependencies": {
          "@hookform/resolvers": "^3.10.0",
          "@modelcontextprotocol/sdk": "^1.27.1",
          "@neondatabase/serverless": "^1.0.2",
          "@radix-ui/react-accordion": "1.2.12",
          "@radix-ui/react-alert-dialog": "1.1.15",
          "@radix-ui/react-aspect-ratio": "1.1.8",
          "@radix-ui/react-avatar": "1.1.11",
          "@radix-ui/react-checkbox": "1.3.3",
          "@radix-ui/react-collapsible": "1.1.12",
          "@radix-ui/react-context-menu": "2.2.16",
          "@radix-ui/react-dialog": "1.1.15",
          "@radix-ui/react-dropdown-menu": "2.1.16",
          "@radix-ui/react-hover-card": "1.1.15",
          "@radix-ui/react-label": "2.1.8",
          "@radix-ui/react-menubar": "1.1.16",
          "@radix-ui/react-navigation-menu": "1.2.14",
          "@radix-ui/react-popover": "1.1.15",
          "@radix-ui/react-progress": "1.1.8",
          "@radix-ui/react-radio-group": "1.3.8",
          "@radix-ui/react-scroll-area": "1.2.10",
          "@radix-ui/react-select": "2.2.6",
          "@radix-ui/react-separator": "1.1.8",
          "@radix-ui/react-slider": "1.3.6",
          "@radix-ui/react-slot": "1.2.4",
          "@radix-ui/react-switch": "1.2.6",
          "@radix-ui/react-tabs": "1.1.13",
          "@radix-ui/react-toast": "1.2.15",
          "@radix-ui/react-toggle": "1.1.10",
          "@radix-ui/react-toggle-group": "1.1.11",
          "@radix-ui/react-tooltip": "1.2.8",
          "@types/dompurify": "^3.2.0",
          "@vercel/analytics": "1.6.1",
          "@vercel/mcp-adapter": "^0.3.2",
          "@vercel/og": "^0.11.1",
          "@vercel/speed-insights": "^1.3.1",
          "autoprefixer": "^10.4.27",
          "botid": "^1.5.11",
          "class-variance-authority": "^0.7.1",
          "clsx": "^2.1.1",
          "cmdk": "1.1.1",
          "date-fns": "4.1.0",
          "dompurify": "^3.3.3",
          "embla-carousel-react": "8.6.0",
          "html-react-parser": "^5.2.17",
          "input-otp": "1.4.2",
          "ipaddr.js": "^2.3.0",
          "isomorphic-dompurify": "^3.5.1",
          "lucide-react": "^0.577.0",
          "next": "16.1.6",
          "next-themes": "^0.4.6",
          "react": "19.2.4",
          "react-day-picker": "^9.14.0",
          "react-dom": "19.2.4",
          "react-hook-form": "^7.71.2",
          "react-resizable-panels": "^2.1.9",
          "recharts": "2.15.0",
          "sonner": "^2.0.7",
          "swr": "^2.4.1",
          "tailwind-merge": "^3.5.0",
          "uuid": "^13.0.0",
          "vaul": "^1.1.2",
          "youtube-dl-exec": "^3.1.4",
          "zod": "^3.25.76"
        },
        "dev_dependencies": {
          "@playwright/test": "^1.58.2",
          "@tailwindcss/postcss": "^4.2.1",
          "@testing-library/jest-dom": "^6.9.1",
          "@testing-library/react": "^16.3.2",
          "@types/node": "^22.19.15",
          "@types/react": "19.2.14",
          "@types/react-dom": "19.2.3",
          "@vitejs/plugin-react": "^5.1.4",
          "eslint": "^9.39.4",
          "eslint-config-next": "^16.1.6",
          "jsdom": "^28.1.0",
          "playwright": "^1.58.2",
          "postcss": "^8.5.8",
          "tailwindcss": "^4.2.1",
          "ts-node": "^10.9.2",
          "tw-animate-css": "^1.4.0",
          "typescript": "5.9.3",
          "vitest": "^4.0.18"
        }
      }
    ]
  },
  "routes": {
    "api_routes": [
      {
        "route": "/[...path]",
        "source_path": "app/api/[...path]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/capabilities",
        "source_path": "app/api/capabilities/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/cron/categories",
        "source_path": "app/api/cron/categories/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/docs",
        "source_path": "app/api/docs/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/health",
        "source_path": "app/api/health/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/mcp/register",
        "source_path": "app/api/mcp/register/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/mcp",
        "source_path": "app/api/mcp/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/og",
        "source_path": "app/api/og/route.tsx",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/session",
        "source_path": "app/api/session/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/automation",
        "source_path": "app/api/v1/automation/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/capabilities",
        "source_path": "app/api/v1/capabilities/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/categories",
        "source_path": "app/api/v1/categories/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/clip/[id]/metadata/regenerate",
        "source_path": "app/api/v1/clip/[id]/metadata/regenerate/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/clip/[id]",
        "source_path": "app/api/v1/clip/[id]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/clip/[id]/tags",
        "source_path": "app/api/v1/clip/[id]/tags/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/clip/commit",
        "source_path": "app/api/v1/clip/commit/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/clip/dropbox",
        "source_path": "app/api/v1/clip/dropbox/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/clip/google-drive",
        "source_path": "app/api/v1/clip/google-drive/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/clip/image",
        "source_path": "app/api/v1/clip/image/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/clip/paste",
        "source_path": "app/api/v1/clip/paste/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/clip/platform-post",
        "source_path": "app/api/v1/clip/platform-post/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/clip/preview",
        "source_path": "app/api/v1/clip/preview/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/clip/reddit",
        "source_path": "app/api/v1/clip/reddit/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/discover",
        "source_path": "app/api/v1/discover/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/docs/[slug]",
        "source_path": "app/api/v1/docs/[slug]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/docs",
        "source_path": "app/api/v1/docs/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/documents/[slug]",
        "source_path": "app/api/v1/documents/[slug]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "DELETE",
          "GET",
          "PUT"
        ]
      },
      {
        "route": "/v1/documents",
        "source_path": "app/api/v1/documents/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/health",
        "source_path": "app/api/v1/health/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/ingest",
        "source_path": "app/api/v1/ingest/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/integrations/[name]/mcp",
        "source_path": "app/api/v1/integrations/[name]/mcp/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/integrations",
        "source_path": "app/api/v1/integrations/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/keys",
        "source_path": "app/api/v1/keys/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST",
          "PUT"
        ]
      },
      {
        "route": "/v1/mcp",
        "source_path": "app/api/v1/mcp/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/network",
        "source_path": "app/api/v1/network/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/scores",
        "source_path": "app/api/v1/scores/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/search",
        "source_path": "app/api/v1/search/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/settings",
        "source_path": "app/api/v1/settings/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "PUT"
        ]
      },
      {
        "route": "/v1/sources/[id]",
        "source_path": "app/api/v1/sources/[id]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/sources",
        "source_path": "app/api/v1/sources/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/submissions/[id]",
        "source_path": "app/api/v1/submissions/[id]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/submissions",
        "source_path": "app/api/v1/submissions/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/tags",
        "source_path": "app/api/v1/tags/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/version",
        "source_path": "app/api/v1/version/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/webhooks",
        "source_path": "app/api/v1/webhooks/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/workflow",
        "source_path": "app/api/v1/workflow/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      }
    ],
    "app_routes": [
      {
        "route": "/docs/[slug]",
        "source_path": "app/docs/[slug]/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/docs/api",
        "source_path": "app/docs/api/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/docs/category/[slug]",
        "source_path": "app/docs/category/[slug]/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/docs/mcp",
        "source_path": "app/docs/mcp/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/docs",
        "source_path": "app/docs/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/faq",
        "source_path": "app/faq/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/search",
        "source_path": "app/search/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/settings",
        "source_path": "app/settings/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/submit",
        "source_path": "app/submit/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      }
    ]
  },
  "components": [
    {
      "name": "docs-list-client.test",
      "kind": "ui-component",
      "source_path": "__tests__/unit/components/docs-list-client.test.tsx"
    },
    {
      "name": "markdown-renderer-xss.test",
      "kind": "ui-component",
      "source_path": "__tests__/unit/components/markdown-renderer-xss.test.tsx"
    },
    {
      "name": "settings-page.test",
      "kind": "ui-component",
      "source_path": "__tests__/unit/components/settings-page.test.tsx"
    },
    {
      "name": "accessible-theme-switcher",
      "kind": "ui-component",
      "source_path": "components/accessible-theme-switcher.tsx"
    },
    {
      "name": "docs-layout",
      "kind": "ui-component",
      "source_path": "components/docs-layout.tsx"
    },
    {
      "name": "docs-list-client",
      "kind": "ui-component",
      "source_path": "components/docs-list-client.tsx"
    },
    {
      "name": "locale-switcher",
      "kind": "ui-component",
      "source_path": "components/locale-switcher.tsx"
    },
    {
      "name": "markdown-renderer",
      "kind": "ui-component",
      "source_path": "components/markdown-renderer.tsx"
    },
    {
      "name": "share-buttons",
      "kind": "ui-component",
      "source_path": "components/share-buttons.tsx"
    },
    {
      "name": "theme-provider",
      "kind": "ui-component",
      "source_path": "components/theme-provider.tsx"
    },
    {
      "name": "accordion",
      "kind": "ui-component",
      "source_path": "components/ui/accordion.tsx"
    },
    {
      "name": "alert-dialog",
      "kind": "ui-component",
      "source_path": "components/ui/alert-dialog.tsx"
    },
    {
      "name": "alert",
      "kind": "ui-component",
      "source_path": "components/ui/alert.tsx"
    },
    {
      "name": "aspect-ratio",
      "kind": "ui-component",
      "source_path": "components/ui/aspect-ratio.tsx"
    },
    {
      "name": "avatar",
      "kind": "ui-component",
      "source_path": "components/ui/avatar.tsx"
    },
    {
      "name": "badge",
      "kind": "ui-component",
      "source_path": "components/ui/badge.tsx"
    },
    {
      "name": "breadcrumb",
      "kind": "ui-component",
      "source_path": "components/ui/breadcrumb.tsx"
    },
    {
      "name": "button-group",
      "kind": "ui-component",
      "source_path": "components/ui/button-group.tsx"
    },
    {
      "name": "button",
      "kind": "ui-component",
      "source_path": "components/ui/button.tsx"
    },
    {
      "name": "calendar",
      "kind": "ui-component",
      "source_path": "components/ui/calendar.tsx"
    },
    {
      "name": "card",
      "kind": "ui-component",
      "source_path": "components/ui/card.tsx"
    },
    {
      "name": "carousel",
      "kind": "ui-component",
      "source_path": "components/ui/carousel.tsx"
    },
    {
      "name": "chart",
      "kind": "ui-component",
      "source_path": "components/ui/chart.tsx"
    },
    {
      "name": "checkbox",
      "kind": "ui-component",
      "source_path": "components/ui/checkbox.tsx"
    },
    {
      "name": "collapsible",
      "kind": "ui-component",
      "source_path": "components/ui/collapsible.tsx"
    },
    {
      "name": "command",
      "kind": "ui-component",
      "source_path": "components/ui/command.tsx"
    },
    {
      "name": "context-menu",
      "kind": "ui-component",
      "source_path": "components/ui/context-menu.tsx"
    },
    {
      "name": "dialog",
      "kind": "ui-component",
      "source_path": "components/ui/dialog.tsx"
    },
    {
      "name": "drawer",
      "kind": "ui-component",
      "source_path": "components/ui/drawer.tsx"
    },
    {
      "name": "dropdown-menu",
      "kind": "ui-component",
      "source_path": "components/ui/dropdown-menu.tsx"
    },
    {
      "name": "empty",
      "kind": "ui-component",
      "source_path": "components/ui/empty.tsx"
    },
    {
      "name": "field",
      "kind": "ui-component",
      "source_path": "components/ui/field.tsx"
    },
    {
      "name": "form",
      "kind": "ui-component",
      "source_path": "components/ui/form.tsx"
    },
    {
      "name": "hover-card",
      "kind": "ui-component",
      "source_path": "components/ui/hover-card.tsx"
    },
    {
      "name": "input-group",
      "kind": "ui-component",
      "source_path": "components/ui/input-group.tsx"
    },
    {
      "name": "input-otp",
      "kind": "ui-component",
      "source_path": "components/ui/input-otp.tsx"
    },
    {
      "name": "input",
      "kind": "ui-component",
      "source_path": "components/ui/input.tsx"
    },
    {
      "name": "item",
      "kind": "ui-component",
      "source_path": "components/ui/item.tsx"
    },
    {
      "name": "kbd",
      "kind": "ui-component",
      "source_path": "components/ui/kbd.tsx"
    },
    {
      "name": "label",
      "kind": "ui-component",
      "source_path": "components/ui/label.tsx"
    },
    {
      "name": "menubar",
      "kind": "ui-component",
      "source_path": "components/ui/menubar.tsx"
    },
    {
      "name": "navigation-menu",
      "kind": "ui-component",
      "source_path": "components/ui/navigation-menu.tsx"
    },
    {
      "name": "pagination",
      "kind": "ui-component",
      "source_path": "components/ui/pagination.tsx"
    },
    {
      "name": "popover",
      "kind": "ui-component",
      "source_path": "components/ui/popover.tsx"
    },
    {
      "name": "progress",
      "kind": "ui-component",
      "source_path": "components/ui/progress.tsx"
    },
    {
      "name": "radio-group",
      "kind": "ui-component",
      "source_path": "components/ui/radio-group.tsx"
    },
    {
      "name": "resizable",
      "kind": "ui-component",
      "source_path": "components/ui/resizable.tsx"
    },
    {
      "name": "scroll-area",
      "kind": "ui-component",
      "source_path": "components/ui/scroll-area.tsx"
    },
    {
      "name": "select",
      "kind": "ui-component",
      "source_path": "components/ui/select.tsx"
    },
    {
      "name": "separator",
      "kind": "ui-component",
      "source_path": "components/ui/separator.tsx"
    },
    {
      "name": "sheet",
      "kind": "ui-component",
      "source_path": "components/ui/sheet.tsx"
    },
    {
      "name": "sidebar",
      "kind": "ui-component",
      "source_path": "components/ui/sidebar.tsx"
    },
    {
      "name": "skeleton",
      "kind": "ui-component",
      "source_path": "components/ui/skeleton.tsx"
    },
    {
      "name": "slider",
      "kind": "ui-component",
      "source_path": "components/ui/slider.tsx"
    },
    {
      "name": "sonner",
      "kind": "ui-component",
      "source_path": "components/ui/sonner.tsx"
    },
    {
      "name": "spinner",
      "kind": "ui-component",
      "source_path": "components/ui/spinner.tsx"
    },
    {
      "name": "switch",
      "kind": "ui-component",
      "source_path": "components/ui/switch.tsx"
    },
    {
      "name": "table",
      "kind": "ui-component",
      "source_path": "components/ui/table.tsx"
    },
    {
      "name": "tabs",
      "kind": "ui-component",
      "source_path": "components/ui/tabs.tsx"
    },
    {
      "name": "textarea",
      "kind": "ui-component",
      "source_path": "components/ui/textarea.tsx"
    },
    {
      "name": "toast",
      "kind": "ui-component",
      "source_path": "components/ui/toast.tsx"
    },
    {
      "name": "toaster",
      "kind": "ui-component",
      "source_path": "components/ui/toaster.tsx"
    },
    {
      "name": "toggle-group",
      "kind": "ui-component",
      "source_path": "components/ui/toggle-group.tsx"
    },
    {
      "name": "toggle",
      "kind": "ui-component",
      "source_path": "components/ui/toggle.tsx"
    },
    {
      "name": "tooltip",
      "kind": "ui-component",
      "source_path": "components/ui/tooltip.tsx"
    },
    {
      "name": "use-mobile",
      "kind": "ui-component",
      "source_path": "components/ui/use-mobile.tsx"
    }
  ],
  "data_models": [],
  "database": {
    "databases": [],
    "schemas": [
      {
        "path": "scripts/001-init-schema.sql"
      }
    ],
    "migrations": []
  },
  "tests": [
    {
      "name": "clip.spec.ts",
      "kind": "e2e",
      "source_path": "__tests__/e2e/clip.spec.ts"
    },
    {
      "name": "ingest.spec.ts",
      "kind": "e2e",
      "source_path": "__tests__/e2e/ingest.spec.ts"
    },
    {
      "name": "automation.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/automation.test.ts"
    },
    {
      "name": "categories.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/categories.test.ts"
    },
    {
      "name": "clip.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/clip.test.ts"
    },
    {
      "name": "discovery-routes.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/discovery-routes.test.ts"
    },
    {
      "name": "documents-slug.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/documents-slug.test.ts"
    },
    {
      "name": "documents.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/documents.test.ts"
    },
    {
      "name": "health.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/health.test.ts"
    },
    {
      "name": "ingest.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/ingest.test.ts"
    },
    {
      "name": "keys.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/keys.test.ts"
    },
    {
      "name": "search.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/search.test.ts"
    },
    {
      "name": "settings.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/settings.test.ts"
    },
    {
      "name": "submissions.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/submissions.test.ts"
    },
    {
      "name": "route.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/v1/automation/route.test.ts"
    },
    {
      "name": "network.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/v1/network.test.ts"
    },
    {
      "name": "version.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/version.test.ts"
    },
    {
      "name": "webhooks.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/webhooks.test.ts"
    },
    {
      "name": "workflow.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/api/workflow.test.ts"
    },
    {
      "name": "claws-integration.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/mcp/claws-integration.test.ts"
    },
    {
      "name": "mcp-server.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/mcp/mcp-server.test.ts"
    },
    {
      "name": "platphorm-network.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/integration/mcp/platphorm-network.test.ts"
    },
    {
      "name": "automation.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/performance/automation.test.ts"
    },
    {
      "name": "categories.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/performance/categories.test.ts"
    },
    {
      "name": "settings.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/performance/settings.test.ts"
    },
    {
      "name": "route.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/api/v1/workflow/route.test.ts"
    },
    {
      "name": "docs-list-client.test.tsx",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/components/docs-list-client.test.tsx"
    },
    {
      "name": "markdown-renderer-xss.test.tsx",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/components/markdown-renderer-xss.test.tsx"
    },
    {
      "name": "settings-page.test.tsx",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/components/settings-page.test.tsx"
    },
    {
      "name": "use-debounce.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/hooks/use-debounce.test.ts"
    },
    {
      "name": "use-mobile.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/hooks/use-mobile.test.ts"
    },
    {
      "name": "use-toast.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/hooks/use-toast.test.ts"
    },
    {
      "name": "aeo-geo.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/aeo-geo.test.ts"
    },
    {
      "name": "api-helpers.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/api-helpers.test.ts"
    },
    {
      "name": "api-types.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/api-types.test.ts"
    },
    {
      "name": "auto-name.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/auto-name.test.ts"
    },
    {
      "name": "cache-strategy.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/cache-strategy.test.ts"
    },
    {
      "name": "clipping.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/clipping.test.ts"
    },
    {
      "name": "db.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/db.test.ts"
    },
    {
      "name": "emoji.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/emoji.test.ts"
    },
    {
      "name": "fingerprint-enhanced.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/fingerprint-enhanced.test.ts"
    },
    {
      "name": "fingerprint.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/fingerprint.test.ts"
    },
    {
      "name": "i18n.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/i18n.test.ts"
    },
    {
      "name": "logger.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/logger.test.ts"
    },
    {
      "name": "markdown.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/markdown.test.ts"
    },
    {
      "name": "mcp-network.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/mcp-network.test.ts"
    },
    {
      "name": "mcp.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/mcp.test.ts"
    },
    {
      "name": "query-builder.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/query-builder.test.ts"
    },
    {
      "name": "seo-generator.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/seo-generator.test.ts"
    },
    {
      "name": "ssrf.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/ssrf.test.ts"
    },
    {
      "name": "tagging.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/tagging.test.ts"
    },
    {
      "name": "utils.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/utils.test.ts"
    },
    {
      "name": "version.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/lib/version.test.ts"
    },
    {
      "name": "ssrf.test.ts",
      "kind": "unit-or-integration",
      "source_path": "__tests__/unit/ssrf.test.ts"
    },
    {
      "name": "ssrf-test.js",
      "kind": "unit-or-integration",
      "source_path": "lib/ssrf-test.js"
    },
    {
      "name": "patch_test.js",
      "kind": "unit-or-integration",
      "source_path": "patch_test.js"
    },
    {
      "name": "playwright-global-setup.ts",
      "kind": "playwright",
      "source_path": "playwright-global-setup.ts"
    },
    {
      "name": "playwright-global-teardown.ts",
      "kind": "playwright",
      "source_path": "playwright-global-teardown.ts"
    },
    {
      "name": "playwright.config.ts",
      "kind": "playwright",
      "source_path": "playwright.config.ts"
    },
    {
      "name": "test-api.ts",
      "kind": "unit-or-integration",
      "source_path": "scripts/test-api.ts"
    },
    {
      "name": "test-frontend.js",
      "kind": "unit-or-integration",
      "source_path": "test-frontend.js"
    }
  ],
  "ci": {
    "workflows": []
  },
  "containers": {
    "dockerfiles": [
      {
        "path": "Dockerfile"
      }
    ],
    "compose_files": [
      {
        "path": "docker-compose.yml"
      }
    ]
  },
  "env": {
    "example_files": [
      {
        "path": ".env"
      },
      {
        "path": ".env.example"
      }
    ],
    "variables": [
      {
        "name": "AI_GATEWAY_API_KEY",
        "source_paths": [
          "lib/model-adapter.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "BASE_URL",
        "source_paths": [
          "scripts/test-api.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "CALENDAR_API_URL",
        "source_paths": [
          ".env",
          ".env.example"
        ],
        "likely_secret": false
      },
      {
        "name": "CRON_SECRET",
        "source_paths": [
          "__tests__/performance/categories.test.ts",
          ".jules/sentinel.md",
          "app/api/cron/categories/route.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "DATABASE_URL",
        "source_paths": [
          "__tests__/unit/lib/db.test.ts",
          "__tests__/unit/lib/query-builder.test.ts",
          "__tests__/unit/lib/tagging.test.ts",
          ".env",
          ".env.example",
          "app/api/health/route.ts",
          "lib/db.ts",
          "PACKAGES.md",
          "playwright-global-setup.ts",
          "playwright-global-teardown.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "DEBUG",
        "source_paths": [
          ".env",
          ".env.example"
        ],
        "likely_secret": false
      },
      {
        "name": "EMOJI_API_URL",
        "source_paths": [
          ".env",
          ".env.example"
        ],
        "likely_secret": false
      },
      {
        "name": "JSON_API_URL",
        "source_paths": [
          ".env",
          ".env.example"
        ],
        "likely_secret": false
      },
      {
        "name": "KANBAN_API_URL",
        "source_paths": [
          ".env",
          ".env.example"
        ],
        "likely_secret": false
      },
      {
        "name": "LOG_LEVEL",
        "source_paths": [
          ".env",
          ".env.example",
          "lib/logger.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "MCP_HUB_URL",
        "source_paths": [
          ".env",
          ".env.example"
        ],
        "likely_secret": false
      },
      {
        "name": "MCP_PROTOCOL_VERSION",
        "source_paths": [
          "app/.well-known/[...path]/route.ts",
          "app/api/[...path]/route.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "NEXT_PUBLIC_BASE_URL",
        "source_paths": [
          "__tests__/integration/api/discovery-routes.test.ts",
          "__tests__/unit/lib/mcp-network.test.ts",
          ".env",
          ".env.example",
          "app/.well-known/agent.json/route.ts",
          "app/.well-known/mcp/route.ts",
          "app/.well-known/security.txt/route.ts",
          "app/api/docs/route.ts",
          "app/api/v1/clip/[id]/metadata/regenerate/route.ts",
          "app/api/v1/clip/commit/route.ts",
          "app/api/v1/docs/route.ts",
          "app/layout.tsx",
          "app/llms-index.json/route.ts",
          "app/robots.txt/route.ts",
          "app/rss.xml/route.ts",
          "app/sitemap.xml/route.ts",
          "lib/clipping.ts",
          "lib/mcp-network.ts",
          "lib/platform-contract.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "NEXT_PUBLIC_SITE_URL",
        "source_paths": [
          "app/api/mcp/register/route.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "NODE_ENV",
        "source_paths": [
          "app/api/health/route.ts",
          "app/api/v1/version/route.ts",
          "lib/logger.ts",
          "lib/version.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "OPENAI_API_KEY",
        "source_paths": [
          "lib/model-adapter.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "PLATPHORM_API_KEY",
        "source_paths": [
          "__tests__/integration/api/ingest.test.ts",
          "__tests__/integration/api/keys.test.ts",
          "lib/api-helpers.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "PLATPHORM_REQUIRE_API_KEY",
        "source_paths": [
          "lib/api-helpers.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "PLATPHORM_TRACE_ENDPOINT",
        "source_paths": [
          "lib/trace.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "PLATPHORM_TRACE_EXPORT_ENABLED",
        "source_paths": [
          "lib/trace.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "SERVICE_NAME",
        "source_paths": [
          "app/.well-known/[...path]/route.ts",
          "app/api/[...path]/route.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "SESSION_SALT",
        "source_paths": [
          "lib/fingerprint.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "STRUCTURED_LOGS",
        "source_paths": [
          ".env",
          ".env.example"
        ],
        "likely_secret": false
      },
      {
        "name": "SVG_API_URL",
        "source_paths": [
          ".env",
          ".env.example"
        ],
        "likely_secret": false
      },
      {
        "name": "TEST_API_KEY",
        "source_paths": [
          "__tests__/e2e/ingest.spec.ts",
          "playwright-global-setup.ts",
          "playwright-global-teardown.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "VERCEL",
        "source_paths": [
          "app/api/health/route.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "VERCEL_ENV",
        "source_paths": [
          "app/api/health/route.ts",
          "app/api/v1/version/route.ts",
          "lib/version.ts",
          "PACKAGES.md"
        ],
        "likely_secret": false
      },
      {
        "name": "VERCEL_GIT_COMMIT_DATE",
        "source_paths": [
          "app/api/v1/version/route.ts",
          "lib/version.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "VERCEL_GIT_COMMIT_REF",
        "source_paths": [
          "lib/version.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "VERCEL_GIT_COMMIT_SHA",
        "source_paths": [
          "app/api/v1/version/route.ts",
          "lib/version.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "VERCEL_REGION",
        "source_paths": [
          "app/api/v1/version/route.ts",
          "lib/version.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "VERCEL_URL",
        "source_paths": [
          "app/api/mcp/register/route.ts",
          "app/api/v1/version/route.ts",
          "lib/version.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "XML_API_URL",
        "source_paths": [
          ".env",
          ".env.example"
        ],
        "likely_secret": false
      }
    ]
  },
  "configs": [
    {
      "path": "docker-compose.yml"
    },
    {
      "path": "eslint.config.mjs"
    },
    {
      "path": "next.config.mjs"
    },
    {
      "path": "package.json"
    },
    {
      "path": "pnpm-workspace.yaml"
    },
    {
      "path": "postcss.config.mjs"
    },
    {
      "path": "tsconfig.json"
    },
    {
      "path": "vercel.json"
    }
  ],
  "docs": {
    "readme_paths": [
      {
        "path": "README.md"
      }
    ],
    "doc_paths": [
      {
        "path": "app/docs/security.md"
      }
    ],
    "llms_context_paths": []
  },
  "discovery_files": {
    "openapi": [],
    "mcp": [
      {
        "path": "app/api/mcp/register/route.ts"
      },
      {
        "path": "app/api/mcp/route.ts"
      },
      {
        "path": "lib/mcp.ts"
      }
    ],
    "llms": [],
    "sitemaps": [],
    "feeds": [],
    "well_known": [
      {
        "path": "app/.well-known/[...path]/route.ts"
      },
      {
        "path": "app/.well-known/agent.json/route.ts"
      },
      {
        "path": "app/.well-known/mcp/route.ts"
      },
      {
        "path": "app/.well-known/security.txt/route.ts"
      }
    ],
    "robots": [],
    "manifests": []
  },
  "integrations": [
    {
      "name": "MCP",
      "confidence": "medium",
      "evidence_paths": [
        "LOCAL_DEV.md",
        "package.json",
        "PACKAGES.md",
        "pnpm-lock.yaml"
      ]
    },
    {
      "name": "OpenAI",
      "confidence": "medium",
      "evidence_paths": [
        "lib/model-adapter.ts",
        "package.json"
      ]
    },
    {
      "name": "PlatPhorm",
      "confidence": "medium",
      "evidence_paths": [
        "__tests__/integration/api/clip.test.ts",
        "__tests__/integration/api/ingest.test.ts",
        "__tests__/integration/api/keys.test.ts",
        "__tests__/integration/mcp/mcp-server.test.ts",
        "API.md",
        "app/.well-known/[...path]/route.ts",
        "app/.well-known/agent.json/route.ts",
        "app/api/docs/route.ts",
        "lib/api-helpers.ts",
        "lib/trace.ts",
        "package.json"
      ]
    },
    {
      "name": "Postgres",
      "confidence": "medium",
      "evidence_paths": [
        "__tests__/unit/lib/aeo-geo.test.ts",
        "__tests__/unit/lib/db.test.ts",
        "__tests__/unit/lib/fingerprint-enhanced.test.ts",
        "__tests__/unit/lib/fingerprint.test.ts",
        "__tests__/unit/lib/query-builder.test.ts",
        "__tests__/unit/lib/tagging.test.ts",
        ".env",
        ".env.example",
        "package.json"
      ]
    },
    {
      "name": "Vercel",
      "confidence": "medium",
      "evidence_paths": [
        ".env",
        ".env.example",
        "app/api/health/route.ts",
        "app/api/mcp/register/route.ts",
        "app/api/og/route.tsx",
        "app/api/v1/version/route.ts",
        "app/layout.tsx",
        "ARCHITECTURE.md",
        "lib/version.ts",
        "LOCAL_DEV.md",
        "package.json",
        "PACKAGES.md",
        "pnpm-lock.yaml"
      ]
    }
  ],
  "license": {
    "spdx": "MIT",
    "paths": [
      {
        "path": "LICENSE"
      },
      {
        "path": "LICENSE.txt"
      }
    ]
  },
  "comments": [
    {
      "kind": "security",
      "source_path": "__tests__/integration/api/discovery-routes.test.ts",
      "line": 501,
      "text": "// ── .well-known/security.txt ────────────────────────────────────────────────"
    },
    {
      "kind": "security",
      "source_path": "__tests__/integration/api/discovery-routes.test.ts",
      "line": 503,
      "text": "describe('GET /.well-known/security.txt', () => {"
    },
    {
      "kind": "security",
      "source_path": "__tests__/integration/api/discovery-routes.test.ts",
      "line": 511,
      "text": "const mod = await import('@/app/.well-known/security.txt/route')"
    },
    {
      "kind": "security",
      "source_path": "__tests__/integration/api/discovery-routes.test.ts",
      "line": 525,
      "text": "it('includes required security.txt fields', async () => {"
    },
    {
      "kind": "security",
      "source_path": "__tests__/integration/api/discovery-routes.test.ts",
      "line": 532,
      "text": "expect(text).toContain('Contact: mailto:security@platphormnews.com')"
    },
    {
      "kind": "unsafe",
      "source_path": "__tests__/integration/mcp/mcp-server.test.ts",
      "line": 103,
      "text": "// sql.unsafe(str) is used for dynamic ORDER BY fragments — always a no-op"
    },
    {
      "kind": "unsafe",
      "source_path": "__tests__/integration/mcp/mcp-server.test.ts",
      "line": 104,
      "text": "{ unsafe: vi.fn((s: string) => s) },"
    },
    {
      "kind": "unsafe",
      "source_path": "__tests__/integration/mcp/mcp-server.test.ts",
      "line": 236,
      "text": "sqlMock.unsafe.mockClear()"
    },
    {
      "kind": "unsafe",
      "source_path": "__tests__/integration/mcp/mcp-server.test.ts",
      "line": 359,
      "text": "expect(sqlMock.unsafe).toHaveBeenCalledWith('view_count DESC NULLS LAST')"
    },
    {
      "kind": "unsafe",
      "source_path": "__tests__/performance/automation.test.ts",
      "line": 24,
      "text": ";(sql as any).unsafe = vi.fn().mockResolvedValue([])"
    },
    {
      "kind": "unsafe",
      "source_path": "__tests__/performance/automation.test.ts",
      "line": 54,
      "text": "console.log(`Number of sql.unsafe calls: ${vi.mocked((sql as any).unsafe).mock.calls.length}`)"
    },
    {
      "kind": "unsafe",
      "source_path": "__tests__/performance/automation.test.ts",
      "line": 57,
      "text": "const totalCalls = vi.mocked(sql).mock.calls.length + vi.mocked((sql as any).unsafe).mock.calls.length"
    },
    {
      "kind": "unsafe",
      "source_path": "__tests__/performance/categories.test.ts",
      "line": 5,
      "text": "sql: Object.assign(vi.fn(), { unsafe: vi.fn() }),"
    },
    {
      "kind": "deprecated",
      "source_path": "__tests__/unit/hooks/use-mobile.test.ts",
      "line": 35,
      "text": "addListener: vi.fn(), // Deprecated"
    },
    {
      "kind": "deprecated",
      "source_path": "__tests__/unit/hooks/use-mobile.test.ts",
      "line": 36,
      "text": "removeListener: vi.fn(), // Deprecated"
    },
    {
      "kind": "security",
      "source_path": "__tests__/unit/lib/aeo-geo.test.ts",
      "line": 190,
      "text": "tags: ['authentication', 'api', 'security'],"
    },
    {
      "kind": "todo",
      "source_path": "__tests__/unit/lib/markdown.test.ts",
      "line": 144,
      "text": "const html = parseMarkdown('- [x] Done\\n- [ ] Todo', { enableGFM: true })"
    },
    {
      "kind": "todo",
      "source_path": "__tests__/unit/lib/markdown.test.ts",
      "line": 146,
      "text": "expect(html).toContain('Todo')"
    },
    {
      "kind": "security",
      "source_path": "__tests__/unit/lib/seo-generator.test.ts",
      "line": 62,
      "text": "const result = generateEmojiSummary('Security Best Practices')"
    },
    {
      "kind": "security",
      "source_path": "__tests__/unit/lib/seo-generator.test.ts",
      "line": 73,
      "text": "'javascript typescript python rust react database security performance testing deploy',"
    },
    {
      "kind": "security",
      "source_path": "__tests__/unit/lib/seo-generator.test.ts",
      "line": 75,
      "text": "['react', 'nextjs', 'database', 'security', 'performance']"
    },
    {
      "kind": "security",
      "source_path": "__tests__/unit/lib/tagging.test.ts",
      "line": 99,
      "text": "expect(autoDetectCategory('Understanding React Security', 'Content goes here')).toBe('security')"
    },
    {
      "kind": "security",
      "source_path": "__tests__/unit/lib/tagging.test.ts",
      "line": 105,
      "text": "expect(autoDetectCategory('Title', 'We should discuss owasp vulnerabilities')).toBe('security')"
    },
    {
      "kind": "security",
      "source_path": "__tests__/unit/lib/tagging.test.ts",
      "line": 110,
      "text": "// Both 'security' and 'database' match, but 'security' is earlier in the array"
    },
    {
      "kind": "security",
      "source_path": "__tests__/unit/lib/tagging.test.ts",
      "line": 111,
      "text": "expect(autoDetectCategory('SQL injection security', 'Content')).toBe('security')"
    },
    {
      "kind": "unsafe",
      "source_path": ".jules/bolt.md",
      "line": 34,
      "text": "**Learning:** Batch upserts (`INSERT ... ON CONFLICT DO UPDATE`) iteratively built using string concatenation with `sql.unsafe` exhibit N+1 characteristics when generating parameter placeholders dynamically in Next.js Serverless deployments"
    },
    {
      "kind": "security",
      "source_path": ".jules/sentinel.md",
      "line": 17,
      "text": "**Learning:** Developers sometimes implement ad-hoc markdown parsing for quick features (like live previews) to avoid complex integrations, inadvertently circumventing established security components and introducing XSS vulnerabilities."
    },
    {
      "kind": "security",
      "source_path": "anoms-do-not-delete.md",
      "line": 323,
      "text": "category: { type: 'string', description: 'Filter by category (overview, technical, api, features, compliance, ecosystem, integrations, guides, planning, development, community, releases, security, design)' },"
    },
    {
      "kind": "security",
      "source_path": "anoms-do-not-delete.md",
      "line": 333,
      "text": "slug: { type: 'string', description: 'Doc slug: readme | architecture | api | features | standards | ecosystem | integrations | use-cases | roadmap | testing | contributing | changelog | security | support | code-of-conduct | contributors |"
    },
    {
      "kind": "security",
      "source_path": "anoms-do-not-delete.md",
      "line": 376,
      "text": "'security':         { file: 'SECURITY.md',         description: 'Security policy and reporting',                       category: 'security'     },"
    },
    {
      "kind": "unsafe",
      "source_path": "anoms-do-not-delete.md",
      "line": 442,
      "text": "ORDER BY ${sql.unsafe(orderBy)}"
    },
    {
      "kind": "security",
      "source_path": "app/.well-known/[...path]/route.ts",
      "line": 18,
      "text": "if (path === \"/ai-plugin.json\") return { schema_version: \"v1\", name_for_human: \"OpenDocs\", name_for_model: \"opendocs\", description_for_human: \"Browse, search, submit, and operate PlatPhormNews documentation.\", description_for_model: \"Public"
    },
    {
      "kind": "security",
      "source_path": "app/.well-known/[...path]/route.ts",
      "line": 19,
      "text": "if (path === \"/trust-policy.json\" || path === \"/trust.json\") return { schema_version: \"1.0\", service: service.name, policyMode: \"enforced\", trustPolicy: TRUST_POLICY_LINE, trustedDomains: { defaultAllowlist: [\"*.platphormnews.com\"], discove"
    },
    {
      "kind": "security",
      "source_path": "app/.well-known/agent.json/route.ts",
      "line": 33,
      "text": "security: 'security@platphormnews.com',"
    },
    {
      "kind": "security",
      "source_path": "app/.well-known/agent.json/route.ts",
      "line": 65,
      "text": "security_txt: `${baseUrl}/.well-known/security.txt`,"
    },
    {
      "kind": "security",
      "source_path": "app/.well-known/security.txt/route.ts",
      "line": 17,
      "text": "const securityTxt = `# OpenDocs Security Policy"
    },
    {
      "kind": "security",
      "source_path": "app/.well-known/security.txt/route.ts",
      "line": 20,
      "text": "Contact: mailto:security@platphormnews.com"
    },
    {
      "kind": "security",
      "source_path": "app/.well-known/security.txt/route.ts",
      "line": 23,
      "text": "Canonical: ${baseUrl}/.well-known/security.txt"
    },
    {
      "kind": "security",
      "source_path": "app/.well-known/security.txt/route.ts",
      "line": 24,
      "text": "Policy: ${baseUrl}/docs/security"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 22,
      "text": "security: [{ bearerAuth: [] }, { platphormApiKey: [] }],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 29,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 58,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 108,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 142,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 159,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 249,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 262,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 276,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 286,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 296,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 306,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 316,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 326,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 336,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 345,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 355,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/docs/route.ts",
      "line": 397,
      "text": "security: [],"
    },
    {
      "kind": "security",
      "source_path": "app/api/mcp/route.ts",
      "line": 65,
      "text": "'security':        { file: 'SECURITY.md',         description: 'Security policy and reporting',                       category: 'security'     },"
    },
    {
      "kind": "unsafe",
      "source_path": "app/api/mcp/route.ts",
      "line": 170,
      "text": "ORDER BY ${sql.unsafe(orderBy)}"
    },
    {
      "kind": "security",
      "source_path": "app/api/mcp/route.ts",
      "line": 1082,
      "text": "category: z.string().optional().describe('Filter by category (overview, technical, api, features, compliance, ecosystem, integrations, guides, planning, development, community, releases, security, design)'),"
    },
    {
      "kind": "security",
      "source_path": "app/api/mcp/route.ts",
      "line": 1101,
      "text": "slug: z.string().describe('Doc slug: readme | architecture | api | features | standards | ecosystem | integrations | use-cases | roadmap | testing | contributing | changelog | security | support | code-of-conduct | contributors | logging | "
    },
    {
      "kind": "security",
      "source_path": "app/api/v1/docs/[slug]/route.ts",
      "line": 14,
      "text": "'security': 'SECURITY.md',"
    },
    {
      "kind": "security",
      "source_path": "app/api/v1/docs/route.ts",
      "line": 14,
      "text": "'SECURITY.md',"
    },
    {
      "kind": "security",
      "source_path": "app/api/v1/docs/route.ts",
      "line": 41,
      "text": "'SECURITY.md': { description: 'Security policy and reporting', category: 'security' },"
    },
    {
      "kind": "security",
      "source_path": "app/api/v1/ingest/route.ts",
      "line": 572,
      "text": "[/security|vulnerability|cve/i, 'security'],"
    },
    {
      "kind": "security",
      "source_path": "app/docs/security.md",
      "line": 1,
      "text": "# Domain Trust Security Policy"
    },
    {
      "kind": "security",
      "source_path": "app/docs/security.md",
      "line": 3,
      "text": "This document outlines the security policies and implementations surrounding domain trust within the OpenDocs platform, specifically focusing on the `platphormnews.com` domain and its subdomains."
    },
    {
      "kind": "security",
      "source_path": "app/docs/security.md",
      "line": 37,
      "text": "## Security Considerations"
    },
    {
      "kind": "security",
      "source_path": "app/robots.txt/route.ts",
      "line": 36,
      "text": "# Security Policy"
    },
    {
      "kind": "security",
      "source_path": "app/robots.txt/route.ts",
      "line": 37,
      "text": "# Security: ${baseUrl}/.well-known/security.txt"
    },
    {
      "kind": "security",
      "source_path": "app/settings/page.tsx",
      "line": 289,
      "text": "<TabsTrigger value=\"security\">Security</TabsTrigger>"
    },
    {
      "kind": "security",
      "source_path": "app/settings/page.tsx",
      "line": 524,
      "text": "{ key: 'security', label: 'Security', desc: 'Security policy' },"
    },
    {
      "kind": "security",
      "source_path": "app/settings/page.tsx",
      "line": 560,
      "text": "{/* Security Tab */}"
    },
    {
      "kind": "security",
      "source_path": "app/settings/page.tsx",
      "line": 561,
      "text": "<TabsContent value=\"security\" className=\"space-y-6\">"
    },
    {
      "kind": "security",
      "source_path": "ARCHITECTURE.md",
      "line": 136,
      "text": "## Security Model"
    },
    {
      "kind": "security",
      "source_path": "ARCHITECTURE.md",
      "line": 149,
      "text": "- Content Security Policy headers"
    },
    {
      "kind": "security",
      "source_path": "DEPLOYMENT.md",
      "line": 19,
      "text": "### Security"
    },
    {
      "kind": "security",
      "source_path": "DEPLOYMENT.md",
      "line": 20,
      "text": "- [ ] Review SECURITY.md for vulnerability reporting"
    },
    {
      "kind": "unsafe",
      "source_path": "lib/db.ts",
      "line": 36,
      "text": "unsafe(rawSql: string, values?: unknown[]): Promise<Row[]>"
    },
    {
      "kind": "security",
      "source_path": "lib/emoji.ts",
      "line": 140,
      "text": "'security': '🔒',"
    },
    {
      "kind": "deprecated",
      "source_path": "lib/emoji.ts",
      "line": 179,
      "text": "'deprecated': '⏰',"
    },
    {
      "kind": "todo",
      "source_path": "lib/i18n.ts",
      "line": 262,
      "text": "'home.view_all': 'Ver Todo',"
    },
    {
      "kind": "security",
      "source_path": "lib/platform-contract.ts",
      "line": 33,
      "text": "'/.well-known/security.txt',"
    },
    {
      "kind": "security",
      "source_path": "lib/seo-generator.ts",
      "line": 142,
      "text": "'security': '🛡️',"
    },
    {
      "kind": "security",
      "source_path": "lib/tagging.ts",
      "line": 5,
      "text": "{ pattern: /\\bsecurity|vulnerability|cve|exploit|breach|pentest|owasp\\b/i, category: 'security' },"
    },
    {
      "kind": "security",
      "source_path": "License FAQ.md",
      "line": 23,
      "text": "Yes, if your use is non-commercial as defined by the license. Internal evaluation, research, development, testing, security review, accessibility work, and internal experimentation are generally allowed if you are not directly or indirectly"
    },
    {
      "kind": "security",
      "source_path": "LICENSE.txt",
      "line": 13,
      "text": "“Non-commercial purposes” include personal use by an individual, academic research and development, journalism, testing, evaluation, interoperability work, security review, accessibility work, and internal use by your own organization where"
    },
    {
      "kind": "deprecated",
      "source_path": "PACKAGES.md",
      "line": 106,
      "text": "from `@modelcontextprotocol/sdk`. The hand-rolled JSON-RPC approach is deprecated inside"
    },
    {
      "kind": "deprecated",
      "source_path": "pnpm-lock.yaml",
      "line": 1944,
      "text": "deprecated: This is a stub types definition. dompurify provides its own type definitions, so you do not need this installed."
    },
    {
      "kind": "security",
      "source_path": "public/humans.txt",
      "line": 34,
      "text": "Security: Michael Barbine"
    },
    {
      "kind": "security",
      "source_path": "public/humans.txt",
      "line": 74,
      "text": "Security: OWASP Top 10 Aware"
    },
    {
      "kind": "security",
      "source_path": "public/humans.txt",
      "line": 98,
      "text": "Security Policy:  https://docs.platphormnews.com/api/v1/docs/security"
    },
    {
      "kind": "security",
      "source_path": "public/humans.txt",
      "line": 153,
      "text": "Security: security@platphormnews.com"
    },
    {
      "kind": "security",
      "source_path": "README.md",
      "line": 53,
      "text": "- [SECURITY.md](SECURITY.md) — Security policy"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 1,
      "text": "# Security Policy"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 12,
      "text": "We take security seriously at OpenDocs. If you discover a security vulnerability,"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 17,
      "text": "**DO NOT** create a public GitHub issue for security vulnerabilities."
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 19,
      "text": "Instead, please email us at: **security@platphormnews.com**"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 46,
      "text": "- Physical security"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 51,
      "text": "We recognize security researchers who responsibly disclose vulnerabilities:"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 52,
      "text": "- Credit in security advisories"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 53,
      "text": "- Listing in SECURITY-THANKS.md"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 56,
      "text": "### Security Measures"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 60,
      "text": "- Content Security Policy headers"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 65,
      "text": "## Security Best Practices for Deployers"
    },
    {
      "kind": "security",
      "source_path": "SECURITY.md",
      "line": 75,
      "text": "- Security issues: security@platphormnews.com"
    },
    {
      "kind": "security",
      "source_path": "vercel.json",
      "line": 49,
      "text": "\"key\": \"Strict-Transport-Security\","
    }
  ],
  "security": {
    "secret_risks": [],
    "unsafe_patterns": [
      {
        "name": "child-process-exec",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/ingest/route.ts",
          "components/markdown-renderer.tsx",
          "lib/markdown.ts"
        ]
      },
      {
        "name": "dangerously-set-html",
        "confidence": "medium",
        "evidence_paths": [
          ".jules/sentinel.md",
          "app/docs/[slug]/page.tsx",
          "app/faq/page.tsx",
          "app/page.tsx",
          "components/ui/chart.tsx"
        ]
      },
      {
        "name": "sql-injection-review-needed",
        "confidence": "medium",
        "evidence_paths": [
          ".jules/sentinel.md",
          "anoms-do-not-delete.md",
          "app/api/mcp/route.ts",
          "app/api/v1/automation/route.ts",
          "app/api/v1/settings/route.ts",
          "app/api/v1/workflow/route.ts",
          "app/llms-full.txt/route.ts",
          "lib/api-helpers.ts",
          "lib/platform-contract.ts"
        ]
      },
      {
        "name": "ssrf-review-needed",
        "confidence": "medium",
        "evidence_paths": [
          "anoms-do-not-delete.md",
          "app/api/mcp/route.ts",
          "app/api/v1/automation/route.ts",
          "app/api/v1/ingest/route.ts",
          "app/api/v1/workflow/route.ts",
          "components/docs-layout.tsx"
        ]
      }
    ],
    "sensitive_data_indicators": [
      {
        "name": "api_key",
        "confidence": "medium",
        "evidence_paths": [
          "__tests__/e2e/ingest.spec.ts",
          "__tests__/integration/api/clip.test.ts",
          "__tests__/integration/api/ingest.test.ts",
          "__tests__/integration/api/keys.test.ts",
          "__tests__/integration/mcp/mcp-server.test.ts",
          "__tests__/unit/api/v1/workflow/route.test.ts",
          "API.md",
          "app/.well-known/[...path]/route.ts",
          "app/.well-known/agent.json/route.ts",
          "app/api/docs/route.ts",
          "app/api/mcp/route.ts",
          "app/api/v1/categories/route.ts",
          "app/api/v1/clip/commit/route.ts",
          "app/api/v1/documents/[slug]/route.ts",
          "app/api/v1/documents/route.ts",
          "app/api/v1/ingest/route.ts",
          "app/api/v1/keys/route.ts",
          "app/api/v1/submissions/[id]/route.ts",
          "app/api/v1/webhooks/route.ts",
          "app/docs/api/page.tsx"
        ]
      },
      {
        "name": "card",
        "confidence": "medium",
        "evidence_paths": [
          "__tests__/integration/api/ingest.test.ts",
          "__tests__/integration/mcp/mcp-server.test.ts",
          "anoms-do-not-delete.md",
          "app/api/mcp/route.ts",
          "app/api/v1/clip/commit/route.ts",
          "app/api/v1/ingest/route.ts",
          "app/docs/[slug]/not-found.tsx",
          "app/docs/[slug]/page.tsx",
          "app/docs/api/page.tsx",
          "app/docs/category/[slug]/page.tsx",
          "app/docs/mcp/page.tsx",
          "app/faq/page.tsx",
          "app/globals.css",
          "app/layout.tsx",
          "app/llms-index.json/route.ts",
          "app/llms.txt/route.ts",
          "app/not-found.tsx",
          "app/page.tsx",
          "app/search/page.tsx",
          "app/settings/page.tsx"
        ]
      },
      {
        "name": "email",
        "confidence": "medium",
        "evidence_paths": [
          "__tests__/integration/api/ingest.test.ts",
          "__tests__/integration/mcp/mcp-server.test.ts",
          "__tests__/unit/lib/seo-generator.test.ts",
          "anoms-do-not-delete.md",
          "API.md",
          "app/.well-known/[...path]/route.ts",
          "app/.well-known/agent.json/route.ts",
          "app/api/docs/route.ts",
          "app/api/mcp/route.ts",
          "app/api/v1/clip/commit/route.ts",
          "app/api/v1/documents/[slug]/route.ts",
          "app/api/v1/documents/route.ts",
          "app/api/v1/submissions/[id]/route.ts",
          "app/api/v1/submissions/route.ts",
          "app/docs/api/page.tsx",
          "app/faq/page.tsx",
          "app/page.tsx",
          "app/submit/page.tsx",
          "components/share-buttons.tsx",
          "CONTRIBUTING.md"
        ]
      },
      {
        "name": "financial",
        "confidence": "medium",
        "evidence_paths": [
          "PRINCIPLES.md"
        ]
      },
      {
        "name": "fingerprint",
        "confidence": "medium",
        "evidence_paths": [
          "__tests__/e2e/clip.spec.ts",
          "__tests__/unit/lib/fingerprint-enhanced.test.ts",
          "__tests__/unit/lib/fingerprint.test.ts",
          "app/api/cron/categories/route.ts",
          "app/api/session/route.ts",
          "app/llms.txt/route.ts",
          "app/submit/page.tsx",
          "ARCHITECTURE.md",
          "CHANGELOG.md",
          "lib/fingerprint.ts",
          "lib/logger.ts",
          "PACKAGES.md",
          "PRINCIPLES.md",
          "public/schemas/core.schema.json",
          "public/schemas/item.schema.json",
          "public/schemas/observability.schema.json",
          "public/schemas/platphorm-universal-schema-pack.json",
          "public/schemas/realm.schema.json"
        ]
      },
      {
        "name": "health",
        "confidence": "medium",
        "evidence_paths": [
          "__tests__/integration/api/discovery-routes.test.ts",
          "__tests__/integration/api/health.test.ts",
          "__tests__/integration/api/v1/automation/route.test.ts",
          "__tests__/unit/lib/mcp-network.test.ts",
          "app/api/health/route.ts",
          "app/api/v1/automation/route.ts",
          "app/api/v1/health/route.ts",
          "app/docs/api/page.tsx",
          "app/faq/page.tsx",
          "app/robots.txt/route.ts",
          "CODE_OF_CONDUCT.md",
          "components/accessible-theme-switcher.tsx",
          "DEPLOYMENT.md",
          "docker-compose.yml",
          "lib/mcp-network.ts",
          "lib/platform-contract.ts",
          "public/schemas/openapi-starter-bundle.json",
          "public/schemas/platphorm-universal-schema-pack.json",
          "public/schemas/realm.schema.json",
          "scripts/test-api.ts"
        ]
      },
      {
        "name": "ip address",
        "confidence": "medium",
        "evidence_paths": [
          "__tests__/integration/api/ingest.test.ts",
          "app/docs/security.md",
          "lib/ssrf.ts"
        ]
      },
      {
        "name": "location",
        "confidence": "medium",
        "evidence_paths": [
          ".cspell/custom-dictionary-workspace.txt",
          "app/api/v1/ingest/route.ts",
          "app/submit/page.tsx",
          "next.config.mjs",
          "PACKAGES.md",
          "public/humans.txt"
        ]
      },
      {
        "name": "oauth",
        "confidence": "medium",
        "evidence_paths": [
          "app/.well-known/[...path]/route.ts",
          "app/faq/page.tsx"
        ]
      },
      {
        "name": "password",
        "confidence": "medium",
        "evidence_paths": [
          "__tests__/performance/settings.test.ts",
          ".env",
          ".env.example",
          "app/api/v1/settings/route.ts",
          "app/settings/page.tsx",
          "app/submit/page.tsx",
          "docker-compose.yml",
          "lib/i18n.ts",
          "lib/trace.ts"
        ]
      },
      {
        "name": "password_hash",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/settings/route.ts"
        ]
      },
      {
        "name": "pii",
        "confidence": "medium",
        "evidence_paths": [
          "pnpm-lock.yaml"
        ]
      },
      {
        "name": "secret-like environment variables",
        "confidence": "medium",
        "evidence_paths": [
          "package.json"
        ]
      },
      {
        "name": "session_token",
        "confidence": "medium",
        "evidence_paths": [
          "lib/db.ts",
          "scripts/001-init-schema.sql"
        ]
      },
      {
        "name": "token",
        "confidence": "medium",
        "evidence_paths": [
          "app/.well-known/[...path]/route.ts",
          "app/faq/page.tsx",
          "DEPLOYMENT.md",
          "lib/api-helpers.ts",
          "lib/db.ts",
          "lib/trace.ts",
          "PACKAGES.md",
          "pnpm-lock.yaml",
          "PRINCIPLES.md",
          "scripts/001-init-schema.sql"
        ]
      }
    ]
  },
  "generated_at": "2026-05-16T16:44:17.180Z"
}
