{
  "schema_version": 1,
  "run_id": "ci-doctor--ci-doctor-claude-haiku-5-5-1795452936140184065",
  "date": "2026-11-23T16:58:39.565117+00:00",
  "repo": "ci-doctor/ci-doctor",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "eaed925d3786fbf8c92a22d207de3402a37c4a76",
  "outcome": "pass",
  "time_to_working_s": 135.85703759500757,
  "install_s": 30.562,
  "first_use_s": 18.282,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "ci-doctor analyze <failed-job log file> (offline log replay, deterministic report)",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Explains where a CI job failed",
      "source": "A postmortem step that runs when a pipeline fails, works out <em>where</em> and <em>why</em> it broke,\n  and emits a structured report — without ever touching your code.",
      "input": "<guest-path>",
      "expected": "failed in the script phase",
      "command": "<guest-path> --plain analyze <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: failed in the script phase",
      "evidence": "…failed in the script phase (script_failure).                     │\n│ phase=script  category=unknown  confidence=low                               │\n╰──────────────────────────────────────────────────────────────────────────────╯\nRoot cause\nERROR: Job failed: exit code 1\n\nEvidence\nscript\n╭──────────────────────────────────────────────────────────────────────────────╮\n│ Description                                                                  │\n│ Terminal evidence selected by deterministic attribution.                     │\n│                                                                    ",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "─────────────────────────────────────────────────────────╯\nRemediation\n  1. Inspect the terminal command output in the excerpt and fix the failing command.\n\nHandoff prompt (copy to your coding agent)\nCI job \"failing-job\" failed in the script phase (reason: script_failure, rule: last_error_section).\nTerminal evidence:\nERROR: Job failed: exit code 1\n\nRelevant log excerpt:\n$ pytest -q\ncollected 3 items\ntests/test_app.py F.F\nFAILED tests/test_app.py::test_add - AssertionError: assert 2 == 3\nERROR: Job failed: exit code 1\n\nDiagnose the root cause and implement a fix. Do not change unrelated code.\n\n",
      "stderr": "INFO     config: ci github, git host github                                     \nINFO     matchers: 17 loaded from official in 0.6s                              \nINFO     analyzing 1 job(s) from <guest-path>             \nINFO     job failing-job: blamed the script phase (reason script_failure, rule  \n         last_error_section, confidence low)                                    \nINFO     job failing-job: evidence kept 5 of 5 lines, 0 matcher output(s) fired \nINFO     job failing-job: deterministic report (no LLM configured)              \nwrote report.md and report.json\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Deterministic phase attribution",
      "source": "- **Deterministic phase attribution** — a pure, fully-tested classifier decides where a job\n  broke (`provision` · `prepare` · `fetch` · `script` · `post`) from metadata and log\n  structure. Non-fatal `WARNING:` lines can never be blamed.",
      "input": "<guest-path>",
      "expected": "failed in the script phase",
      "command": "<guest-path> --plain analyze <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: failed in the script phase",
      "evidence": "…failed in the script phase (script_failure).                     │\n│ phase=script  category=unknown  confidence=low                               │\n╰──────────────────────────────────────────────────────────────────────────────╯\nRoot cause\nERROR: Job failed: exit code 1\n\nEvidence\nscript\n╭──────────────────────────────────────────────────────────────────────────────╮\n│ Description                                                                  │\n│ Terminal evidence selected by deterministic attribution.                     │\n│                                                                    ",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "─────────────────────────────────────────────────────────╯\nRemediation\n  1. Inspect the terminal command output in the excerpt and fix the failing command.\n\nHandoff prompt (copy to your coding agent)\nCI job \"failing-job\" failed in the script phase (reason: script_failure, rule: last_error_section).\nTerminal evidence:\nERROR: Job failed: exit code 1\n\nRelevant log excerpt:\n$ pytest -q\ncollected 3 items\ntests/test_app.py F.F\nFAILED tests/test_app.py::test_add - AssertionError: assert 2 == 3\nERROR: Job failed: exit code 1\n\nDiagnose the root cause and implement a fix. Do not change unrelated code.\n\n",
      "stderr": "INFO     config: ci github, git host github                                     \nINFO     matchers: 17 loaded from official in 0.8s                              \nINFO     analyzing 1 job(s) from <guest-path>             \nINFO     job failing-job: blamed the script phase (reason script_failure, rule  \n         last_error_section, confidence low)                                    \nINFO     job failing-job: evidence kept 5 of 5 lines, 0 matcher output(s) fired \nINFO     job failing-job: deterministic report (no LLM configured)              \nwrote report.md and report.json\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Read-only, exits 0 once analysis starts",
      "source": "- **Read-only and safe** — never edits code, commits, or opens MRs, and **exits 0 once\n  analysis starts**, so it can't change your pipeline's status or hide the real failure.\n  Only a broken setup (bad config, no matchers selected, an unreachable registry) exits 1.",
      "input": "<guest-path>",
      "expected": "failed in the script phase",
      "command": "<guest-path> --plain analyze <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: failed in the script phase",
      "evidence": "…failed in the script phase (script_failure).                     │\n│ phase=script  category=unknown  confidence=low                               │\n╰──────────────────────────────────────────────────────────────────────────────╯\nRoot cause\nERROR: Job failed: exit code 1\n\nEvidence\nscript\n╭──────────────────────────────────────────────────────────────────────────────╮\n│ Description                                                                  │\n│ Terminal evidence selected by deterministic attribution.                     │\n│                                                                    ",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "─────────────────────────────────────────────────────────╯\nRemediation\n  1. Inspect the terminal command output in the excerpt and fix the failing command.\n\nHandoff prompt (copy to your coding agent)\nCI job \"failing-job\" failed in the script phase (reason: script_failure, rule: last_error_section).\nTerminal evidence:\nERROR: Job failed: exit code 1\n\nRelevant log excerpt:\n$ pytest -q\ncollected 3 items\ntests/test_app.py F.F\nFAILED tests/test_app.py::test_add - AssertionError: assert 2 == 3\nERROR: Job failed: exit code 1\n\nDiagnose the root cause and implement a fix. Do not change unrelated code.\n\n",
      "stderr": "INFO     config: ci github, git host github                                     \nINFO     matchers: 17 loaded from official in 0.9s                              \nINFO     analyzing 1 job(s) from <guest-path>             \nINFO     job failing-job: blamed the script phase (reason script_failure, rule  \n         last_error_section, confidence low)                                    \nINFO     job failing-job: evidence kept 5 of 5 lines, 0 matcher output(s) fired \nINFO     job failing-job: deterministic report (no LLM configured)              \nwrote report.md and report.json\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [],
  "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": "README and pyproject/entrypoints inspected: ci-doctor analyze is a one-shot CLI; no cron, loop, webhook or --once/--now scheduler documented in README.md.",
      "evidence": "README and pyproject/entrypoints inspected: ci-doctor analyze is a one-shot CLI; no cron, loop, webhook or --once/--now scheduler documented in README.md.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "1d352fff48ee114d6bd8d2ffa06e67dab131b9fd",
    "ci_read_at": "2026-11-15T20:40:26Z",
    "ci_state": null,
    "commits_90d": 130,
    "last_commit_at": "2026-11-08T21:02:37Z",
    "last_release_at": "2026-11-08T21:02:47Z",
    "median_reply_hours": null,
    "merged_prs_90d": 26,
    "note": "slow: last commit 0 days ago; 130 commits and 26 merged PRs in 90 days; 0 open issues, 4 open PRs; 0 of 7 recent threads got a maintainer reply; latest release 2026-11-08",
    "open_issues": 0,
    "open_prs": 4,
    "reply_share": 0.0,
    "reply_threads": 7,
    "verdict": "slow"
  },
  "dependencies": [
    "python>=3.11 (3.12.3 present)",
    "uv 0.13.9 (installed via pip into <guest-path>)",
    "network access to matchers registry (matchers.cidoc.dev)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README uses 'uv run ci-doctor'; uv was not preinstalled, so it was installed into a guest venv first",
    "README's 'pip install .' path blocked by PEP 668 on system Python; used venv/uv instead"
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 16 known vulnerability. 8 static matches retained as context.",
    "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": "185.199.108.153",
        "port": "443",
        "rule": null,
        "programs": [
          "ci-doctor"
        ],
        "names": [
          "matchers.cidoc.dev"
        ]
      },
      {
        "to": "185.199.109.153",
        "port": "443",
        "rule": null,
        "programs": [
          "ci-doctor"
        ],
        "names": [
          "matchers.cidoc.dev"
        ]
      },
      {
        "to": "185.199.110.153",
        "port": "443",
        "rule": null,
        "programs": [
          "ci-doctor"
        ],
        "names": [
          "matchers.cidoc.dev"
        ]
      },
      {
        "to": "185.199.111.153",
        "port": "443",
        "rule": null,
        "programs": [
          "ci-doctor"
        ],
        "names": [
          "matchers.cidoc.dev"
        ]
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "pip",
          "uv"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "ci-doctor"
        ],
        "names": [
          "matchers.cidoc.dev"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "astro",
        "version": "7.3.5",
        "advisory": "GHSA-mh32-jxcr-mh9f"
      },
      {
        "package": "astro",
        "version": "7.3.5",
        "advisory": "GHSA-r3h5-4585-7x3w"
      },
      {
        "package": "undici",
        "version": "8.11.2",
        "advisory": "GHSA-2m5v-pch6-74hx"
      },
      {
        "package": "undici",
        "version": "8.11.2",
        "advisory": "GHSA-4qv8-2p9j-2685"
      },
      {
        "package": "undici",
        "version": "8.11.2",
        "advisory": "GHSA-4w7w-5xrc-9h26"
      },
      {
        "package": "undici",
        "version": "8.11.2",
        "advisory": "GHSA-55wc-3pg8-jfw6"
      },
      {
        "package": "undici",
        "version": "8.11.2",
        "advisory": "GHSA-9fm3-97px-rjf6"
      },
      {
        "package": "undici",
        "version": "8.11.2",
        "advisory": "GHSA-f72v-6w45-q472"
      },
      {
        "package": "undici",
        "version": "8.11.2",
        "advisory": "GHSA-qrxm-fqhp-jwvm"
      },
      {
        "package": "undici",
        "version": "8.11.2",
        "advisory": "GHSA-xjj6-f33q-929c"
      },
      {
        "package": "vite",
        "version": "8.1.5",
        "advisory": "GHSA-587h-7wmj-h5pm"
      },
      {
        "package": "vite",
        "version": "8.1.5",
        "advisory": "GHSA-698v-4r3x-3vcv"
      },
      {
        "package": "vite",
        "version": "8.1.5",
        "advisory": "GHSA-9jrq-w75r-8gcw"
      },
      {
        "package": "vite",
        "version": "8.1.5",
        "advisory": "GHSA-r825-w8mm-5pxw"
      },
      {
        "package": "vite",
        "version": "8.1.5",
        "advisory": "GHSA-rq7h-c2jc-7f22"
      },
      {
        "package": "zod",
        "version": "4.6.5",
        "advisory": "GHSA-mrhx-c7xc-m3w5"
      }
    ],
    "secrets": 8,
    "secrets_in_tests": 8,
    "download_lines_in_tests": 0,
    "dependency_versions": 405,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 66,
      "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-fdbc37cfa4f4b1bdd1df2f50a5fff30276e52416f9bf601518f39b40ed2f4909",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "matchers.cidoc.dev",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "matchers.cidoc.dev",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [
        "matchers.cidoc.dev"
      ],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 3
    },
    "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"
}
