{
  "run_id": "gleanwork--glean-indexing-sdk-claude-haiku-5-5-1793155648300734509",
  "checker": {
    "claims": [
      {
        "claim": "schema document prints the JSON Schema your transform must produce",
        "command": "<guest-path> schema document",
        "evidence": "\u2026\"model\": \"DocumentDefinition\",\n    \"schema\": {\n      \"$defs\": {\n        \"CommentDefinition\": {\n          \"description\": \"Describes a comment on a document\",\n          \"properties\": {\n            \"id\": {\n              \"title\": \"Id\",\n              \"type\": \"string\"\n            },\n            \"author\": {\n              \"anyOf\": [\n                {\n                  \"$ref\": \"#/$defs/UserReferenceDefinition\"\n                },\n                {\n                  \"type\": \"null\"\n                }\n              ],\n              \"default\": null\n            },\n            \"content\": {\n              \"anyOf",
        "expected": "DocumentDefinition JSON schema",
        "input": "schema document",
        "kind": "claim",
        "outcome": "Real input produced the expected result: \"model\": \"DocumentDefinition\"",
        "returncode": 0,
        "source": "`glean-idx schema document` prints the JSON Schema your `transform()` has to",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      },
      {
        "claim": "mock test runs the connector without touching the network",
        "command": "<guest-path> test --phase mock --connector complete:create_connector",
        "evidence": "\u2026\"documents\": 1\n        }\n      }\n    ]\n  }\n}\n",
        "expected": "1 document posted to mocked Glean",
        "input": "README snippet connector with static data, mock phase",
        "kind": "claim",
        "outcome": "Real input produced the expected result: \"documents\": 1",
        "returncode": 0,
        "source": "Test it without touching the network:",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      },
      {
        "claim": "every command takes --output json for a stable envelope",
        "command": "<guest-path> schema document --output json",
        "evidence": "\u2026\"ok\": true,\n  \"data\": {\n    \"name\": \"document\",\n    \"model\": \"DocumentDefinition\",\n    \"schema\": {\n      \"$defs\": {\n        \"CommentDefinition\": {\n          \"description\": \"Describes a comment on a document\",\n          \"properties\": {\n            \"id\": {\n              \"title\": \"Id\",\n              \"type\": \"string\"\n            },\n            \"author\": {\n              \"anyOf\": [\n                {\n                  \"$ref\": \"#/$defs/UserReferenceDefinition\"\n                },\n                {\n                  \"type\": \"null\"\n                }\n              ],\n              \"default\": null\n        ",
        "expected": "JSON envelope with ok true",
        "input": "schema document --output json",
        "kind": "claim",
        "outcome": "Real input produced the expected result: \"ok\": true",
        "returncode": 0,
        "source": "Every command takes `--output json` for a stable envelope, `--yes` to skip",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      }
    ],
    "cycle_checks": [
      {
        "claim": "the connector indexing job runs on a recurring schedule",
        "command": "<guest-path> test --phase mock --connector complete:create_connector",
        "evidence": "{\n  \"ok\": true,\n  \"data\": {\n    \"connector\": \"create_connector\",\n    \"mode\": \"full\",\n    \"clients\": [\n      \"data_client\"\n    ],\n    \"phases\": [\n      {\n        \"phase\": \"mock\",\n        \"status\": \"ran\",\n        \"fidelity\": \"mocked Glean, the connector's own data clients\",\n        \"posted\": {\n          \"documents\": 1\n        }\n      }\n    ]\n  }\n}",
        "expected": "one full-mode cycle posts 1 document to mocked Glean",
        "input": "snippet connector project, WIKI_API_TOKEN placeholder",
        "kind": "cycle",
        "method": "run-once substitute: glean-idx test --phase mock runs the same connector full-mode fetch/transform/upload path once against mocked Glean",
        "outcome": "Triggered one cycle by hand (run-once substitute: glean-idx test --phase mock runs the same connector full-mode fetch/transform/upload path once against mocked Glean; normal trigger: Kubernetes CronJob daily at 02:00 UTC (not triggered here; needs GKE/GCP secrets)): {\n  \"ok\": true,\n  \"data\": {\n    \"connector\": \"create_connector\",\n    \"mode\": \"full\",\n    \"clients\": [\n      \"data_client\"\n    ],\n    \"phases\": [\n      {\n        \"phase\": \"mock\",\n        \"status\": \"ran\",\n        \"fidelity\": \"mocked Glean, the connector's own data clients\",\n        \"posted\": {\n          \"documents\": 1\n        }\n      }\n    ]\n  }\n}",
        "returncode": 0,
        "schedule": "Kubernetes CronJob daily at 02:00 UTC (not triggered here; needs GKE/GCP secrets)",
        "source": "src/glean/indexing/deployment/config.py",
        "verdict": "yes"
      }
    ],
    "details": {
      "argv": [
        "<guest-path>",
        "test",
        "--phase",
        "mock",
        "--connector",
        "complete:create_connector"
      ],
      "kind": "cli",
      "needs_browser": false,
      "needs_credentials": false,
      "returncode": 0,
      "scope": "product operation",
      "stderr": "",
      "stdout": "{\n  \"ok\": true,\n  \"data\": {\n    \"connector\": \"create_connector\",\n    \"mode\": \"full\",\n    \"clients\": [\n      \"data_client\"\n    ],\n    \"phases\": [\n      {\n        \"phase\": \"mock\",\n        \"status\": \"ran\",\n[excerpt truncated]",
      "working": true
    },
    "evidence_strength": "readme_checked",
    "example_checks": [
      {
        "claim": "deploy init generates Docker and Terraform files for a connector project",
        "command": "<guest-path> deploy init --cloud gcp --connector-factory create_connector --output-dir <guest-path> -y",
        "deferred": false,
        "evidence": "les.tf\",\n      \"glean_deployment.yaml\",\n      \".env.example\",\n      \".dockerignore\"\n    ],\n    \"next_steps\": [\n      \"Edit glean_deployment.yaml \\u2014 set cluster_name, region, and registry.\",\n      \"GCP GKE docs: https://cloud.google.com/kubernetes-engine/docs\",\n      \"GCP Artifact Registry: https://cloud.google.com/artifact-registry/docs\",\n      \"cp .env.example .env  # fill in connector credentials\",\n      \"glean-idx datasource configure\",\n      \"glean-idx deploy build --push\",\n      \"glean-idx deploy secrets upload\",\n      \"glean-idx deploy apply\",\n      \"glean-idx deploy run\"\n    ]\n  }\n}",
        "expected": "generated_files list including glean_deployment.yaml",
        "input": "deploy init --cloud gcp --connector-factory create_connector into a fresh directory",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "README.md",
        "verdict": "yes"
      },
      {
        "claim": "repository unit tests (documented mise run test task, expanded to uv run pytest)",
        "command": "uv run pytest -q -p no:logging tests/",
        "deferred": false,
        "evidence": "gs.py:7: could not import 'watchtower': No module named 'watchtower'\nSKIPPED [1] tests/unit_tests/observability/plugins/aws/test_cloudwatch_metrics.py:5: could not import 'boto3': No module named 'boto3'\nSKIPPED [1] tests/unit_tests/observability/plugins/gcp/test_cloud_logging.py:7: could not import 'google.cloud.logging_v2': No module named 'google'\nSKIPPED [1] tests/unit_tests/observability/plugins/gcp/test_cloud_monitoring.py:5: could not import 'google.cloud.monitoring_v3': No module named 'google'\n1017 passed, 4 skipped in 36.87s\nCannot read termcap database;\nusing dumb terminal settings.",
        "expected": "all unit tests pass; 4 optional cloud-plugin tests skipped",
        "input": "tests/",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "mise.toml [tasks.test]",
        "verdict": "yes"
      }
    ],
    "status": "PASS"
  },
  "diagnosis": null
}
