{
  "schema_version": 1,
  "run_id": "feiiiiii5--failroute-gpt-6-luna-1795541605036022243",
  "date": "2026-11-24T17:37:55.124370+00:00",
  "repo": "feiiiiii5/failroute",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "e51a3a69d72e4a114241c4640aa2c9755ab01a7f",
  "outcome": "pass",
  "time_to_working_s": 236.4397940709605,
  "install_s": 21.558,
  "first_use_s": 167.829,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run failroute on a Python sample containing a constant fallback, then run the README self-scan on src.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Detect failure-routing anti-patterns in Python",
      "source": "Static detection of **failure-routing** anti-patterns in Python: the practice of\nconverting an underlying failure into a success-like outcome at the wrong layer.",
      "input": "sample.py with a constant fallback and an intentional KeyboardInterrupt handler",
      "expected": "silent-fallback finding for the constant fallback",
      "command": "<guest-path> --threshold 5 <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: silent-fallback",
      "evidence": "…silent-fallback: exception handler returns fallback constant '0.0' without re-raising (on path: return); the caller cannot distinguish failure from a legitimate value of the same shape\n1 finding(s)\ngate: 1 of 1 at or above high (threshold 5)\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "<guest-path> high: silent-fallback: exception handler returns fallback constant '0.0' without re-raising (on path: return); the caller cannot distinguish failure from a legitimate value of the same shape\n",
      "stderr": "1 finding(s)\ngate: 1 of 1 at or above high (threshold 5)\n",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Do not flag normally intentional KeyboardInterrupt handlers",
      "source": "* `except KeyboardInterrupt` / `except SystemExit` — normally intentional.",
      "input": "sample.py includes except KeyboardInterrupt: pass",
      "expected": "scan reports the failure-routing fallback and does not report the intentional KeyboardInterrupt handler",
      "command": "<guest-path> --threshold 5 <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: silent-fallback",
      "evidence": "…silent-fallback: exception handler returns fallback constant '0.0' without re-raising (on path: return); the caller cannot distinguish failure from a legitimate value of the same shape\n1 finding(s)\ngate: 1 of 1 at or above high (threshold 5)\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "<guest-path> high: silent-fallback: exception handler returns fallback constant '0.0' without re-raising (on path: return); the caller cannot distinguish failure from a legitimate value of the same shape\n",
      "stderr": "1 finding(s)\ngate: 1 of 1 at or above high (threshold 5)\n",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Ignore explicit error-shaped results and deliberate loop control",
      "source": "* Non-empty \"error-shaped\" containers (`return {\"items\": [], \"error\": True}`)\n  — an explicit error object is the remediation the tool itself recommends,\n  so it refuses to second-guess one. Loop skip-and-continue / retry-break\n  handlers (`continue` / `break`) are deliberate control flow, not\n  fall-throughs.",
      "input": "sample.py with an explicit error object and exception-driven continue",
      "expected": "one silent-fallback finding; no findings for the error object or loop control",
      "command": "<guest-path> --threshold 5 <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: silent-fallback",
      "evidence": "…silent-fallback: exception handler returns fallback constant '0.0' without re-raising (on path: return); the caller cannot distinguish failure from a legitimate value of the same shape\n1 finding(s)\ngate: 1 of 1 at or above high (threshold 5)\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "<guest-path> high: silent-fallback: exception handler returns fallback constant '0.0' without re-raising (on path: return); the caller cannot distinguish failure from a legitimate value of the same shape\n",
      "stderr": "1 finding(s)\ngate: 1 of 1 at or above high (threshold 5)\n",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Scan a Python file and report a constant fallback",
      "source": "README.md Usage: failroute path/to/file.py; --threshold 5",
      "input": "sample.py containing a constant fallback",
      "command": "<guest-path> --threshold 5 <guest-path>",
      "evidence": "<guest-path> high: silent-fallback: exception handler returns fallback constant '0.0' without re-raising (on path: return); the caller cannot distinguish failure from a legitimate value of the same shape\n1 finding(s)\ngate: 1 of 1 at or above high (threshold 5)",
      "deferred": false,
      "expected": "one silent-fallback finding",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "<guest-path> high: silent-fallback: exception handler returns fallback constant '0.0' without re-raising (on path: return); the caller cannot distinguish failure from a legitimate value of the same shape\n",
      "stderr": "1 finding(s)\ngate: 1 of 1 at or above high (threshold 5)\n",
      "output_truncated": false,
      "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 sections Quickstart, Usage, and Development and src/failroute/cli.py, the CLI entrypoint. The CLI performs a one-shot static scan; the README and entrypoint describe no scheduled, looping, webhook, --once, or --now trigger.",
      "evidence": "Inspected README sections Quickstart, Usage, and Development and src/failroute/cli.py, the CLI entrypoint. The CLI performs a one-shot static scan; the README and entrypoint describe no scheduled, looping, webhook, --once, or --now trigger.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "e51a3a69d72e4a114241c4640aa2c9755ab01a7f",
    "ci_read_at": "2026-11-16T04:59:11Z",
    "ci_state": "SUCCESS",
    "commits_90d": 124,
    "last_commit_at": "2026-11-16T04:50:44Z",
    "last_release_at": "2026-11-16T04:53:07Z",
    "median_reply_hours": null,
    "merged_prs_90d": 2,
    "note": "actively maintained: last commit 0 days ago; 124 commits and 2 merged PRs in 90 days; 0 open issues, 1 open PRs; latest release 2026-11-16",
    "open_issues": 0,
    "open_prs": 1,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "pip 24.0",
    "workspace virtual environment .venv"
  ],
  "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": 1,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 3,
      "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-10a3f8b756dc3e74ff7fc010b0a0fc05e98287569cac69bf81c7495b91ff1eda",
  "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"
}
