{
  "schema_version": 1,
  "run_id": "dcalsky--sqlscope-gpt-6-luna-1796082478171940422",
  "date": "2026-12-01T00:09:02.475926+00:00",
  "repo": "dcalsky/sqlscope",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "f4aa5c3e0cfe6703ea6d688dd606a9979b377d4a",
  "outcome": "pass",
  "time_to_working_s": 1170.0441989579704,
  "install_s": 762.82,
  "first_use_s": 43.409,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Python SDK README quickstart: row filter and column usage analysis",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Scope-aware SQL analysis and rewriting for Rust, Python, Go and TypeScript, built on the [polyglot](https://github.com/tobilg/polyglot) SQL engine (30+ dialects).",
      "source": "Scope-aware SQL analysis and rewriting for Rust, Python, Go and TypeScript, built on the\n[polyglot](https://github.com/tobilg/polyglot) SQL engine (30+ dialects).",
      "input": "Python README example: apply_row_filter on SELECT id FROM orders",
      "expected": "SELECT id FROM (SELECT * FROM orders WHERE tenant_id = 7) AS orders",
      "command": "Python examples README.md",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: SELECT id FROM (SELECT * FROM orders WHERE tenant_id = 7) AS orders",
      "evidence": "…SELECT id FROM (SELECT * FROM orders WHERE tenant_id = 7) AS orders'\\n[ColumnUsage(table='orders', column='id', clause=<Clause.SELECT: 'SELECT'>), ColumnUsage(table='orders', column='status', clause=<Clause.WHERE: 'WHERE'>)]\\n\"}\n",
      "cwd": "<guest-path>",
      "returncode": 0,
      "hardware_prerequisite": null,
      "stdout": "{\"attempted\": 0, \"failures\": 0, \"api_calls\": 2, \"api_expectations\": 0, \"bound_api_expectations\": 0, \"checked_api_outputs\": 0, \"output\": \"\", \"exception_messages\": [], \"expected_from_api\": true, \"run_only\": true, \"stated_output\": false, \"printed\": \"'SELECT id FROM (SELECT * FROM orders WHERE tenant_id = 7) AS orders'\\n[ColumnUsage(table='orders', column='id', clause=<Clause.SELECT: 'SELECT'>), ColumnUsage(table='orders', column='status', clause=<Clause.WHERE: 'WHERE'>)]\\n\"}\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Python usage applies a row filter and analyzes column usages",
      "source": "README.md",
      "input": "Python code block at lines 74–85",
      "expected": "SELECT id FROM (SELECT * FROM orders WHERE tenant_id = 7) AS orders",
      "command": "Python examples README.md",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: SELECT id FROM (SELECT * FROM orders WHERE tenant_id = 7) AS orders",
      "evidence": "…SELECT id FROM (SELECT * FROM orders WHERE tenant_id = 7) AS orders'\\n[ColumnUsage(table='orders', column='id', clause=<Clause.SELECT: 'SELECT'>), ColumnUsage(table='orders', column='status', clause=<Clause.WHERE: 'WHERE'>)]\\n\"}\n",
      "cwd": "<guest-path>",
      "returncode": 0,
      "hardware_prerequisite": null,
      "stdout": "{\"attempted\": 0, \"failures\": 0, \"api_calls\": 2, \"api_expectations\": 0, \"bound_api_expectations\": 0, \"checked_api_outputs\": 0, \"output\": \"\", \"exception_messages\": [], \"expected_from_api\": true, \"run_only\": true, \"stated_output\": false, \"printed\": \"'SELECT id FROM (SELECT * FROM orders WHERE tenant_id = 7) AS orders'\\n[ColumnUsage(table='orders', column='id', clause=<Clause.SELECT: 'SELECT'>), ColumnUsage(table='orders', column='status', clause=<Clause.WHERE: 'WHERE'>)]\\n\"}\n",
      "stderr": "",
      "output_truncated": false,
      "deferred": false
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Inspected README.md, Makefile, Python SDK README and package entrypoints; they expose synchronous SQL calls and no scheduled or recurring product cycle.",
      "evidence": "Inspected README.md, Makefile, Python SDK README and package entrypoints; they expose synchronous SQL calls and no scheduled or recurring product cycle.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "aa3c46da5469a82e8f10979962fe30cd4477a6f9",
    "ci_read_at": "2026-11-20T15:51:49Z",
    "ci_state": "SUCCESS",
    "commits_90d": 29,
    "last_commit_at": "2026-11-20T15:20:51Z",
    "last_release_at": "2026-11-20T15:44:39Z",
    "median_reply_hours": null,
    "merged_prs_90d": 8,
    "note": "actively maintained: last commit 0 days ago; 29 commits and 8 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-20",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3 (README minimum 3.9)",
    "sqlscope-rs Python package 0.8.0",
    "sqlscope FFI v0.8.0 Linux x86_64",
    "Rust 1.88.0",
    "GNU make",
    "Node.js 22.23.4",
    "sqlscope-rs npm package"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 1 outside write.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": true,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [
      {
        "to": "151.101.130.137",
        "port": "443",
        "rule": null,
        "programs": [
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      },
      {
        "to": "151.101.2.137",
        "port": "443",
        "rule": null,
        "programs": [
          "curl",
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      },
      {
        "to": "151.101.66.137",
        "port": "443",
        "rule": null,
        "programs": [
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "http"
        ],
        "names": [
          "_http._tcp.archive.ubuntu.com",
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "node"
        ],
        "names": [
          "registry.npmjs.org"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "curl",
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 1,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 47,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 14,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-4xh5-x5gv-qwph"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-58qw-9mgm-455v"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-6vgw-5pg2-w6jp"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-jp4c-xjxw-mgf9"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-qwm4-qh6w-59xr"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-wf93-45jw-7689"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1795"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1796"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-196"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2875"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2876"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-3721"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-5340247f8bb76c71c9b6e64c02af37b1e6199feb8b06c766b38a26978ee402d6",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "reason": "host packet capture could not be read",
      "recorded": false,
      "repo_hosts": [],
      "unattributed": []
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "readme_checked"
}
