{
  "schema_version": 1,
  "run_id": "jrachid--plancliff-gpt-6-luna-1795694015312420170",
  "date": "2026-11-26T11:57:29.281782+00:00",
  "repo": "jrachid/plancliff",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "af1a389be3372f0bf60bf9d7f0be1b4e37ae252c",
  "outcome": "pass",
  "time_to_working_s": 193.12981234001927,
  "install_s": 102.231,
  "first_use_s": null,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run plancliff scan on a SQL query file against PostgreSQL",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Finds PostgreSQL queries with generic plan slowdowns and proves targeted fixes.",
      "source": "Find the PostgreSQL queries that become hundreds of times slower once Postgres switches a prepared statement to its generic plan, and prove the fix before production finds them for you.",
      "input": "SELECT * FROM items WHERE id = $1 on a populated PostgreSQL 16 table",
      "expected": "JSON scan report with a query verdict",
      "command": "<guest-path> scan postgresql://<secret>localhost/plancliff .coldpass/queries.sql --format json",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"verdict\": \"ok\"",
      "evidence": "…\"verdict\": \"ok\",\n      \"ratio\": 1.137,\n      \"scenario\": \"frequent\",\n      \"generic_ms\": 1.059,\n      \"custom_ms\": 0.931,\n      \"values\": [\n        \"1\"\n      ],\n      \"error\": \"\",\n      \"verification\": null,\n      \"verification_error\": \"\",\n      \"fixes\": [],\n      \"note\": \"\",\n      \"seconds\": 0.065\n    }\n  ],\n  \"summary\": {\n    \"queries\": 1,\n    \"cliff\": 0,\n    \"latent\": 0,\n    \"ok\": 1,\n    \"error\": 0,\n    \"seconds\": 0.068\n  }\n}\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "fy\": true,\n    \"verify_calls\": 20\n  },\n  \"queries\": [\n    {\n      \"name\": \"SELECT * FROM items WHERE id = $1\",\n      \"sql\": \"SELECT * FROM items WHERE id = $1\",\n      \"verdict\": \"ok\",\n      \"ratio\": 1.137,\n      \"scenario\": \"frequent\",\n      \"generic_ms\": 1.059,\n      \"custom_ms\": 0.931,\n      \"values\": [\n        \"1\"\n      ],\n      \"error\": \"\",\n      \"verification\": null,\n      \"verification_error\": \"\",\n      \"fixes\": [],\n      \"note\": \"\",\n      \"seconds\": 0.065\n    }\n  ],\n  \"summary\": {\n    \"queries\": 1,\n    \"cliff\": 0,\n    \"latent\": 0,\n    \"ok\": 1,\n    \"error\": 0,\n    \"seconds\": 0.068\n  }\n}\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Scan a query file against a database.",
      "source": "README.md Usage query file example",
      "input": ".coldpass/queries.sql",
      "command": "<guest-path> scan postgresql://<secret>localhost/plancliff .coldpass/queries.sql --format json",
      "evidence": "ify\": true,\n    \"verify_calls\": 20\n  },\n  \"queries\": [\n    {\n      \"name\": \"SELECT * FROM items WHERE id = $1\",\n      \"sql\": \"SELECT * FROM items WHERE id = $1\",\n      \"verdict\": \"ok\",\n      \"ratio\": 1.081,\n      \"scenario\": \"frequent\",\n      \"generic_ms\": 0.949,\n      \"custom_ms\": 0.878,\n      \"values\": [\n        \"1\"\n      ],\n      \"error\": \"\",\n      \"verification\": null,\n      \"verification_error\": \"\",\n      \"fixes\": [],\n      \"note\": \"\",\n      \"seconds\": 0.051\n    }\n  ],\n  \"summary\": {\n    \"queries\": 1,\n    \"cliff\": 0,\n    \"latent\": 0,\n    \"ok\": 1,\n    \"error\": 0,\n    \"seconds\": 0.054\n  }\n}",
      "deferred": false,
      "expected": "query scan JSON report",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "fy\": true,\n    \"verify_calls\": 20\n  },\n  \"queries\": [\n    {\n      \"name\": \"SELECT * FROM items WHERE id = $1\",\n      \"sql\": \"SELECT * FROM items WHERE id = $1\",\n      \"verdict\": \"ok\",\n      \"ratio\": 1.081,\n      \"scenario\": \"frequent\",\n      \"generic_ms\": 0.949,\n      \"custom_ms\": 0.878,\n      \"values\": [\n        \"1\"\n      ],\n      \"error\": \"\",\n      \"verification\": null,\n      \"verification_error\": \"\",\n      \"fixes\": [],\n      \"note\": \"\",\n      \"seconds\": 0.051\n    }\n  ],\n  \"summary\": {\n    \"queries\": 1,\n    \"cliff\": 0,\n    \"latent\": 0,\n    \"ok\": 1,\n    \"error\": 0,\n    \"seconds\": 0.054\n  }\n}\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "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 src/plancliff/cli.py and README usage; no recurring scheduler, cron, webhook, --once, or --now operation is documented.",
      "evidence": "Inspected src/plancliff/cli.py and README usage; no recurring scheduler, cron, webhook, --once, or --now operation is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "af1a389be3372f0bf60bf9d7f0be1b4e37ae252c",
    "ci_read_at": "2026-11-26T11:49:06Z",
    "ci_state": "SUCCESS",
    "commits_90d": 12,
    "last_commit_at": "2026-11-26T11:36:57Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 12 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; no releases",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "PostgreSQL 16",
    "psycopg 3.3.9",
    "pglast 8.9"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Nothing suspicious seen in this run.",
    "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": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "http"
        ],
        "names": [
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 18,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 7,
      "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-4243f19282e59714a358f5d27849c5ebf3ef413d1667fe1ae5969f004abbb1d7",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 4
    },
    "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"
}
