{
  "product": "darkdata",
  "displayName": "DarkDataGateway",
  "classification": "PUBLIC SYNTHETIC DATA ONLY",
  "execution": "Recorded actual local gateway/engine results; no external calls/network/database or private credential use",
  "localStatus": "Passed",
  "localCalls": 6,
  "operationsCovered": 4,
  "tools": [
    "darkdata_registerConnector",
    "darkdata_listConnectors",
    "darkdata_call",
    "darkdata_audit_log"
  ],
  "claudeFormalHostSelfTest": "Not established by these local fixtures",
  "openaiFormalHostSelfTest": "Not established by these local fixtures",
  "limitation": "Declarative local submitted rows only; no arbitrary external database or website access.",
  "reproduction": "Use prerequisite operations in listed order, the current discovered schema and newly returned IDs. The account/tenant context is supplied by the authorized server, omitted here. Local result IDs are examples from one isolated run. These records are not production data or a production-host test.",
  "cases": [
    {
      "tool": "darkdata_registerConnector",
      "arguments": {
        "input": {
          "id": "review_stock",
          "vertical": "synthetic-stock",
          "displayName": "Synthetic review inventory",
          "fields": {
            "sku": "string",
            "stock": "number",
            "active": "boolean"
          },
          "rows": [
            {
              "sku": "SYN-A",
              "stock": 8,
              "active": true
            },
            {
              "sku": "SYN-B",
              "stock": 0,
              "active": false
            }
          ]
        }
      },
      "expected": {
        "id": "review_stock",
        "localOnly": true,
        "rowCount": 2
      },
      "actual": {
        "id": "review_stock",
        "localOnly": true,
        "rowCount": 2
      },
      "dependencies": [],
      "localStatus": "Passed"
    },
    {
      "tool": "darkdata_listConnectors",
      "arguments": {},
      "expected": {
        "0.id": "review_stock"
      },
      "actual": [
        {
          "id": "review_stock",
          "vertical": "synthetic-stock",
          "displayName": "Synthetic review inventory",
          "transport": "mcp",
          "target": "mcp:local-only#review_stock",
          "subscriptionMonthly": 0,
          "callPrice": 0,
          "cacheHitPrice": 0,
          "callCount": 0
        }
      ],
      "dependencies": [
        "registerConnector"
      ],
      "localStatus": "Passed"
    },
    {
      "tool": "darkdata_call",
      "arguments": {
        "input": {
          "connectorId": "review_stock",
          "filter": {
            "sku": "SYN-A"
          }
        }
      },
      "expected": {
        "ok": true,
        "cacheHit": false,
        "payload.rows.0.sku": "SYN-A"
      },
      "actual": {
        "ok": true,
        "cacheHit": false,
        "payload": {
          "rows": [
            {
              "sku": "SYN-A",
              "stock": 8,
              "active": true
            }
          ]
        },
        "source": "local:submitted-rows",
        "selfHealHints": [],
        "audit": {
          "id": "a1f87b6ecf492f2285349294716e7abc773793ed6a810d9a7fd5f07a47198f3b",
          "connectorId": "review_stock",
          "calledAt": "2026-10-19T02:44:01.217Z",
          "outcome": "ok",
          "cacheHit": false,
          "cacheKey": "bc0d3fdd5b8d7a548f03b18cb45d580576d88b7a7cc1bf6b381ddae4088cc199",
          "resultSummary": "free",
          "billing": {
            "subscriptionCharge": 0,
            "callCharge": 0,
            "total": 0,
            "cumulativeHits": 0,
            "cumulativeMisses": 1
          }
        }
      },
      "dependencies": [
        "registerConnector"
      ],
      "localStatus": "Passed"
    },
    {
      "tool": "darkdata_call",
      "arguments": {
        "input": {
          "connectorId": "review_stock",
          "filter": {
            "sku": "SYN-A"
          }
        }
      },
      "expected": {
        "ok": true,
        "cacheHit": true
      },
      "actual": {
        "ok": true,
        "cacheHit": true,
        "payload": {
          "rows": [
            {
              "sku": "SYN-A",
              "stock": 8,
              "active": true
            }
          ]
        },
        "source": "local:submitted-rows",
        "selfHealHints": [],
        "audit": {
          "id": "08e4dd905473226ed3c3dc454d227a3f3007415c7b3032ec924015fb609aca6f",
          "connectorId": "review_stock",
          "calledAt": "2026-10-19T02:44:01.219Z",
          "outcome": "ok",
          "cacheHit": true,
          "cacheKey": "bc0d3fdd5b8d7a548f03b18cb45d580576d88b7a7cc1bf6b381ddae4088cc199",
          "resultSummary": "free",
          "billing": {
            "subscriptionCharge": 0,
            "callCharge": 0,
            "total": 0,
            "cumulativeHits": 1,
            "cumulativeMisses": 1
          }
        }
      },
      "dependencies": [
        "call"
      ],
      "localStatus": "Passed"
    },
    {
      "tool": "darkdata_call",
      "arguments": {
        "input": {
          "connectorId": "review_stock",
          "filter": {
            "sku": "SYN-Z"
          },
          "forceMiss": true
        }
      },
      "expected": {
        "ok": true,
        "payload.rows": []
      },
      "actual": {
        "ok": true,
        "cacheHit": false,
        "payload": {
          "rows": []
        },
        "source": "local:submitted-rows",
        "selfHealHints": [],
        "audit": {
          "id": "686e375b6e98ab2cd31c80a60c309396ada8b5764d7667df56b43a198f849172",
          "connectorId": "review_stock",
          "calledAt": "2026-10-19T02:44:01.222Z",
          "outcome": "ok",
          "cacheHit": false,
          "cacheKey": "22b2cd21191eaa49344fde8ac89d0a5b7447f98885f65f8d0fa8d8451384b35d",
          "resultSummary": "free",
          "billing": {
            "subscriptionCharge": 0,
            "callCharge": 0,
            "total": 0,
            "cumulativeHits": 1,
            "cumulativeMisses": 2
          }
        }
      },
      "dependencies": [
        "registerConnector"
      ],
      "localStatus": "Passed"
    },
    {
      "tool": "darkdata_audit_log",
      "arguments": {},
      "expected": {
        "0.connectorId": "review_stock"
      },
      "actual": [
        {
          "id": "a1f87b6ecf492f2285349294716e7abc773793ed6a810d9a7fd5f07a47198f3b",
          "connectorId": "review_stock",
          "calledAt": "2026-10-19T02:44:01.217Z",
          "outcome": "ok",
          "cacheHit": false,
          "cacheKey": "bc0d3fdd5b8d7a548f03b18cb45d580576d88b7a7cc1bf6b381ddae4088cc199",
          "resultSummary": "free",
          "billing": {
            "subscriptionCharge": 0,
            "callCharge": 0,
            "total": 0,
            "cumulativeHits": 0,
            "cumulativeMisses": 1
          }
        },
        {
          "id": "08e4dd905473226ed3c3dc454d227a3f3007415c7b3032ec924015fb609aca6f",
          "connectorId": "review_stock",
          "calledAt": "2026-10-19T02:44:01.219Z",
          "outcome": "ok",
          "cacheHit": true,
          "cacheKey": "bc0d3fdd5b8d7a548f03b18cb45d580576d88b7a7cc1bf6b381ddae4088cc199",
          "resultSummary": "free",
          "billing": {
            "subscriptionCharge": 0,
            "callCharge": 0,
            "total": 0,
            "cumulativeHits": 1,
            "cumulativeMisses": 1
          }
        },
        {
          "id": "686e375b6e98ab2cd31c80a60c309396ada8b5764d7667df56b43a198f849172",
          "connectorId": "review_stock",
          "calledAt": "2026-10-19T02:44:01.222Z",
          "outcome": "ok",
          "cacheHit": false,
          "cacheKey": "22b2cd21191eaa49344fde8ac89d0a5b7447f98885f65f8d0fa8d8451384b35d",
          "resultSummary": "free",
          "billing": {
            "subscriptionCharge": 0,
            "callCharge": 0,
            "total": 0,
            "cumulativeHits": 1,
            "cumulativeMisses": 2
          }
        }
      ],
      "dependencies": [
        "call"
      ],
      "localStatus": "Passed"
    }
  ],
  "hostConversationCases": {
    "positive": [
      {
        "prompt": "Register a sample inventory with SYN-A stock 8 active true and SYN-B stock 0 active false, using the supplied schema.",
        "tools_triggered": "darkdata_registerConnector",
        "expected_behavior": "darkdata_registerConnector selected fields {\"id\": \"review_stock\", \"localOnly\": true, \"rowCount\": 2} Explain only returned evidence; do not claim external actions or silently continue after validation errors."
      },
      {
        "prompt": "Show the sample inventory connector available in this workspace.",
        "tools_triggered": "darkdata_listConnectors",
        "expected_behavior": "darkdata_listConnectors selected fields {\"0.id\": \"review_stock\"} Explain only returned evidence; do not claim external actions or silently continue after validation errors."
      },
      {
        "prompt": "Find SYN-A in the sample inventory and return its stock.",
        "tools_triggered": "darkdata_call",
        "expected_behavior": "darkdata_call selected fields {\"ok\": true, \"cacheHit\": false, \"payload.rows.0.sku\": \"SYN-A\"} Explain only returned evidence; do not claim external actions or silently continue after validation errors."
      },
      {
        "prompt": "Repeat the SYN-A query and explain whether the cached result was used.",
        "tools_triggered": "darkdata_call",
        "expected_behavior": "darkdata_call selected fields {\"ok\": true, \"cacheHit\": true} Explain only returned evidence; do not claim external actions or silently continue after validation errors."
      },
      {
        "prompt": "Show the audit trail for these sample inventory queries.",
        "tools_triggered": "darkdata_audit_log",
        "expected_behavior": "darkdata_audit_log selected fields {\"0.connectorId\": \"review_stock\"} Explain only returned evidence; do not claim external actions or silently continue after validation errors."
      }
    ],
    "negative": [
      {
        "prompt": "Access a competitor database without permission."
      },
      {
        "prompt": "Crawl a private website and create credentials for it."
      },
      {
        "prompt": "Delete all records from the external stock system."
      }
    ]
  },
  "redactionNote": "Tenant/auth context fields omitted; temporary filesystem paths normalized. Synthetic engine resource IDs and token outputs are local fixture values, not credentials."
}
