{
  "schema_version": 1,
  "run_id": "Krako-Labs--kora-doctor-claude-haiku-5-5-1795296304043819702",
  "date": "2026-11-21T21:26:58.518667+00:00",
  "repo": "Krako-Labs/kora-doctor",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "8a5ad6edba3661e0177518f037ed4920a9b979a6",
  "outcome": "pass",
  "time_to_working_s": 78.92149379200418,
  "install_s": 24.962,
  "first_use_s": 28.075,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run kora-doctor demo and audit an AUDR JSON/JSONL trace to get evidence-backed execution-waste candidates",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "KORA Doctor reads AUDR traces and reports candidate findings with evidence (opening description)",
      "source": "> **AUDR answers:** What ran, and what did it cost?\n>\n> **KORA Doctor asks:** Which execution steps should you inspect for possible waste?",
      "input": "offline demo",
      "expected": "synthetic demo report",
      "command": "<guest-path> demo",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: SYNTHETIC DEMO",
      "evidence": "SYNTHETIC DEMO — example data, not live measurements.\n\nKORA Doctor\nFind execution waste in AI agent runs.\n\nObserved: 7 records · 1 run · 5 model calls · 2 tool calls\nObserved cost:                      $0.0660\nIllustrative savings:              $0.0000  (0%)\nIllustrative remainder:           $0.0660\n0% does not prove the run had no avoidable work; savings are unverified.\n\nExecution waste candidates\n-----------------------------------------------\nRepeated tool/read calls           1\nRetry overhead                     0\nHTTP 429 retry chains              0\nUnused/dead work                   0\nCo",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "kens were reported, but token count and absent or zero reasoning-token telemetry do not establish task difficulty or safe model substitution. Evaluate quality and cost before changing models.\n\nNotes\n-----------------------------------------------\n- SYNTHETIC DEMO: bundled fixture only; no real execution, measured savings, or safe call deletion established.\n\nFix execution waste first. Downsize models second.\nKORA Doctor reports candidates with evidence and confidence, not certainty.\nSavings scenarios are hypothetical, not measured results.\nDo not remove calls without replay and quality checks.\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "KORA Doctor reads AUDR traces and reports candidate findings with evidence (opening description)",
      "source": "README.md Bring your own trace: kora-doctor audit audr.jsonl --otel trace.json --json (run on bundled samples)",
      "input": "samples/otel_audr.jsonl with samples/otel_sidecar.json",
      "command": "<guest-path> audit samples/otel_audr.jsonl --otel samples/otel_sidecar.json --json",
      "evidence": "[\n        \"01KD8000000000000000000002\"\n      ],\n      \"run_ids\": [\n        \"run-otel-001\"\n      ],\n      \"saving_ratio\": 0.0,\n      \"title\": \"1 exact repeated tool call(s): lookup_customer\"\n    }\n  ],\n  \"model_calls\": 0,\n  \"observed_costs\": {\n    \"USD\": 0.008\n  },\n  \"potential_savings\": {\n    \"USD\": 0.0\n  },\n  \"potential_savings_percent\": {\n    \"USD\": 0.0\n  },\n  \"records\": 2,\n  \"runs\": 1,\n  \"savings_basis\": \"illustrative_heuristic_not_measured\",\n  \"tool_calls\": 2,\n  \"warnings\": [\n    \"OTel enrichment: 2/2 spans matched; 2 arg fingerprint(s); 2 status signal(s); 1 retry link(s) inferred.\"\n  ]\n}",
      "deferred": false,
      "expected": "JSON report with candidate findings",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "\n        \"01KD8000000000000000000002\"\n      ],\n      \"run_ids\": [\n        \"run-otel-001\"\n      ],\n      \"saving_ratio\": 0.0,\n      \"title\": \"1 exact repeated tool call(s): lookup_customer\"\n    }\n  ],\n  \"model_calls\": 0,\n  \"observed_costs\": {\n    \"USD\": 0.008\n  },\n  \"potential_savings\": {\n    \"USD\": 0.0\n  },\n  \"potential_savings_percent\": {\n    \"USD\": 0.0\n  },\n  \"records\": 2,\n  \"runs\": 1,\n  \"savings_basis\": \"illustrative_heuristic_not_measured\",\n  \"tool_calls\": 2,\n  \"warnings\": [\n    \"OTel enrichment: 2/2 spans matched; 2 arg fingerprint(s); 2 status signal(s); 1 retry link(s) inferred.\"\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 kora_doctor package, README.md and docs: kora-doctor is a one-shot CLI (demo, audit) with no cron, loop, daemon, --once/--now, or webhook entrypoint.",
      "evidence": "Inspected kora_doctor package, README.md and docs: kora-doctor is a one-shot CLI (demo, audit) with no cron, loop, daemon, --once/--now, or webhook entrypoint.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "8a5ad6edba3661e0177518f037ed4920a9b979a6",
    "ci_read_at": "2026-11-15T20:30:07Z",
    "ci_state": null,
    "commits_90d": 28,
    "last_commit_at": "2026-11-13T13:49:31Z",
    "last_release_at": "2026-11-11T01:15:04Z",
    "median_reply_hours": null,
    "merged_prs_90d": 4,
    "note": "slow: last commit 1 days ago; 28 commits and 4 merged PRs in 90 days; 8 open issues, 0 open PRs; 0 of 9 recent threads got a maintainer reply; latest release 2026-11-11",
    "open_issues": 8,
    "open_prs": 0,
    "reply_share": 0.0,
    "reply_threads": 9,
    "verdict": "slow"
  },
  "dependencies": [
    "Python 3.12.3 (README requires 3.9+)",
    "pip, venv"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README quick start installs <email> via pipx; the pinned source is 0.1.12, so the local checkout was installed with pip instead of pipx to test the pinned commit.",
    "Demo output text differs slightly from README example output (README shows older labels, e.g. 'Smaller-model candidates' section and no 'Illustrative remainder' line)."
  ],
  "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": 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-1ebe4065d90227c2c5cc8196c66d35ef8b1474d5c28c65f89ac809fdf92438da",
  "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"
}
