{
  "schema_version": 1,
  "run_id": "ahmedsaeed1-eng--patchpilot-mcp-gpt-6-luna-1795858280716363155",
  "date": "2026-11-28T09:35:21.047033+00:00",
  "repo": "ahmedsaeed1-eng/patchpilot-mcp",
  "model": "gpt-6-luna",
  "kind": "mcp",
  "mcp": "local",
  "commit": "9dcd7f79a6b137442321c6256595a5b08e4e5fc4",
  "outcome": "pass",
  "time_to_working_s": 197.97873762599193,
  "install_s": 63.317,
  "first_use_s": 77.443,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Review explicit Python source through the stdio MCP review_source tool and report a BARE_EXCEPT finding; also run the documented CLI JSON review example.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Review explicit Python source and report a broad exception handler",
      "source": "Python checks now also report mutable literal defaults, bare except, builtin name shadowing and possibly unused local bindings.",
      "input": "{\"tool\": \"review_source\", \"arguments\": {\"source\": \"def load():\\n    try:\\n        return 1\\n    except:\\n        return 0\\n\", \"path\": \"sample.py\", \"language\": \"python\", \"complete\": true}}",
      "expected": "BARE_EXCEPT",
      "command": "<guest-path> -m patchpilot.server tools/call {\"tool\": \"review_source\", \"arguments\": {\"source\": \"def load():\\n    try:\\n        return 1\\n    except:\\n        return 0\\n\", \"path\": \"sample.py\", \"language\": \"python\", \"complete\": true}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: BARE_EXCEPT",
      "evidence": "…BARE_EXCEPT\\\",\\n      \\\"severity\\\": \\\"warning\\\",\\n      \\\"evidence\\\": \\\"heuristic\\\",\\n      \\\"path\\\": \\\"sample.py\\\",\\n      \\\"line\\\": 4,\\n      \\\"message\\\": \\\"Bare except catches exceptions beyond ordinary Exception subclasses.\\\",\\n      \\\"recommendation\\\": \\\"Catch the intended exception types; preserve intentional cleanup behavior.\\\",\\n      \\\"column\\\": 5,\\n      \\\"id\\\": \\\"pp-7606291ea19e5d99acbaafdd\\\"\\n    }\\n  ],\\n  \\\"omitted_findings\\\": 0,\\n  \\\"coverage\\\": \\\"checked_complete\\\",\\n  \\\"limitations\\\": [\\n    \\\"AST and compiler syntax checks only supplied source; no code execution or import res",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Focused review loop tagline",
      "source": "**A focused review loop, not a fresh repository scan.**",
      "input": "{\"tool\": \"review_source\", \"arguments\": {\"source\": \"def load():\\n    try:\\n        return 1\\n    except:\\n        return 0\\n\", \"path\": \"sample.py\", \"language\": \"python\", \"complete\": true}}",
      "expected": "BARE_EXCEPT",
      "command": "<guest-path> -m patchpilot.server tools/call {\"tool\": \"review_source\", \"arguments\": {\"source\": \"def load():\\n    try:\\n        return 1\\n    except:\\n        return 0\\n\", \"path\": \"sample.py\", \"language\": \"python\", \"complete\": true}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: BARE_EXCEPT",
      "evidence": "…BARE_EXCEPT\\\",\\n      \\\"severity\\\": \\\"warning\\\",\\n      \\\"evidence\\\": \\\"heuristic\\\",\\n      \\\"path\\\": \\\"sample.py\\\",\\n      \\\"line\\\": 4,\\n      \\\"message\\\": \\\"Bare except catches exceptions beyond ordinary Exception subclasses.\\\",\\n      \\\"recommendation\\\": \\\"Catch the intended exception types; preserve intentional cleanup behavior.\\\",\\n      \\\"column\\\": 5,\\n      \\\"id\\\": \\\"pp-7606291ea19e5d99acbaafdd\\\"\\n    }\\n  ],\\n  \\\"omitted_findings\\\": 0,\\n  \\\"coverage\\\": \\\"checked_complete\\\",\\n  \\\"limitations\\\": [\\n    \\\"AST and compiler syntax checks only supplied source; no code execution or import res",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README explicit CLI JSON review",
      "source": "README.md — Quick start: explicit CLI",
      "input": "examples/settings.json",
      "command": "<guest-path> -m patchpilot json",
      "evidence": ".json\",\n      \"line\": 4,\n      \"message\": \"Object key repeats its earlier occurrence at 2:3.\",\n      \"recommendation\": \"Resolve repeated keys; JSON readers can differ in which value they retain.\",\n      \"column\": 3,\n      \"id\": \"pp-1ce160833ed5a77b54df9714\"\n    }\n  ],\n  \"omitted_findings\": 0,\n  \"coverage\": \"checked_complete\",\n  \"limitations\": [\n    \"JSON grammar and duplicate object-key tokens only; no schema or business-rule validation.\",\n    \"Duplicate-key observations are limited to the parsed input and scoped to each object.\",\n    \"JSON nesting capped at 100; findings capped at 100.\"\n  ]\n}",
      "deferred": false,
      "expected": "JSON_DUPLICATE_KEY",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "json\",\n      \"line\": 4,\n      \"message\": \"Object key repeats its earlier occurrence at 2:3.\",\n      \"recommendation\": \"Resolve repeated keys; JSON readers can differ in which value they retain.\",\n      \"column\": 3,\n      \"id\": \"pp-1ce160833ed5a77b54df9714\"\n    }\n  ],\n  \"omitted_findings\": 0,\n  \"coverage\": \"checked_complete\",\n  \"limitations\": [\n    \"JSON grammar and duplicate object-key tokens only; no schema or business-rule validation.\",\n    \"Duplicate-key observations are limited to the parsed input and scoped to each object.\",\n    \"JSON nesting capped at 100; findings capped at 100.\"\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 README and package entrypoints: PatchPilot is an explicitly invoked CLI/MCP reviewer, and README says the caller supplies text; it has no product cron, loop, watcher, webhook, --once, or --now cycle to trigger.",
      "evidence": "Inspected README and package entrypoints: PatchPilot is an explicitly invoked CLI/MCP reviewer, and README says the caller supplies text; it has no product cron, loop, watcher, webhook, --once, or --now cycle to trigger.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "9dcd7f79a6b137442321c6256595a5b08e4e5fc4",
    "ci_read_at": "2026-11-28T09:30:51Z",
    "ci_state": "SUCCESS",
    "commits_90d": 32,
    "last_commit_at": "2026-11-28T08:48:53Z",
    "last_release_at": "2026-11-28T03:23:17Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 32 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-28",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "patchpilot-mcp 0.4.1",
    "MCP Python SDK 1.29.0",
    "declared Tree-sitter grammar dependencies"
  ],
  "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": [
          "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": 0,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 39,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "mcp",
          "version": "1.29.0",
          "advisory": "GHSA-5h93-6whr-6q8j"
        },
        {
          "package": "mcp",
          "version": "1.29.0",
          "advisory": "GHSA-84m7-p3x7-pcfv"
        },
        {
          "package": "mcp",
          "version": "1.29.0",
          "advisory": "GHSA-qx49-fqc8-xw99"
        },
        {
          "package": "mcp",
          "version": "1.29.0",
          "advisory": "GHSA-rwrf-2pqf-9j8j"
        },
        {
          "package": "mcp",
          "version": "1.29.0",
          "advisory": "GHSA-w4fh-qvv9-3v23"
        },
        {
          "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": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 2
    },
    "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"
}
