{
  "schemaVersion": 1,
  "generatedAt": "2026-08-12T23:37:30.526Z",
  "generationKey": "68dd4b7e834d7ef9d6f5b09ad9b2a0526c7d44c8e695dd8343eccbb8b35bbd1d",
  "metadataPayloadSha256": "fe20151aec2109ae985acd4f8116088584a6138c6638d001a90361ec86b73a2f",
  "diagram": {
    "id": "conduit-governed-live-data-cda4d617",
    "title": "Conduit — governed live data",
    "description": "Conduit: a bound entity plus a question resolves through entity_bindings to a governed named query, runs read-only against a system of record via the per-engine adapter, and every call — ok, error, timeout, or blocked — appends a data_calls row that becomes a [Dn] citation.",
    "status": "current",
    "canonicalAppearanceKey": "tsx:src/app/(docs)/docs/concepts/system-diagrams/page.tsx:CONDUIT_CHART#1"
  },
  "aliases": [],
  "concepts": [
    "System diagrams",
    "Conduit — governed live data",
    "CONDUIT — bind, govern, execute",
    "Inputs",
    "Conduit"
  ],
  "keywords": [
    "named SQL template · $1..$n · params",
    "chat · agent · · MCP",
    "Postgres · MySQL · Snowflake",
    "entity_name · const · model",
    "kb_data: touches bound entity",
    "bound entity / type",
    "from Atlas graph",
    "single SELECT / WITH?",
    "→ query + paramMap",
    "append-only provenance",
    "reads bindings",
    "materialized params",
    "caps + creds",
    "denied · fail closed",
    "ok / not scoped",
    "normalized JSON rows",
    "ok · error · timeout",
    "entity + inherited type bindings",
    "load query+connector · coerceParams",
    "decryptSecret · getAdapter",
    "rewriteDollarParams · wrapWithRowLimit",
    "encrypted creds · maxRows · timeoutMs",
    "sql · params · rows · status",
    "result snapshot + hash · envelope",
    "external system of record",
    "sqlTemplate + param specs",
    "principal grants cover value",
    "user × param × value grants",
    "capped SELECT · $n→? binds",
    "entity_bindings",
    "data_queries",
    "data_connectors",
    "data_calls",
    "entitlement_param?",
    "data_entitlements",
    "/api/v1/query",
    "entity/type",
    "question",
    "buildParams",
    "executeNamedQuery"
  ],
  "mermaid": {
    "type": "flowchart",
    "direction": "TD",
    "sourceSha256": "cda4d617212fac72247c1c39543f5be26d5be55ec58744d622db822200a6f132"
  },
  "provenance": [
    {
      "appearanceKey": "md:docs/architecture/system-diagrams.md#6",
      "surface": "markdown",
      "sourcePath": "docs/architecture/system-diagrams.md",
      "line": 406,
      "heading": "5 · Conduit — governed live data"
    },
    {
      "appearanceKey": "tsx:src/app/(docs)/docs/concepts/system-diagrams/page.tsx:CONDUIT_CHART#1",
      "surface": "route",
      "sourcePath": "src/app/(docs)/docs/concepts/system-diagrams/page.tsx",
      "line": 295,
      "route": "/docs/concepts/system-diagrams",
      "symbol": "CONDUIT_CHART",
      "caption": "Conduit: a bound entity plus a question resolves through entity_bindings to a governed named query, runs read-only against a system of record via the per-engine adapter, and every call — ok, error, timeout, or blocked — appends a data_calls row that becomes a [Dn] citation."
    }
  ],
  "embeddedMetadata": [
    {
      "sourcePath": "docs/architecture/system-diagrams.md",
      "heading": "5 · Conduit — governed live data"
    },
    {
      "sourcePath": "src/app/(docs)/docs/concepts/system-diagrams/page.tsx",
      "caption": "Conduit: a bound entity plus a question resolves through entity_bindings to a governed named query, runs read-only against a system of record via the per-engine adapter, and every call — ok, error, timeout, or blocked — appends a data_calls row that becomes a [Dn] citation."
    }
  ],
  "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-governed-live-data-cda4d617/conduit-governed-live-data-cda4d617.mmd",
    "svg": "/diagrams/conduit-governed-live-data-cda4d617/conduit-governed-live-data-cda4d617.svg",
    "png": "/diagrams/conduit-governed-live-data-cda4d617/conduit-governed-live-data-cda4d617.png",
    "drawio": "/diagrams/conduit-governed-live-data-cda4d617/conduit-governed-live-data-cda4d617.drawio",
    "json": "/diagrams/conduit-governed-live-data-cda4d617/conduit-governed-live-data-cda4d617.json"
  },
  "artifactSha256": {
    "mmd": "f2f3eb766e3a8e379318b7b65a5de2e7bdfda803b8bd0d47338c7164a0234acf",
    "svg": "487773ed126e0632ba982c5602fee874a50ebb9afe353e482f424303c0eb66fb",
    "png": "b00fc4c8a36dae72685e13ddab1354e000eb83b7957e2648abd4b952ed06d446",
    "drawio": "9ec3f7f372e84f02acded912fe778441d19ea23a382395f86b4f37b8dde6cde3"
  }
}
