{
  "schemaVersion": 1,
  "slug": "sqc",
  "repository": "webhostingdoo/sqc",
  "sourceSha": "8270385c5e469730a571d27c9f8ad40772c1fac7",
  "hqSha": "bc9bd4733aecd8862c6a00e7db10853d2f3fc245",
  "scannedAt": "2026-10-23T16:19:50.344Z",
  "status": "scanned",
  "findings": [
    {
      "id": "6fad01273b9939c8",
      "category": "access",
      "label": "Clerk",
      "detail": "Integration signal in source. Account ownership, provisioning and live connectivity are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "package.json",
          "line": 33,
          "kind": "declared-config"
        },
        {
          "path": "src/app/denied/page.tsx",
          "line": 2,
          "kind": "observed-code"
        },
        {
          "path": "src/app/layout.tsx",
          "line": 2,
          "kind": "observed-code"
        },
        {
          "path": "src/app/sign-in/[[...sign-in]]/page.tsx",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "src/components/workbench.tsx",
          "line": 3,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/auth.ts",
          "line": 25,
          "kind": "observed-code"
        },
        {
          "path": "src/proxy.ts",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "af8bcf0bfc954fba",
      "category": "access",
      "label": "Supabase",
      "detail": "Mentioned in source documentation; implementation and account access need confirmation.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "AGENTS.md",
          "line": 9,
          "kind": "source-reported"
        },
        {
          "path": "docs/ARCHITECTURE.md",
          "line": 14,
          "kind": "source-reported"
        },
        {
          "path": "docs/DECISIONS.md",
          "line": 75,
          "kind": "source-reported"
        },
        {
          "path": "docs/OPERATIONS.md",
          "line": 46,
          "kind": "source-reported"
        },
        {
          "path": "docs/RECOVERY_PLAN.md",
          "line": 7,
          "kind": "source-reported"
        },
        {
          "path": "package.json",
          "line": 34,
          "kind": "declared-config"
        },
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "35948ffaa963cd21",
      "category": "apis",
      "label": "GET /api/download",
      "detail": "Source-declared HTTP handler. Reachability, access enforcement and side effects are not verified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/api/download/route.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "8d5b26df39bc5025",
      "category": "apis",
      "label": "GET /api/inngest",
      "detail": "Source-declared HTTP handler. Reachability, access enforcement and side effects are not verified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/api/inngest/route.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "94ee8386684eac69",
      "category": "apis",
      "label": "OpenAI",
      "detail": "Mentioned in source documentation; implementation and account access need confirmation.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "docs/ARCHITECTURE.md",
          "line": 19,
          "kind": "source-reported"
        },
        {
          "path": "package.json",
          "line": 37,
          "kind": "declared-config"
        },
        {
          "path": "src/lib/server/research-adapter.ts",
          "line": 61,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "ed43bbdb3b0ba1f2",
      "category": "apis",
      "label": "POST /api/inngest",
      "detail": "Source-declared HTTP handler. Reachability, access enforcement and side effects are not verified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/api/inngest/route.ts",
          "line": 8,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "814b540d3dbb54d9",
      "category": "apis",
      "label": "POST /api/rpc",
      "detail": "Source-declared HTTP handler. Reachability, access enforcement and side effects are not verified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/api/rpc/route.ts",
          "line": 8,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "eab1ce060036e9dd",
      "category": "apis",
      "label": "POST /api/session",
      "detail": "Source-declared HTTP handler. Reachability, access enforcement and side effects are not verified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/api/session/route.ts",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "2146659a57531712",
      "category": "apis",
      "label": "POST /api/storage-upload",
      "detail": "Source-declared HTTP handler. Reachability, access enforcement and side effects are not verified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/api/storage-upload/route.ts",
          "line": 5,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9456b02ed85c611e",
      "category": "apis",
      "label": "POST /api/storage-upload/complete",
      "detail": "Source-declared HTTP handler. Reachability, access enforcement and side effects are not verified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/api/storage-upload/complete/route.ts",
          "line": 5,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "65d972f1f1dde3d9",
      "category": "apis",
      "label": "POST /api/upload",
      "detail": "Source-declared HTTP handler. Reachability, access enforcement and side effects are not verified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/api/upload/route.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a1d8b22abca0149f",
      "category": "apis",
      "label": "PUT /api/inngest",
      "detail": "Source-declared HTTP handler. Reachability, access enforcement and side effects are not verified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/api/inngest/route.ts",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "51ccaf7070338817",
      "category": "configuration",
      "label": "CLERK_SECRET_KEY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 23,
          "kind": "declared-config"
        },
        {
          "path": "scripts/doctor.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "src/app/denied/page.tsx",
          "line": 5,
          "kind": "observed-code"
        },
        {
          "path": "src/app/layout.tsx",
          "line": 10,
          "kind": "observed-code"
        },
        {
          "path": "src/app/sign-in/[[...sign-in]]/page.tsx",
          "line": 13,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 33,
          "kind": "observed-code"
        },
        {
          "path": "src/proxy.ts",
          "line": 16,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "59ebcb35814ef5e1",
      "category": "configuration",
      "label": "DATABASE_URL",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 28,
          "kind": "declared-config"
        },
        {
          "path": "scripts/doctor.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/db.ts",
          "line": 36,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/db.ts",
          "line": 37,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 35,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "64aa398c0e0c2f83",
      "category": "configuration",
      "label": "DEBUG",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 40,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 41,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-smoke.ts",
          "line": 102,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d735cd4b54481b34",
      "category": "configuration",
      "label": "INNGEST_EVENT_KEY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 31,
          "kind": "declared-config"
        },
        {
          "path": "src/app/api/inngest/route.ts",
          "line": 6,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 38,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "3c0910e8aea18d85",
      "category": "configuration",
      "label": "INNGEST_SIGNING_KEY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 32,
          "kind": "declared-config"
        },
        {
          "path": "scripts/doctor.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "src/app/api/inngest/route.ts",
          "line": 6,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/inngest.ts",
          "line": 8,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 38,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "13c2b00a4e601e58",
      "category": "configuration",
      "label": "NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 22,
          "kind": "declared-config"
        },
        {
          "path": "src/app/denied/page.tsx",
          "line": 5,
          "kind": "observed-code"
        },
        {
          "path": "src/app/layout.tsx",
          "line": 10,
          "kind": "observed-code"
        },
        {
          "path": "src/app/sign-in/[[...sign-in]]/page.tsx",
          "line": 13,
          "kind": "observed-code"
        },
        {
          "path": "src/proxy.ts",
          "line": 16,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b76a1662749f9f43",
      "category": "configuration",
      "label": "NEXT_PUBLIC_CLERK_SIGN_IN_URL",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 24,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "d8b2797b6446072e",
      "category": "configuration",
      "label": "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 26,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "ba141664333ca1db",
      "category": "configuration",
      "label": "NEXT_PUBLIC_SUPABASE_URL",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 25,
          "kind": "declared-config"
        },
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 83,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 90,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/hosted-upload.ts",
          "line": 12,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/storage.ts",
          "line": 11,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "985a57a41dcfd773",
      "category": "configuration",
      "label": "NEXT_RUNTIME",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/instrumentation.ts",
          "line": 1,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "2f31d702dcc79d1a",
      "category": "configuration",
      "label": "NODE_ENV",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/import-service.ts",
          "line": 43,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/knowledge-service.ts",
          "line": 108,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b810c638041413c8",
      "category": "configuration",
      "label": "OPENAI_API_KEY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 35,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "a6e88925141f1873",
      "category": "configuration",
      "label": "PORT",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/local.ts",
          "line": 5,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "74bd21b57894d244",
      "category": "configuration",
      "label": "PWDEBUG",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 40,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 41,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-smoke.ts",
          "line": 102,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "c1040e813b0b9b08",
      "category": "configuration",
      "label": "RESEARCH_AUTOMATION_POLICY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 38,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "2d19a1785b59a2ee",
      "category": "configuration",
      "label": "RESEARCH_BUDGET_USD",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 39,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "d9a406790b5c638c",
      "category": "configuration",
      "label": "RESEARCH_CONCURRENCY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 44,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "200569952a463deb",
      "category": "configuration",
      "label": "RESEARCH_ENABLED",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 37,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "f9acb92f4770fe03",
      "category": "configuration",
      "label": "RESEARCH_INPUT_USD_PER_MILLION",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 47,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "0e3686f8cd6a7759",
      "category": "configuration",
      "label": "RESEARCH_MAX_INPUT_TOKENS",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 42,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "11a742bc710fbeb3",
      "category": "configuration",
      "label": "RESEARCH_MAX_OUTPUT_TOKENS",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 43,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "6bc5e37c5ca31da8",
      "category": "configuration",
      "label": "RESEARCH_MAX_REQUESTS",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 40,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "c0cec53d6a895fd8",
      "category": "configuration",
      "label": "RESEARCH_MAX_TOTAL_TOKENS",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 41,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "ed49e029c6147039",
      "category": "configuration",
      "label": "RESEARCH_MAX_WEB_SEARCH_CALLS",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 45,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "aa685da710b76d58",
      "category": "configuration",
      "label": "RESEARCH_MODEL",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 36,
          "kind": "declared-config"
        },
        {
          "path": "src/lib/server/recommendations.ts",
          "line": 31,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "8193e0f3bd536850",
      "category": "configuration",
      "label": "RESEARCH_OUTPUT_USD_PER_MILLION",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 48,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "fd5dcab4ff96f3f5",
      "category": "configuration",
      "label": "RESEARCH_PRICE_SOURCE",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 50,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "d6af7b31669ef4f8",
      "category": "configuration",
      "label": "RESEARCH_PRICE_VERIFIED_AT",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 51,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "406ce0b2fe7449a2",
      "category": "configuration",
      "label": "RESEARCH_TIMEOUT_MS",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 46,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "5ef71927b74d43d9",
      "category": "configuration",
      "label": "RESEARCH_WEB_SEARCH_USD_PER_CALL",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 49,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "96b20e4a9ea7700f",
      "category": "configuration",
      "label": "SENTRY_DSN",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 33,
          "kind": "declared-config"
        },
        {
          "path": "scripts/doctor.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 40,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/monitoring.ts",
          "line": 3,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/monitoring.ts",
          "line": 4,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "671b19e1eddfea22",
      "category": "configuration",
      "label": "SQC_ACCESS_CODE_HASH",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 18,
          "kind": "declared-config"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 33,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/session-auth.ts",
          "line": 32,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "13d9bde61184475b",
      "category": "configuration",
      "label": "SQC_ACCESS_OPERATOR_ID",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 17,
          "kind": "declared-config"
        },
        {
          "path": "scripts/install-corpus-explanations.ts",
          "line": 11,
          "kind": "observed-code"
        },
        {
          "path": "scripts/install-corpus.ts",
          "line": 11,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 33,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/session-auth.ts",
          "line": 27,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "bb9a9558ee6efe6b",
      "category": "configuration",
      "label": "SQC_APP_ORIGIN",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 9,
          "kind": "declared-config"
        },
        {
          "path": "src/app/page.tsx",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/auth.ts",
          "line": 7,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 33,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/session-auth.ts",
          "line": 28,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "f10f72cf2d7f5f48",
      "category": "configuration",
      "label": "SQC_AUTH_MODE",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 12,
          "kind": "declared-config"
        },
        {
          "path": "scripts/doctor.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 32,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/session-auth.ts",
          "line": 13,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "44bda7f1432b8f91",
      "category": "configuration",
      "label": "SQC_BIND_HOST",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/backup.ts",
          "line": 2,
          "kind": "observed-code"
        },
        {
          "path": "scripts/local.ts",
          "line": 4,
          "kind": "observed-code"
        },
        {
          "path": "tests/integration/harness.ts",
          "line": 11,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "1ed8fe274e3a77a7",
      "category": "configuration",
      "label": "SQC_BROWSER_EXECUTABLE",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "playwright.config.ts",
          "line": 12,
          "kind": "declared-config"
        },
        {
          "path": "playwright.query-classification.config.ts",
          "line": 14,
          "kind": "declared-config"
        },
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 52,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 53,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-smoke.ts",
          "line": 121,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d7f67684d830caa7",
      "category": "configuration",
      "label": "SQC_BROWSER_PORT",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "playwright.config.ts",
          "line": 3,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "7aea2de40efcf4f6",
      "category": "configuration",
      "label": "SQC_BROWSER_URL",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "playwright.config.ts",
          "line": 4,
          "kind": "declared-config"
        },
        {
          "path": "playwright.config.ts",
          "line": 13,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "a554ca8fadee0c0b",
      "category": "configuration",
      "label": "SQC_CAPACITY_ROWS",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/capacity.ts",
          "line": 11,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "598b9c62a0c2253f",
      "category": "configuration",
      "label": "SQC_DATA_DIR",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/doctor.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "scripts/local.ts",
          "line": 6,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/environment.ts",
          "line": 7,
          "kind": "observed-code"
        },
        {
          "path": "tests/browser/query-classification-fixture.ts",
          "line": 7,
          "kind": "observed-code"
        },
        {
          "path": "tests/integration/harness.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "0f963de5387577e0",
      "category": "configuration",
      "label": "SQC_DOWNLOAD_SIGNING_KEY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 30,
          "kind": "declared-config"
        },
        {
          "path": "src/lib/server/storage.ts",
          "line": 35,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b402e2c0f42e8cd1",
      "category": "configuration",
      "label": "SQC_HOSTED_SMOKE_ACCESS_CODE_FILE",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 43,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 44,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-smoke.ts",
          "line": 104,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "e3df150dd8afbc0b",
      "category": "configuration",
      "label": "SQC_HOSTED_SMOKE_BYPASS_URL_FILE",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 55,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 56,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 56,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 57,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "97419ccf05c33b5a",
      "category": "configuration",
      "label": "SQC_HOSTED_SMOKE_CLEANUP",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 21,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 21,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "36598dd9035388a6",
      "category": "configuration",
      "label": "SQC_HOSTED_SMOKE_CLEANUP_BACKUP",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 22,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 22,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d1285fb6d6ec1777",
      "category": "configuration",
      "label": "SQC_HOSTED_SMOKE_RECEIPT",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 22,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 22,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 43,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 44,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "1adfd1974bc75763",
      "category": "configuration",
      "label": "SQC_HOSTED_SMOKE_TEST_AUTH",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 39,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 40,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-smoke.ts",
          "line": 101,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "78dc3d4bf40674f3",
      "category": "configuration",
      "label": "SQC_HOSTED_SMOKE_URL",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 41,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 42,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-smoke.ts",
          "line": 103,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "6f3d4a30c400ec68",
      "category": "configuration",
      "label": "SQC_INPUT_DIR",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/audit-inputs.ts",
          "line": 13,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-private.ts",
          "line": 12,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d50afc93d152a1bc",
      "category": "configuration",
      "label": "SQC_LOCAL_DEV",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 8,
          "kind": "declared-config"
        },
        {
          "path": "scripts/backup.ts",
          "line": 2,
          "kind": "observed-code"
        },
        {
          "path": "scripts/local.ts",
          "line": 4,
          "kind": "observed-code"
        },
        {
          "path": "tests/integration/harness.ts",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a2439a64380e4a25",
      "category": "configuration",
      "label": "SQC_LOCAL_SERVER_PROOF",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/local.ts",
          "line": 7,
          "kind": "observed-code"
        },
        {
          "path": "scripts/local.ts",
          "line": 20,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/auth.ts",
          "line": 19,
          "kind": "observed-code"
        },
        {
          "path": "src/proxy.ts",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "98616541bcd0bec9",
      "category": "configuration",
      "label": "SQC_MODE",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 7,
          "kind": "declared-config"
        },
        {
          "path": "scripts/backup.ts",
          "line": 2,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 21,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 21,
          "kind": "observed-code"
        },
        {
          "path": "scripts/local.ts",
          "line": 4,
          "kind": "observed-code"
        },
        {
          "path": "tests/integration/harness.ts",
          "line": 8,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9b8378fde242a7d7",
      "category": "configuration",
      "label": "SQC_NEXT_DIR",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "next.config.ts",
          "line": 2,
          "kind": "declared-config"
        },
        {
          "path": "scripts/local.ts",
          "line": 6,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "590f8017986f369d",
      "category": "configuration",
      "label": "SQC_NODE",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/runtime.mjs",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "1b6da9242a2e9948",
      "category": "configuration",
      "label": "SQC_OPERATOR_IDS",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 10,
          "kind": "declared-config"
        },
        {
          "path": "scripts/install-corpus.ts",
          "line": 11,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 20,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "cb1cbf6074a53e81",
      "category": "configuration",
      "label": "SQC_PORT",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/local.ts",
          "line": 6,
          "kind": "observed-code"
        },
        {
          "path": "src/app/page.tsx",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/auth.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "3c9d03b7dcd50799",
      "category": "configuration",
      "label": "SQC_PYTHON",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/audit-inputs.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b295ab4c49823c42",
      "category": "configuration",
      "label": "SQC_QUERY_BROWSER_PORT",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "playwright.query-classification.config.ts",
          "line": 4,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "f16c1f4da9015890",
      "category": "configuration",
      "label": "SQC_SESSION_SECRET",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 20,
          "kind": "declared-config"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 33,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/session-auth.ts",
          "line": 36,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "de227d7f1db0935f",
      "category": "configuration",
      "label": "SQC_STORAGE_BUCKET",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 29,
          "kind": "declared-config"
        },
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 83,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 90,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/hosted-upload.ts",
          "line": 12,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/storage.ts",
          "line": 16,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/storage.ts",
          "line": 22,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/storage.ts",
          "line": 30,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "f5afdf2129379859",
      "category": "configuration",
      "label": "SQC_TEST_DATA_DIR",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/capacity.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-private.ts",
          "line": 10,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "c3181940c6adfaeb",
      "category": "configuration",
      "label": "SQC_TEST_ENQUEUE_FAILURE",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/import-service.ts",
          "line": 43,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "51c4b258c971f44f",
      "category": "configuration",
      "label": "SQC_WORKER_BATCH_SIZE",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/worker.ts",
          "line": 75,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "de26f4fe72c8f6e9",
      "category": "configuration",
      "label": "SQC_WORKER_LEASE_MS",
      "detail": "Configuration name referenced; actual value, required/optional status and provisioning are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/worker.ts",
          "line": 32,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "c55de7372d3d8ad3",
      "category": "configuration",
      "label": "SUPABASE_SERVICE_ROLE_KEY",
      "detail": "Declared in an environment template. Value discarded; provisioning and required/optional status are unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".env.example",
          "line": 27,
          "kind": "declared-config"
        },
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 83,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 90,
          "kind": "observed-code"
        },
        {
          "path": "scripts/doctor.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/hosted-upload.ts",
          "line": 12,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/models.ts",
          "line": 36,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/storage.ts",
          "line": 11,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "da4676811e361d2c",
      "category": "data",
      "label": "PostgreSQL",
      "detail": "Integration signal in source. Account ownership, provisioning and live connectivity are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "package.json",
          "line": 32,
          "kind": "declared-config"
        },
        {
          "path": "src/lib/server/db.ts",
          "line": 2,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "8c2558e0fe705afc",
      "category": "data",
      "label": "Schema / migration definition",
      "detail": "Schema-related source exists; database contents and applied migration state were not inspected.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609140001_sqc_authorization.sql",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "supabase/migrations/202609250003_kb_fk_indexes.sql",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "supabase/migrations/202609250005_kb_samhsa_directory.sql",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "supabase/migrations/202609250006_kb_samhsa_mental_health.sql",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "supabase/migrations/202610020001_sqc_server_only.sql",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "3dfca7964a7c8dd4",
      "category": "data",
      "label": "SQLite",
      "detail": "Integration signal in source. Account ownership, provisioning and live connectivity are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 16,
          "kind": "observed-code"
        },
        {
          "path": "scripts/provider_catalog_export.py",
          "line": 8,
          "kind": "observed-code"
        },
        {
          "path": "scripts/provider_catalog_lookup.py",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "scripts/provider_catalog_verify.py",
          "line": 10,
          "kind": "observed-code"
        },
        {
          "path": "scripts/test_provider_catalog.py",
          "line": 3,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b24f7e9b61caaec6",
      "category": "data",
      "label": "Supabase",
      "detail": "Mentioned in source documentation; implementation and account access need confirmation.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "AGENTS.md",
          "line": 9,
          "kind": "source-reported"
        },
        {
          "path": "docs/ARCHITECTURE.md",
          "line": 14,
          "kind": "source-reported"
        },
        {
          "path": "docs/DECISIONS.md",
          "line": 75,
          "kind": "source-reported"
        },
        {
          "path": "docs/OPERATIONS.md",
          "line": 46,
          "kind": "source-reported"
        },
        {
          "path": "docs/RECOVERY_PLAN.md",
          "line": 7,
          "kind": "source-reported"
        },
        {
          "path": "package.json",
          "line": 34,
          "kind": "declared-config"
        },
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b173cf342c21c119",
      "category": "devices",
      "label": "Browser automation",
      "detail": "Browser automation signal; browser binaries, host and permissions may be required.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": ".vercelignore",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "package.json",
          "line": 23,
          "kind": "declared-config"
        },
        {
          "path": "eslint.config.mjs",
          "line": 4,
          "kind": "observed-code"
        },
        {
          "path": "next.config.ts",
          "line": 2,
          "kind": "declared-config"
        },
        {
          "path": "playwright.config.ts",
          "line": 1,
          "kind": "declared-config"
        },
        {
          "path": "playwright.query-classification.config.ts",
          "line": 1,
          "kind": "declared-config"
        },
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 11,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 11,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "f25a1bf3e729569f",
      "category": "devices",
      "label": "Clipboard",
      "detail": "Clipboard access is referenced; permission and user gesture requirements need review.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 127,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 133,
          "kind": "observed-code"
        },
        {
          "path": "src/components/negative-review.tsx",
          "line": 98,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "1e0a3ffe38003b16",
      "category": "devices",
      "label": "Local filesystem access",
      "detail": "Filesystem reference; approved paths, read/write scope and operating identity need confirmation.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/audit-inputs.py",
          "line": 14,
          "kind": "observed-code"
        },
        {
          "path": "scripts/audit-inputs.ts",
          "line": 2,
          "kind": "observed-code"
        },
        {
          "path": "scripts/candidate-capacity.ts",
          "line": 3,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 6,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 6,
          "kind": "observed-code"
        },
        {
          "path": "scripts/doctor.ts",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/fixtures.ts",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/install-corpus-explanations.ts",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "57e8060de5ad3e87",
      "category": "devices",
      "label": "Local process access",
      "detail": "Source starts or inspects local processes. Commands, execution owner and machine access need review.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/audit-inputs.ts",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/runtime.mjs",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/setup-access-code.ts",
          "line": 2,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "5cf92b354d05cb63",
      "category": "observability",
      "label": "Application error logging",
      "detail": "Error logging call exists; destination, alerting, retention and redaction are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/audit-inputs.ts",
          "line": 10,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 90,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 97,
          "kind": "observed-code"
        },
        {
          "path": "scripts/local.ts",
          "line": 19,
          "kind": "observed-code"
        },
        {
          "path": "scripts/runtime.mjs",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "scripts/setup-access-code.ts",
          "line": 101,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 138,
          "kind": "observed-code"
        },
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 185,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "08dfc31148317f15",
      "category": "observability",
      "label": "Sentry",
      "detail": "Integration signal in source. Account ownership, provisioning and live connectivity are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "package.json",
          "line": 36,
          "kind": "declared-config"
        },
        {
          "path": "src/lib/server/monitoring.ts",
          "line": 3,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "0732c4807e900a6a",
      "category": "operations",
      "label": "Package script: audit:dependencies",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 15,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "19b14418764f6ae3",
      "category": "operations",
      "label": "Package script: audit:inputs",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 19,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "6db855aa136c4f51",
      "category": "operations",
      "label": "Package script: backup:local",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 18,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "35d7b8646248b527",
      "category": "operations",
      "label": "Package script: build",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 17,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "dc988bd7c50862a5",
      "category": "operations",
      "label": "Package script: corpus:install",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 12,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "089c64a49abe10eb",
      "category": "operations",
      "label": "Package script: dev:local",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 14,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "4ea46720e9a2149c",
      "category": "operations",
      "label": "Package script: doctor",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 13,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "d851a380a60c3cff",
      "category": "operations",
      "label": "Package script: lint",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 24,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "ec91371918b54eba",
      "category": "operations",
      "label": "Package script: start",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 20,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "23939afe1f4f14e3",
      "category": "operations",
      "label": "Package script: test",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 21,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "39601ed977e2d46d",
      "category": "operations",
      "label": "Package script: test:browser",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 23,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "8d39b1f82d42738d",
      "category": "operations",
      "label": "Package script: test:capacity",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 22,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "53ab2637c6128a81",
      "category": "operations",
      "label": "Package script: test:private",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 16,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "d445dc72d07376b9",
      "category": "operations",
      "label": "Package script: typecheck",
      "detail": "Declared command entry point. Command body omitted and never executed by this scanner.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 25,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "15b1b8f3234d939e",
      "category": "operations",
      "label": "recovery guidance",
      "detail": "Documentation section present. Instructions were not executed; inspect the linked section for context.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "docs/DECISIONS.md",
          "line": 450,
          "kind": "source-reported"
        },
        {
          "path": "docs/OPERATIONS.md",
          "line": 40,
          "kind": "source-reported"
        },
        {
          "path": "docs/RECOVERY_PLAN.md",
          "line": 1,
          "kind": "source-reported"
        }
      ]
    },
    {
      "id": "c541ae484fc5cd47",
      "category": "providers",
      "label": "Clerk",
      "detail": "Integration signal in source. Account ownership, provisioning and live connectivity are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "package.json",
          "line": 33,
          "kind": "declared-config"
        },
        {
          "path": "src/app/denied/page.tsx",
          "line": 2,
          "kind": "observed-code"
        },
        {
          "path": "src/app/layout.tsx",
          "line": 2,
          "kind": "observed-code"
        },
        {
          "path": "src/app/sign-in/[[...sign-in]]/page.tsx",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "src/components/workbench.tsx",
          "line": 3,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/auth.ts",
          "line": 25,
          "kind": "observed-code"
        },
        {
          "path": "src/proxy.ts",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "6a99cc786a31b840",
      "category": "providers",
      "label": "Inngest",
      "detail": "Mentioned in source documentation; implementation and account access need confirmation.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "docs/ARCHITECTURE.md",
          "line": 15,
          "kind": "source-reported"
        },
        {
          "path": "docs/DECISIONS.md",
          "line": 75,
          "kind": "source-reported"
        },
        {
          "path": "package.json",
          "line": 35,
          "kind": "declared-config"
        },
        {
          "path": "src/app/api/inngest/route.ts",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/inngest.ts",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "ada045097887e678",
      "category": "providers",
      "label": "OpenAI",
      "detail": "Mentioned in source documentation; implementation and account access need confirmation.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "docs/ARCHITECTURE.md",
          "line": 19,
          "kind": "source-reported"
        },
        {
          "path": "package.json",
          "line": 37,
          "kind": "declared-config"
        },
        {
          "path": "src/lib/server/research-adapter.ts",
          "line": 61,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "1583094693b94472",
      "category": "providers",
      "label": "Sentry",
      "detail": "Integration signal in source. Account ownership, provisioning and live connectivity are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "package.json",
          "line": 36,
          "kind": "declared-config"
        },
        {
          "path": "src/lib/server/monitoring.ts",
          "line": 3,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "fe8232ecc99de85e",
      "category": "providers",
      "label": "Supabase",
      "detail": "Mentioned in source documentation; implementation and account access need confirmation.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "AGENTS.md",
          "line": 9,
          "kind": "source-reported"
        },
        {
          "path": "docs/ARCHITECTURE.md",
          "line": 14,
          "kind": "source-reported"
        },
        {
          "path": "docs/DECISIONS.md",
          "line": 75,
          "kind": "source-reported"
        },
        {
          "path": "docs/OPERATIONS.md",
          "line": 46,
          "kind": "source-reported"
        },
        {
          "path": "docs/RECOVERY_PLAN.md",
          "line": 7,
          "kind": "source-reported"
        },
        {
          "path": "package.json",
          "line": 34,
          "kind": "declared-config"
        },
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 9,
          "kind": "observed-code"
        },
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "f6894bcdcb6e86c5",
      "category": "quality",
      "label": "Test sources present",
      "detail": "Test paths found in the tree; their contents and outcomes are not inferred from existence.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/test_provider_catalog.py",
          "line": 1,
          "kind": "declared-config"
        },
        {
          "path": "tests/browser/consolidated-knowledge.spec.ts",
          "line": 1,
          "kind": "declared-config"
        },
        {
          "path": "tests/browser/help.spec.ts",
          "line": 1,
          "kind": "declared-config"
        },
        {
          "path": "tests/browser/negative-library.spec.ts",
          "line": 1,
          "kind": "declared-config"
        },
        {
          "path": "tests/browser/origin-navigation.spec.ts",
          "line": 1,
          "kind": "declared-config"
        },
        {
          "path": "tests/browser/positive-library.spec.ts",
          "line": 1,
          "kind": "declared-config"
        },
        {
          "path": "tests/browser/query-classification-fixture.ts",
          "line": 1,
          "kind": "declared-config"
        },
        {
          "path": "tests/browser/query-classification.spec.ts",
          "line": 1,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "a60b7da16b5250e2",
      "category": "runtime",
      "label": "@clerk/nextjs",
      "detail": "dependencies: 7.9.2. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 33,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "e965826e9103bcff",
      "category": "runtime",
      "label": "@electric-sql/pglite",
      "detail": "dependencies: 0.5.8. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 31,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "799f13f492b85c0d",
      "category": "runtime",
      "label": "@playwright/test",
      "detail": "devDependencies: 1.63.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 58,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "2d7ebbb896b90bdc",
      "category": "runtime",
      "label": "@radix-ui/react-dialog",
      "detail": "dependencies: 1.1.23. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 44,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "4e67235f7d28892d",
      "category": "runtime",
      "label": "@sentry/nextjs",
      "detail": "dependencies: 10.74.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 36,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "b3d490b961f5776e",
      "category": "runtime",
      "label": "@supabase/supabase-js",
      "detail": "dependencies: 2.116.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 34,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "e8599c9f4fd174af",
      "category": "runtime",
      "label": "@tailwindcss/postcss",
      "detail": "devDependencies: 4.3.3. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 54,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "315a8c73963b648e",
      "category": "runtime",
      "label": "@tanstack/react-table",
      "detail": "dependencies: 9.2.4. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 43,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "e3736004beb422c2",
      "category": "runtime",
      "label": "@types/node",
      "detail": "devDependencies: 22.20.2. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 50,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "cfe014054231b8d0",
      "category": "runtime",
      "label": "@types/react",
      "detail": "devDependencies: 19.3.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 51,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "f651d87067f47deb",
      "category": "runtime",
      "label": "@types/react-dom",
      "detail": "devDependencies: 19.3.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 52,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "ee7988e1839d601d",
      "category": "runtime",
      "label": "csv-parse",
      "detail": "dependencies: 7.0.2. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 39,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "8ddc4cd92eac4a62",
      "category": "runtime",
      "label": "csv-stringify",
      "detail": "dependencies: 6.8.3. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 40,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "6bb694580599caed",
      "category": "runtime",
      "label": "decimal.js",
      "detail": "dependencies: 10.6.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 41,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "cb0eddc0dba7ce93",
      "category": "runtime",
      "label": "eslint",
      "detail": "devDependencies: 9.39.5. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 55,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "896ee5bbfadd54d3",
      "category": "runtime",
      "label": "eslint-config-next",
      "detail": "devDependencies: 16.3.8. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 56,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "9e600cdc677b90bf",
      "category": "runtime",
      "label": "exceljs",
      "detail": "dependencies: 4.4.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 38,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "5dc911e5b8fb6a3c",
      "category": "runtime",
      "label": "inngest",
      "detail": "dependencies: 4.20.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 35,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "b05715c7455a2570",
      "category": "runtime",
      "label": "lucide-react",
      "detail": "dependencies: 1.46.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 45,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "10cfc88faa81e42e",
      "category": "runtime",
      "label": "next",
      "detail": "dependencies: 16.3.8. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 28,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "aedbdfba62ede6d3",
      "category": "runtime",
      "label": "node engine",
      "detail": "Declared compatibility: 24.x.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 6,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "bf4a3fb329fce040",
      "category": "runtime",
      "label": "npm engine",
      "detail": "Declared compatibility: 11.10.0.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 6,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "fd4c579036174c92",
      "category": "runtime",
      "label": "openai",
      "detail": "dependencies: 7.15.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 37,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "26d4bfabae9f74b4",
      "category": "runtime",
      "label": "Package manager",
      "detail": "npm@11.10.0",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 10,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "d2ae1cd42246097a",
      "category": "runtime",
      "label": "postgres",
      "detail": "dependencies: 3.4.9. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 32,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "70505e863517d4f4",
      "category": "runtime",
      "label": "Python source",
      "detail": "Python source is present. The required interpreter, installed packages and launch environment need confirmation.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/audit-inputs.py",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/provider_catalog_export.py",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/provider_catalog_fetch.py",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/provider_catalog_lookup.py",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/provider_catalog_verify.py",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "scripts/test_provider_catalog.py",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "cdfa6dc8881cafbe",
      "category": "runtime",
      "label": "react",
      "detail": "dependencies: 19.3.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 29,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "09524994bc77a1ad",
      "category": "runtime",
      "label": "react-dom",
      "detail": "dependencies: 19.3.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 30,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "dce8beb7bbe6e6c2",
      "category": "runtime",
      "label": "tailwindcss",
      "detail": "devDependencies: 4.3.3. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 53,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "becf8b88e6b2ca8d",
      "category": "runtime",
      "label": "tsx",
      "detail": "devDependencies: 4.23.13. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 49,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "6f6c9bb48511313d",
      "category": "runtime",
      "label": "typescript",
      "detail": "devDependencies: 5.9.3. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 48,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "d5995297e7fec4ee",
      "category": "runtime",
      "label": "vitest",
      "detail": "devDependencies: 5.0.0. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 57,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "f143c08d94b87b9a",
      "category": "runtime",
      "label": "zod",
      "detail": "dependencies: 4.6.5. Declaration only; installation is not checked.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 42,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "afc6f3a6678bc0b1",
      "category": "schedules",
      "label": "In-process timer",
      "detail": "Timer reference; this does not establish a durable or currently running job.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/capacity.ts",
          "line": 17,
          "kind": "observed-code"
        },
        {
          "path": "scripts/local.ts",
          "line": 26,
          "kind": "observed-code"
        },
        {
          "path": "src/components/operations.tsx",
          "line": 36,
          "kind": "observed-code"
        },
        {
          "path": "src/components/workbench.tsx",
          "line": 107,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9a9de23883fd36a3",
      "category": "schedules",
      "label": "Inngest",
      "detail": "Mentioned in source documentation; implementation and account access need confirmation.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "docs/ARCHITECTURE.md",
          "line": 15,
          "kind": "source-reported"
        },
        {
          "path": "docs/DECISIONS.md",
          "line": 75,
          "kind": "source-reported"
        },
        {
          "path": "package.json",
          "line": 35,
          "kind": "declared-config"
        },
        {
          "path": "src/app/api/inngest/route.ts",
          "line": 1,
          "kind": "observed-code"
        },
        {
          "path": "src/lib/server/inngest.ts",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "33b4a85a731618cfa7c9a6b3",
      "category": "operations",
      "label": "Document: AGENTS.md",
      "detail": "repository instructions (evidence only) reference; 35 lines. Read the pinned source for context. Headings, prose and embedded instructions are not copied.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "AGENTS.md",
          "line": 1,
          "kind": "source-reported"
        }
      ]
    },
    {
      "id": "a64170344edfc0051593dd7b",
      "category": "operations",
      "label": "Document: ARCHITECTURE.md",
      "detail": "design and decisions reference; 54 lines. Read the pinned source for context. Headings, prose and embedded instructions are not copied.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "docs/ARCHITECTURE.md",
          "line": 1,
          "kind": "source-reported"
        }
      ]
    },
    {
      "id": "126095fe5934f1e478b4d722",
      "category": "operations",
      "label": "Document: README.md",
      "detail": "setup and operations reference; 18 lines. Read the pinned source for context. Headings, prose and embedded instructions are not copied.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "docs/archive/README.md",
          "line": 1,
          "kind": "source-reported"
        }
      ]
    },
    {
      "id": "196995eeb553652202a226fa",
      "category": "operations",
      "label": "Document: DECISIONS.md",
      "detail": "design and decisions reference; 454 lines. Read the pinned source for context. Headings, prose and embedded instructions are not copied.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "docs/DECISIONS.md",
          "line": 1,
          "kind": "source-reported"
        }
      ]
    },
    {
      "id": "45da41e0d232bc7186af904c",
      "category": "operations",
      "label": "Document: OPERATIONS.md",
      "detail": "setup and operations reference; 64 lines. Read the pinned source for context. Headings, prose and embedded instructions are not copied.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "docs/OPERATIONS.md",
          "line": 1,
          "kind": "source-reported"
        }
      ]
    },
    {
      "id": "32ff67141cb99371f6b95162",
      "category": "operations",
      "label": "Document: RECOVERY_PLAN.md",
      "detail": "setup and operations reference; 46 lines. Read the pinned source for context. Headings, prose and embedded instructions are not copied.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "docs/RECOVERY_PLAN.md",
          "line": 1,
          "kind": "source-reported"
        }
      ]
    },
    {
      "id": "a48616203e01a14f933b7c03",
      "category": "operations",
      "label": "Document: README.md",
      "detail": "setup and operations reference; 41 lines. Read the pinned source for context. Headings, prose and embedded instructions are not copied.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "README.md",
          "line": 1,
          "kind": "source-reported"
        }
      ]
    },
    {
      "id": "4fb1538e27be913bc0cef528",
      "category": "operations",
      "label": "Document: STATE.md",
      "detail": "state or handoff reference; 34 lines. Read the pinned source for context. Headings, prose and embedded instructions are not copied.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "STATE.md",
          "line": 1,
          "kind": "source-reported"
        }
      ]
    },
    {
      "id": "25142b23ba3489ca8ceb017a",
      "category": "schedules",
      "label": "Guard-name candidate: RESEARCH_ENABLED",
      "detail": "A flag name appears in source; its default, scope and enforcement on jobs or writes are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": ".env.example",
          "line": 37,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "7a339ee8a1df9c4035beca51",
      "category": "runtime",
      "label": "Runtime pin: .node-version",
      "detail": "Declared runtime: 24.19.0. Availability on the operating machine is unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": ".node-version",
          "line": 1,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "f2cc28fa6f581f440ab22ed7",
      "category": "operations",
      "label": "Run route: corpus:install",
      "detail": "Declared invocation: npm run corpus:install. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 12,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "90338796e4dcbbdaf42c3849",
      "category": "operations",
      "label": "Run route: doctor",
      "detail": "Declared invocation: npm run doctor. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 13,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "9bec6fad86d256751a14ddaa",
      "category": "operations",
      "label": "Run route: dev:local",
      "detail": "Declared invocation: npm run dev:local. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 14,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "58e1196d163187799fc04fb6",
      "category": "operations",
      "label": "Run route: audit:dependencies",
      "detail": "Declared invocation: npm run audit:dependencies. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 15,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "d833200f756da682e2c8faf3",
      "category": "operations",
      "label": "Run route: test:private",
      "detail": "Declared invocation: npm run test:private. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 16,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "db186cb66abe736d38e23a94",
      "category": "operations",
      "label": "Run route: build",
      "detail": "Declared invocation: npm run build. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 17,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "917710cb8d6099c231988c74",
      "category": "operations",
      "label": "Run route: backup:local",
      "detail": "Declared invocation: npm run backup:local. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 18,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "b798df0586979d65f5f0d060",
      "category": "operations",
      "label": "Run route: audit:inputs",
      "detail": "Declared invocation: npm run audit:inputs. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 19,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "311ccd8886b84bbe380df5b1",
      "category": "operations",
      "label": "Run route: start",
      "detail": "Declared invocation: npm run start. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 20,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "90fb38b9697e4f87cb00be36",
      "category": "operations",
      "label": "Run route: test",
      "detail": "Declared invocation: npm run test. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 21,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "6f3d6ebeae8e5802e57133af",
      "category": "operations",
      "label": "Run route: test:capacity",
      "detail": "Declared invocation: npm run test:capacity. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 22,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "453892943ded7dd0bb8bba49",
      "category": "operations",
      "label": "Run route: test:browser",
      "detail": "Declared invocation: npm run test:browser. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 23,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "c9747ee19d8ea998c8ce7bd1",
      "category": "operations",
      "label": "Run route: lint",
      "detail": "Declared invocation: npm run lint. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 24,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "51cfb4e35d34e14ae829cff1",
      "category": "operations",
      "label": "Run route: typecheck",
      "detail": "Declared invocation: npm run typecheck. Run from the package directory; script body omitted and execution unverified.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "package.json",
          "line": 25,
          "kind": "declared-config"
        }
      ]
    },
    {
      "id": "8f901f893ee58f11e6de0939",
      "category": "data",
      "label": "Table reference: sqc_schema",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/schema.sql",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9799a6f5ebbd1308958ba692",
      "category": "data",
      "label": "Table reference: sqc_state",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/schema.sql",
          "line": 2,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "32c8f703384f4a3143535721",
      "category": "data",
      "label": "Table reference: sqc_documents",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/schema.sql",
          "line": 4,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "8cd171b8b7680b47de6b215d",
      "category": "data",
      "label": "Table reference: sqc_runs",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/schema.sql",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d11652db5ebb468087c1a5fa",
      "category": "data",
      "label": "Table reference: sqc_jobs",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/schema.sql",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "be02ac5957fd249440c97a50",
      "category": "data",
      "label": "Table reference: sqc_rows",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/schema.sql",
          "line": 11,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "236d7b5db41deb620d623c9e",
      "category": "data",
      "label": "Table reference: sqc_queries",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/schema.sql",
          "line": 13,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "383632d4051e1a4118b56a35",
      "category": "data",
      "label": "Table reference: sqc_results",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/schema.sql",
          "line": 14,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "e0144a8ebabbff157bb54525",
      "category": "data",
      "label": "Table reference: sqc_audit",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/lib/server/schema.sql",
          "line": 18,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a943d37d96b8176b6dc6c703",
      "category": "data",
      "label": "Table reference: sqc_private.operators",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609140001_sqc_authorization.sql",
          "line": 6,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9bcd7f52d8a0dea8797e38e6",
      "category": "data",
      "label": "Table reference: public.",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609140001_sqc_authorization.sql",
          "line": 19,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "78f3274576f3348a08ada797",
      "category": "access",
      "label": "Row-security declaration",
      "detail": "DDL references row-level security. This does not establish deployed policies, role coverage or effective authorization.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "supabase/migrations/202609140001_sqc_authorization.sql",
          "line": 19,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b09eab854e147323cc8f6575",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "supabase/migrations/202609140001_sqc_authorization.sql",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "0d819e6019f89384f5e05342",
      "category": "access",
      "label": "Login allowlist",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "supabase/migrations/202609140001_sqc_authorization.sql",
          "line": 14,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "e23a8c2d4b0297e000d2285b",
      "category": "data",
      "label": "Table reference: kb.categories",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 15,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "3623394b2ca0d563a678d3ad",
      "category": "data",
      "label": "Table reference: kb.attach_groups",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 24,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "aab138ec15c880960b800f1f",
      "category": "data",
      "label": "Table reference: kb.topics",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 33,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "cc789ed8b66baa6c75a6c092",
      "category": "data",
      "label": "Table reference: kb.decisions",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 42,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "aa52aab941451fe78ae43a5a",
      "category": "data",
      "label": "Table reference: kb.profiles",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 52,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "87d15376bef7d051a24717da",
      "category": "data",
      "label": "Table reference: kb.imports",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 61,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "bdc9ea90454a50a67708b03a",
      "category": "data",
      "label": "Table reference: kb.search_terms",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 71,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "dafe3fbace2902c41c311931",
      "category": "data",
      "label": "Table reference: kb.queries",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 91,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9ffeff4192d234b00a3aead1",
      "category": "data",
      "label": "Table reference: kb.brands",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 106,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "bbb2fa3b64882acfc581a567",
      "category": "data",
      "label": "Table reference: kb.protected_searches",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 119,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "89d738223d28c455ac4a891d",
      "category": "data",
      "label": "Table reference: kb.negative_keywords",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 129,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "3454ac8c09a229190a82ee0a",
      "category": "data",
      "label": "Table reference: kb.negative_keyword_history",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 167,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "315885b645f08643e7e2a24d",
      "category": "data",
      "label": "Table reference: kb.",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 297,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "493019445169389eb864aa05",
      "category": "access",
      "label": "Row-security declaration",
      "detail": "DDL references row-level security. This does not establish deployed policies, role coverage or effective authorization.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 297,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "81dcac6483b835bad9aa6e7c",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "supabase/migrations/202609250001_sqc_knowledge_base.sql",
          "line": 3,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d6adb30a797ad2ceacd6f64c",
      "category": "data",
      "label": "Table reference: kb.samhsa_service_codes",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250005_kb_samhsa_directory.sql",
          "line": 5,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "528776f22fd0dd34fcb236d1",
      "category": "data",
      "label": "Table reference: kb.samhsa_facilities",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250005_kb_samhsa_directory.sql",
          "line": 14,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "4c2241ae9b89eab6fbb77f5b",
      "category": "data",
      "label": "Table reference: kb.samhsa_brand_matches",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250005_kb_samhsa_directory.sql",
          "line": 45,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a5f0a479e1fb364a288d11ad",
      "category": "data",
      "label": "Table reference: kb.",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250005_kb_samhsa_directory.sql",
          "line": 59,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "95c42a31f29835aa2baa22cb",
      "category": "access",
      "label": "Row-security declaration",
      "detail": "DDL references row-level security. This does not establish deployed policies, role coverage or effective authorization.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "supabase/migrations/202609250005_kb_samhsa_directory.sql",
          "line": 59,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "bb873d32dfd1ac73f6043fcf",
      "category": "data",
      "label": "Table reference: kb.samhsa_facilities",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250006_kb_samhsa_mental_health.sql",
          "line": 5,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d2e9662c850906905a55b538",
      "category": "data",
      "label": "Table reference: kb.samhsa_facilities",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250006_kb_samhsa_mental_health.sql",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "ae936f651d2a9812be302a3c",
      "category": "data",
      "label": "Table reference: kb.samhsa_facilities",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202609250006_kb_samhsa_mental_health.sql",
          "line": 8,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "7a84d6f80b64133b0476f15f",
      "category": "data",
      "label": "Table reference: public.",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/202610020001_sqc_server_only.sql",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "246a5a291dc4c69602f25383",
      "category": "access",
      "label": "Row-security declaration",
      "detail": "DDL references row-level security. This does not establish deployed policies, role coverage or effective authorization.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "supabase/migrations/202610020001_sqc_server_only.sql",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "60738530cb0ade2fa2759631",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "supabase/migrations/202610020001_sqc_server_only.sql",
          "line": 14,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a27066834334fed18dda9dba",
      "category": "data",
      "label": "Table reference: sqc_knowledge.releases",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 6,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a1130184ee8f91ff9f83ad40",
      "category": "data",
      "label": "Table reference: sqc_knowledge.sources",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 14,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "cf15f2c1b6dfcc2bc46a8fef",
      "category": "data",
      "label": "Table reference: sqc_knowledge.records",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 29,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "2e943574f16bdba40edda0b3",
      "category": "data",
      "label": "Table reference: sqc_knowledge.negative_candidates",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 47,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "7d558c2f0ba944ebe84a0cf4",
      "category": "data",
      "label": "Table reference: sqc_knowledge.releases",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 96,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a56194fbd0c435596f2f55d5",
      "category": "data",
      "label": "Table reference: sqc_knowledge.sources",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 97,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "862f101a2783a7bdcfc40a3b",
      "category": "data",
      "label": "Table reference: sqc_knowledge.records",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 98,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d4268afe2a4aef7b43193c92",
      "category": "data",
      "label": "Table reference: sqc_knowledge.negative_candidates",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 99,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "1d0a8eec815af24cb148cb63",
      "category": "access",
      "label": "Row-security declaration",
      "detail": "DDL references row-level security. This does not establish deployed policies, role coverage or effective authorization.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "supabase/migrations/20261005083109_consolidated_knowledge_draft.sql",
          "line": 96,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "296a706c6cbc411530255604",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 18,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "da5322e63630e5a3182fd28d",
      "category": "apis",
      "label": "Write-call candidate: remove",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/cleanup-hosted-review.ts",
          "line": 84,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d7289c96dd8df8140657b879",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 18,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "4b0595007554dce0dbc4a72c",
      "category": "apis",
      "label": "Write-call candidate: remove",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/cleanup-hosted-rules.ts",
          "line": 91,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "76cd0fd8f537214748c417d8",
      "category": "data",
      "label": "Table reference: sources",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 119,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "c155229ca4b5ddd3fe16d7a9",
      "category": "data",
      "label": "Table reference: taxonomy",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 120,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "f647acea143c9e98ff557909",
      "category": "data",
      "label": "Table reference: records",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 121,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "df3b344ef6a1a9dfb7a46678",
      "category": "data",
      "label": "Table reference: names",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 126,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "2a355ac931448d159652d048",
      "category": "data",
      "label": "Table reference: categories",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 129,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "c8dab268381784f78deddeb7",
      "category": "data",
      "label": "Table reference: locations",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 131,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "358ea338749688c717e9b4c1",
      "category": "data",
      "label": "Table reference: ingest_stats",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 134,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9b9e9ff95714072501cbb953",
      "category": "data",
      "label": "Table reference: name_catalog",
      "detail": "Schema DDL reference. No rows, column defaults, credentials or SQL bodies retained; applied state, ownership and access remain unknown.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "scripts/provider_catalog_build.py",
          "line": 376,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "680d2477676ba9292080127b",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/provider_catalog_fetch.py",
          "line": 39,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "8903bcb3aa4548ec8e383366",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/provider_catalog_fetch.py",
          "line": 71,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "8ab7bc74ec4b700f833f0542",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/provider_catalog_lookup.py",
          "line": 31,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "f0af1468bc05a4dccec57596",
      "category": "access",
      "label": "Login allowlist",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/setup-access-code.ts",
          "line": 79,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9beba04434d316bb4e790f6e",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/test_provider_catalog.py",
          "line": 66,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9439b3385df9b2f7bb548957",
      "category": "schedules",
      "label": "Guard-name candidate: UNSELECTED_PHRASE_ENABLED",
      "detail": "A flag name appears in source; its default, scope and enforcement on jobs or writes are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 104,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "20db830622b91d23a746172f",
      "category": "schedules",
      "label": "Guard-name candidate: PAID_RESEARCH_BUTTON_ENABLED",
      "detail": "A flag name appears in source; its default, scope and enforcement on jobs or writes are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/verify-hosted-review.ts",
          "line": 115,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "bad6513889f9c0c1a1848bbe",
      "category": "schedules",
      "label": "Guard-name candidate: UNSELECTED_PHRASE_ENABLED",
      "detail": "A flag name appears in source; its default, scope and enforcement on jobs or writes are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 110,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "074ba8a8bfc97679bc3ab314",
      "category": "schedules",
      "label": "Guard-name candidate: PAID_RESEARCH_BUTTON_ENABLED",
      "detail": "A flag name appears in source; its default, scope and enforcement on jobs or writes are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/verify-hosted-rules.ts",
          "line": 121,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "2f46c8695c2075126c51caca",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/verify-hosted-smoke.ts",
          "line": 73,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "1c716528a9953fc699e0aa8e",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "scripts/verify-private.ts",
          "line": 17,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "0dd83694ac3c373cb7ae72bd",
      "category": "access",
      "label": "Login allowlist",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/app/denied/page.tsx",
          "line": 6,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "c36e4c26b8cf4b3ed583199c",
      "category": "apis",
      "label": "Web-page entry",
      "detail": "Page source exists; route reachability and access controls remain unverified. This is not classified as an API endpoint.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/denied/page.tsx",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "01b418bf5ee53ab449897cc3",
      "category": "apis",
      "label": "Web-page entry",
      "detail": "Page source exists; route reachability and access controls remain unverified. This is not classified as an API endpoint.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/page.tsx",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "6d3e4fa87f4f5ce14d905fab",
      "category": "access",
      "label": "Login allowlist",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/app/sign-in/[[...sign-in]]/page.tsx",
          "line": 14,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "fb2afc380f40f5dce74cc5a1",
      "category": "apis",
      "label": "Web-page entry",
      "detail": "Page source exists; route reachability and access controls remain unverified. This is not classified as an API endpoint.",
      "confidence": "direct",
      "evidence": [
        {
          "path": "src/app/sign-in/[[...sign-in]]/page.tsx",
          "line": 1,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "ac8c1e27d45ba50d3ea5b823",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/components/client.ts",
          "line": 50,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "aaa638c5b997515caeb02ebe",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/components/negative-keywords.tsx",
          "line": 28,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "35b98f9866ea44db5bbe714d",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/components/negative-keywords.tsx",
          "line": 30,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9649aa843079ec9af0c9b83b",
      "category": "access",
      "label": "Login allowlist",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/components/operations.tsx",
          "line": 94,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "d81d41c1eb86edc0a43de2f7",
      "category": "operations",
      "label": "Logic pointer: createCorpusClassifier",
      "detail": "Function-name candidate for domain logic. Inspect this source location for meaning; formulas, thresholds and function bodies are not copied.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/domain/corpus.ts",
          "line": 136,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a2010b6d0fbbfcdf6ebe4118",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/domain/exports.ts",
          "line": 160,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "e018300b6b5b421dd224020a",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/domain/recognition.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a2a561a2ad8e861a5ff60de4",
      "category": "operations",
      "label": "Logic pointer: classifyQuery",
      "detail": "Function-name candidate for domain logic. Inspect this source location for meaning; formulas, thresholds and function bodies are not copied.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/domain/recognition.ts",
          "line": 86,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "3cc77d44a659633f48812c84",
      "category": "operations",
      "label": "Logic pointer: createClassifier",
      "detail": "Function-name candidate for domain logic. Inspect this source location for meaning; formulas, thresholds and function bodies are not copied.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/domain/recognition.ts",
          "line": 131,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "deef37358a10736856551a81",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/imports/parsers.ts",
          "line": 11,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "1e4a9c752022cc76c8487b07",
      "category": "access",
      "label": "Login allowlist",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/auth.ts",
          "line": 27,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "69a3f3724053e9b7220e7500",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/brand-knowledge.ts",
          "line": 23,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "8ae0da145c423b067a217510",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/brand-knowledge.ts",
          "line": 27,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "5382a3b76e11b11e31e4f79b",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/corpus.ts",
          "line": 88,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "f27d94c8c08f2e024e1e81fe",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/corpus.ts",
          "line": 92,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "12ba62e1cceb6572ea7084df",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/corpus.ts",
          "line": 132,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "ecdd526c21c5a56461c95463",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/corpus.ts",
          "line": 135,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "623138d3451d99e011a0bcae",
      "category": "operations",
      "label": "Logic pointer: classifierForSnapshot",
      "detail": "Function-name candidate for domain logic. Inspect this source location for meaning; formulas, thresholds and function bodies are not copied.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/corpus.ts",
          "line": 143,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "071ee03463d91d3483612ed8",
      "category": "operations",
      "label": "Logic pointer: classifierWithCorpus",
      "detail": "Function-name candidate for domain logic. Inspect this source location for meaning; formulas, thresholds and function bodies are not copied.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/corpus.ts",
          "line": 158,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "2202115fbc1a08b865287986",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/export-service.ts",
          "line": 224,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b622ea6952132115600f0f3c",
      "category": "apis",
      "label": "Write-call candidate: remove",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/hosted-upload.ts",
          "line": 27,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "33e519d154faedca4687ce62",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/hosted-upload.ts",
          "line": 16,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "c6945521ed7a8a0880a16d5e",
      "category": "operations",
      "label": "Logic pointer: normalizedOptions",
      "detail": "Function-name candidate for domain logic. Inspect this source location for meaning; formulas, thresholds and function bodies are not copied.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/import-custom.ts",
          "line": 8,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b09e5d81b8c78cacc54d9b85",
      "category": "schedules",
      "label": "Function declaration: sqc-durable-job-sweep",
      "detail": "Background-function configuration candidate. Trigger, retries, concurrency, deployment and enabled state require review.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/inngest.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "a4dad168830286e403467db4",
      "category": "schedules",
      "label": "Trigger candidate: cron",
      "detail": "Source-declared cron value: * * * * *. Parent job and activation need confirmation.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/inngest.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "ec55e3b27cdf9c87c8a3dfd3",
      "category": "schedules",
      "label": "Concurrency declaration",
      "detail": "Literal configuration value: 1. Which job/process it limits and whether it is active require review.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/inngest.ts",
          "line": 7,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "ee7d8b1fbfb656951708394d",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/models.ts",
          "line": 35,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "eeca926d9bfe84864c839e0c",
      "category": "access",
      "label": "Login allowlist",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/models.ts",
          "line": 37,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "862d83321671005f44cd1877",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/negative-service.ts",
          "line": 79,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "874931cc024b373d24aaef17",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/positive-service.ts",
          "line": 22,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "f969e25d8e82e0952ee1135e",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/recommendations.ts",
          "line": 16,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "b82bf4b6db0fe1eccce1ef65",
      "category": "schedules",
      "label": "Guard-name candidate: RESEARCH_ENABLED",
      "detail": "A flag name appears in source; its default, scope and enforcement on jobs or writes are unverified.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/research-adapter.ts",
          "line": 104,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "80a827c524db670d8a89e5a3",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/research-adapter.ts",
          "line": 66,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "13756fc667c7a388be0a035e",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/research-service.ts",
          "line": 18,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "dc4ae3ea140c98025a307edf",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/rule-service.ts",
          "line": 126,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "9203313d243eee2cab09efbe",
      "category": "operations",
      "label": "Logic pointer: reclassify",
      "detail": "Function-name candidate for domain logic. Inspect this source location for meaning; formulas, thresholds and function bodies are not copied.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/service.ts",
          "line": 25,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "0c636e6998ed8109e8b7bd60",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/session-auth.ts",
          "line": 37,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "76b9b76a721d558615965008",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/session-auth.ts",
          "line": 44,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "c5c3101754fe59c4d186c4e3",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/session-auth.ts",
          "line": 57,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "8a71371f4d2f4469b479c25a",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/session-auth.ts",
          "line": 97,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "1889707f46f76efa6b9ebd49",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/storage.ts",
          "line": 9,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "264f0c6551942924649e5b69",
      "category": "apis",
      "label": "Write-call candidate: upload",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/storage.ts",
          "line": 16,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "bd6d6a951a17ff67bd1f9c3e",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/storage.ts",
          "line": 38,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "09b3614837dc6dc95d4293e9",
      "category": "apis",
      "label": "Write-call candidate: update",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/storage.ts",
          "line": 39,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "26fce3089131048dc3d5a83e",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/storage.ts",
          "line": 31,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "139393175ab544aef9383464",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/worker.ts",
          "line": 40,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "8b4d66dbb41454e77456910c",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/worker.ts",
          "line": 151,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "ae3818847a35ab4d1384fad0",
      "category": "apis",
      "label": "Write-call candidate: delete",
      "detail": "Method-name signal only; this may be a local collection or optional path. Review the receiver, destination, payload and guard before classifying an external write.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/workspace.ts",
          "line": 13,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "efe9478c8fa988d35e05c2db",
      "category": "operations",
      "label": "Logic pointer: normalized",
      "detail": "Function-name candidate for domain logic. Inspect this source location for meaning; formulas, thresholds and function bodies are not copied.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/lib/server/workspace.ts",
          "line": 100,
          "kind": "observed-code"
        }
      ]
    },
    {
      "id": "481586f58cd1851f1580115f",
      "category": "access",
      "label": "API-key or authorization header",
      "detail": "Source signal only. Review enforcement, caller identity, scopes and bypass paths; no hosted-access conclusion is inferred.",
      "confidence": "inferred",
      "evidence": [
        {
          "path": "src/proxy.ts",
          "line": 5,
          "kind": "observed-code"
        }
      ]
    }
  ],
  "coverage": {
    "listed": 273,
    "eligible": 136,
    "inspected": 136,
    "skipped": 137,
    "failed": 0,
    "bytes": 1161826,
    "treeTruncated": false,
    "limited": false
  },
  "gaps": [
    "Static inspection does not verify runtime health, current use, provisioning, live schedules, service account access or deployed/source alignment.",
    "Only bounded source/configuration files are inspected. Secret files, data exports, binaries, history and raw source text are excluded from results.",
    "Unknown or dynamically constructed integrations and configuration names may not be detected. Human review is still needed.",
    "Deep scan: more source and candidate detectors, with an adjacent versioned receipt. Candidate calls and tracking matches still require interpretation."
  ],
  "changes": {
    "previousSha": "8270385c5e469730a571d27c9f8ad40772c1fac7",
    "added": 83,
    "removed": 0
  }
}
