{
  "schemaVersion": 1,
  "generatedAt": "2026-08-17T18:31:58.016Z",
  "generationKey": "8aee276bcf7d9572f3e7e8c055fab9e4aadca92c9b5843a1ac4903a0e9636c92",
  "metadataPayloadSha256": "2f724fe77694b24ec2933008b7d2457b4171cf1162f4bac79e79183a5f258f5f",
  "diagram": {
    "id": "conduit-system-architecture-c5ad3b84",
    "title": "Conduit — system architecture",
    "description": "Rectangles are API routes and server services, cylinders are workspace tables under row-level security, and the stadium is the customer's external database. Every execution edge passes through the governed executor; no surface reaches an engine adapter directly.",
    "status": "current",
    "canonicalAppearanceKey": "tsx:src/app/(docs)/docs/modules/conduit/page.tsx:systemArchitectureChart#1"
  },
  "aliases": [],
  "concepts": [
    "System architecture",
    "Public surface",
    "In-platform callers",
    "Data services",
    "Modules",
    "Conduit"
  ],
  "keywords": [
    "kb_data_discover + kb_data_lookup (MCP tools)",
    "GET (API)",
    "POST {slug}/run (API)",
    "Agent kb_data tool (service)",
    "store, append-only",
    "Structured-query data bridge (service)",
    "Connector + query catalog (service)",
    "Entity-binding resolver (service)",
    "Governed executor (service)",
    "Entitlement gate (service)",
    "Customer databases (external)",
    "Engine adapters: postgres / mysql / snowflake (service)",
    "/api/v1/data/connectors",
    "/api/v1/data/queries",
    "slug",
    "store"
  ],
  "mermaid": {
    "type": "flowchart",
    "direction": "TB",
    "sourceSha256": "c5ad3b8428ed5aba3e7fa7b2763a103430daabf3fe273d80bd638c9d39c17296"
  },
  "provenance": [
    {
      "appearanceKey": "tsx:src/app/(docs)/docs/modules/conduit/page.tsx:systemArchitectureChart#1",
      "surface": "route",
      "sourcePath": "src/app/(docs)/docs/modules/conduit/page.tsx",
      "line": 57,
      "route": "/docs/modules/conduit",
      "symbol": "systemArchitectureChart",
      "caption": "Rectangles are API routes and server services, cylinders are workspace tables under row-level security, and the stadium is the customer's external database. Every execution edge passes through the governed executor; no surface reaches an engine adapter directly."
    }
  ],
  "embeddedMetadata": [
    {
      "sourcePath": "src/app/(docs)/docs/modules/conduit/page.tsx",
      "caption": "Rectangles are API routes and server services, cylinders are workspace tables under row-level security, and the stadium is the customer's external database. Every execution edge passes through the governed executor; no surface reaches an engine adapter directly."
    }
  ],
  "generation": {
    "application": {
      "name": "eli-ai",
      "version": "0.1.0"
    },
    "environment": {
      "node": "v26.3.1",
      "yarn": "4.17.1",
      "platform": "linux",
      "architecture": "x64",
      "containerImage": "playwright:v1.62.1-noble@sha256:c091b21d9fae78c76e85cd4356431e9b018402f172a214fc7d7a5e9a7e29d8ac+node:26.3.1-bookworm-slim@sha256:209558c3e5e40e8adff68959d3c2ba7cd73723e716d89196878a0c362fa1e109"
    },
    "packages": {
      "mermaid": "11.16.0",
      "mermaidCli": "11.16.0",
      "playwright": "1.62.1",
      "playwrightCore": "1.62.1",
      "puppeteer": "25.6.0",
      "puppeteerCore": "25.6.0"
    },
    "renderer": {
      "mermaidConfigSha256": "68c10966fe84406ee626034d58bfabd555df9f65f691204b7c46db24038da101",
      "themeCssSha256": "c80287a78d80ad63d27bd5ca348b2ef9a7e2f44da289e436be6484ea28a1b033",
      "browser": {
        "name": "chromium",
        "revision": "1234",
        "version": "151.0.7922.34",
        "executableSha256": "0b20b130e7edd9dd51873be867761295fe0cfad490c2b9a64f95bd3cfc08fa71"
      },
      "font": {
        "family": "Eli Diagram Inter Variable",
        "fileSha256": "3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62",
        "licenseSha256": "3b0a5fca3d17942cde889069889dedbbbd075e9b599968c82a95f4d944e9b345"
      }
    },
    "adapterVersions": {
      "diagramGenerator": "2",
      "drawioFlowchart": "1",
      "drawioSequence": "1",
      "drawioState": "1",
      "drawioGantt": "1"
    }
  },
  "artifacts": {
    "mmd": "/diagrams/conduit-system-architecture-c5ad3b84/conduit-system-architecture-c5ad3b84.mmd",
    "svg": "/diagrams/conduit-system-architecture-c5ad3b84/conduit-system-architecture-c5ad3b84.svg",
    "png": "/diagrams/conduit-system-architecture-c5ad3b84/conduit-system-architecture-c5ad3b84.png",
    "drawio": "/diagrams/conduit-system-architecture-c5ad3b84/conduit-system-architecture-c5ad3b84.drawio",
    "json": "/diagrams/conduit-system-architecture-c5ad3b84/conduit-system-architecture-c5ad3b84.json"
  },
  "artifactSha256": {
    "mmd": "89e9b72f3262f5c0c8ee94412e0261428bc8242936be02e6a4ba0ffe355dbc73",
    "svg": "6df911cd10177fa04a668f856c5b9eb0c10251c97c0e170b6458385a12843d89",
    "png": "c595f5a9810d2d4036ae1780546219d88ea11337d4c98a169b9b7b80954d9429",
    "drawio": "ac0a27e35cc4f288fc84c590f4a3aa2632dcdbf58b355829eb2fc12957fcd96c"
  }
}
