{
  "schema_version": 1,
  "run_id": "Stephen-Collins-tech--hotspots-claude-haiku-5-5-1794895112529048910",
  "date": "2026-11-17T06:00:20.737111+00:00",
  "repo": "Stephen-Collins-tech/hotspots",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "d9896efffc82c984fdbf70dd26710b4e1976b9da",
  "outcome": "pass",
  "time_to_working_s": 61.173443920968566,
  "install_s": 14.403,
  "first_use_s": 19.816,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Install hotspots-cli from PyPI and run 'hotspots analyze <dir>' to rank functions by Local Risk Score",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Hotspots is a code complexity tool that ranks functions by local risk score (LRS)",
      "source": "**Website:** https://hotspots.dev &nbsp;|&nbsp; **Docs:** https://docs.hotspots.dev &nbsp;|&nbsp; **Crates.io:** [![crates.io](https://img.shields.io/crates/v/hotspots-cli.svg)](https://crates.io/crates/hotspots-cli)",
      "input": "hotspots-core/src",
      "expected": "JSON list of functions with lrs and band values",
      "command": "<guest-path> analyze hotspots-core/src --format json --top 3",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: CfgBuilder::run",
      "evidence": "…CfgBuilder::run\",\n      \"language\": \"Rust\",\n      \"line\": 202,\n      \"lrs\": 17.284412953234565,\n      \"metrics\": {\n        \"cc\": 92,\n        \"fo\": 13,\n        \"loc\": 570,\n        \"missing_docstring\": false,\n        \"nd\": 6,\n        \"ns\": 12\n      },\n      \"risk\": {\n        \"r_cc\": 6.0,\n        \"r_fo\": 3.807354922057604,\n        \"r_nd\": 6.0,\n        \"r_ns\": 6.0\n      }\n    },\n    {\n      \"band\": \"critical\",\n      \"file\": \"<guest-path>\",\n      \"function\": \"PythonCfgBuilderState::run\",\n      \"language\": \"Rust\",\n      \"line\": 167,\n      \"",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "\n        \"r_ns\": 6.0\n      }\n    },\n    {\n      \"band\": \"critical\",\n      \"file\": \"<guest-path>\",\n      \"function\": \"GoCfgBuilderState::run\",\n      \"language\": \"Rust\",\n      \"line\": 189,\n      \"lrs\": 14.951489279422717,\n      \"metrics\": {\n        \"cc\": 55,\n        \"fo\": 14,\n        \"loc\": 349,\n        \"missing_docstring\": false,\n        \"nd\": 5,\n        \"ns\": 4\n      },\n      \"risk\": {\n        \"r_cc\": 5.807354922057604,\n        \"r_fo\": 3.9068905956085187,\n        \"r_nd\": 5.0,\n        \"r_ns\": 4.0\n      }\n    }\n  ],\n  \"schema_version\": 6\n}\n",
      "stderr": "Using config: <guest-path>\nAnalyzing: 0/70 files\nAnalyzing: 70/70 files [done in 0s]\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Hotspots is a code complexity tool that ranks functions by local risk score (LRS)",
      "source": "README.md Quick Start: hotspots analyze src/ (text output)",
      "input": "hotspots-core/src",
      "command": "<guest-path> analyze hotspots-core/src --format text --top 3",
      "evidence": "CRITICAL (3)\n  17.28  hotspots-core/src/cfg/builder.rs:202                  CfgBuilder::run\n  16.70  hotspots-core/src/language/python/cfg_builder.rs:167  PythonCfgBuilderState::run\n  14.95  hotspots-core/src/language/go/cfg_builder.rs:189      GoCfgBuilderState::run\n\n────────────────────────────────────────────────────────────\n3 functions shown (0 medium/low omitted)\nUse --top 0 to show all  ·  --top N for a different limit  ·  --format json for full output\nUsing config: <guest-path>\nAnalyzing: 0/70 files\nAnalyzing: 70/70 files [done in 0s]",
      "deferred": false,
      "expected": "text list of critical functions with LRS",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "CRITICAL (3)\n  17.28  hotspots-core/src/cfg/builder.rs:202                  CfgBuilder::run\n  16.70  hotspots-core/src/language/python/cfg_builder.rs:167  PythonCfgBuilderState::run\n  14.95  hotspots-core/src/language/go/cfg_builder.rs:189      GoCfgBuilderState::run\n\n────────────────────────────────────────────────────────────\n3 functions shown (0 medium/low omitted)\nUse --top 0 to show all  ·  --top N for a different limit  ·  --format json for full output\n",
      "stderr": "Using config: <guest-path>\nAnalyzing: 0/70 files\nAnalyzing: 70/70 files [done in 0s]\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.md and CLI usage: only CI integration (GitHub Action, manual CI policy gate) and a 'hotspots-ignore' comment were found; no cron, loop, watch, --once, --now, or webhook mode is documented for the product.",
      "evidence": "Inspected README.md and CLI usage: only CI integration (GitHub Action, manual CI policy gate) and a 'hotspots-ignore' comment were found; no cron, loop, watch, --once, --now, or webhook mode is documented for the product.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "8574f10b6bafce44e47e2560644cf159e3b16e52",
    "ci_read_at": "2026-11-15T20:33:37Z",
    "ci_state": "SUCCESS",
    "commits_90d": 370,
    "last_commit_at": "2026-11-07T20:44:55Z",
    "last_release_at": "2026-11-07T20:52:53Z",
    "median_reply_hours": null,
    "merged_prs_90d": 137,
    "note": "slow: last commit 0 days ago; 370 commits and 137 merged PRs in 90 days; 8 open issues, 2 open PRs; 0 of 25 recent threads got a maintainer reply; latest release 2026-11-07",
    "open_issues": 8,
    "open_prs": 2,
    "reply_share": 0.0,
    "reply_threads": 25,
    "verdict": "slow"
  },
  "dependencies": [
    "Python 3.12.3",
    "pip / venv",
    "hotspots-cli 3.8.0 from PyPI (prebuilt binary wheel)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README's 'hotspots' is not on PATH inside the venv; absolute path <guest-path> used in probes",
    "README Install lists brew/npm/cargo/curl options; only the pip route was exercised"
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 2 encoded blob, 74 known vulnerability.",
    "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": false,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "@babel/core",
        "version": "7.29.0",
        "advisory": "GHSA-4x5r-pxfx-6jf8"
      },
      {
        "package": "@vue/server-renderer",
        "version": "3.5.28",
        "advisory": "GHSA-g2v6-rqmx-r4w6"
      },
      {
        "package": "anyhow",
        "version": "1.0.100",
        "advisory": "RUSTSEC-2026-0190"
      },
      {
        "package": "baseline-browser-mapping",
        "version": "2.9.19",
        "advisory": "GHSA-w5vr-8v7q-w6rv"
      },
      {
        "package": "brace-expansion",
        "version": "1.1.14",
        "advisory": "GHSA-3jxr-9vmj-r5cp"
      },
      {
        "package": "brace-expansion",
        "version": "1.1.14",
        "advisory": "GHSA-6j4f-fj2g-mc7p"
      },
      {
        "package": "brace-expansion",
        "version": "1.1.14",
        "advisory": "GHSA-mh99-v99m-4gvg"
      },
      {
        "package": "brace-expansion",
        "version": "1.1.14",
        "advisory": "GHSA-q2hr-2g5m-vwhr"
      },
      {
        "package": "brace-expansion",
        "version": "1.1.14",
        "advisory": "GHSA-qhr7-859c-m2p7"
      },
      {
        "package": "brace-expansion",
        "version": "1.1.14",
        "advisory": "GHSA-rgw5-rvv9-x895"
      },
      {
        "package": "brace-expansion",
        "version": "2.1.0",
        "advisory": "GHSA-3jxr-9vmj-r5cp"
      },
      {
        "package": "brace-expansion",
        "version": "2.1.0",
        "advisory": "GHSA-6j4f-fj2g-mc7p"
      },
      {
        "package": "brace-expansion",
        "version": "2.1.0",
        "advisory": "GHSA-mh99-v99m-4gvg"
      },
      {
        "package": "brace-expansion",
        "version": "2.1.0",
        "advisory": "GHSA-q2hr-2g5m-vwhr"
      },
      {
        "package": "brace-expansion",
        "version": "2.1.0",
        "advisory": "GHSA-qhr7-859c-m2p7"
      },
      {
        "package": "brace-expansion",
        "version": "2.1.0",
        "advisory": "GHSA-rgw5-rvv9-x895"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.5",
        "advisory": "GHSA-3jxr-9vmj-r5cp"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.5",
        "advisory": "GHSA-6j4f-fj2g-mc7p"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.5",
        "advisory": "GHSA-jxxr-4gwj-5jf2"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.5",
        "advisory": "GHSA-mh99-v99m-4gvg"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.5",
        "advisory": "GHSA-q2hr-2g5m-vwhr"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.5",
        "advisory": "GHSA-qhr7-859c-m2p7"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.5",
        "advisory": "GHSA-rgw5-rvv9-x895"
      },
      {
        "package": "browserslist",
        "version": "4.28.1",
        "advisory": "GHSA-73wf-gq98-2v4g"
      },
      {
        "package": "browserslist",
        "version": "4.28.1",
        "advisory": "GHSA-c83g-rgw3-j3cx"
      },
      {
        "package": "esbuild",
        "version": "0.21.5",
        "advisory": "GHSA-67mh-4wv8-2f99"
      },
      {
        "package": "js-yaml",
        "version": "3.14.2",
        "advisory": "GHSA-2883-xcg3-v3hh"
      },
      {
        "package": "js-yaml",
        "version": "3.14.2",
        "advisory": "GHSA-52cp-r559-cp3m"
      },
      {
        "package": "js-yaml",
        "version": "3.14.2",
        "advisory": "GHSA-5p4m-2wfm-xmqj"
      },
      {
        "package": "js-yaml",
        "version": "3.14.2",
        "advisory": "GHSA-h67p-54hq-rp68"
      },
      {
        "package": "js-yaml",
        "version": "4.1.1",
        "advisory": "GHSA-2883-xcg3-v3hh"
      },
      {
        "package": "js-yaml",
        "version": "4.1.1",
        "advisory": "GHSA-52cp-r559-cp3m"
      },
      {
        "package": "js-yaml",
        "version": "4.1.1",
        "advisory": "GHSA-5p4m-2wfm-xmqj"
      },
      {
        "package": "js-yaml",
        "version": "4.1.1",
        "advisory": "GHSA-h67p-54hq-rp68"
      },
      {
        "package": "libsqlite3-sys",
        "version": "0.30.1",
        "advisory": "RUSTSEC-2026-0459"
      },
      {
        "package": "minimatch",
        "version": "10.2.5",
        "advisory": "GHSA-g3hv-75wg-m249"
      },
      {
        "package": "minimatch",
        "version": "9.0.9",
        "advisory": "GHSA-g3hv-75wg-m249"
      },
      {
        "package": "nanoid",
        "version": "3.3.11",
        "advisory": "GHSA-28wg-ghj8-5hjv"
      },
      {
        "package": "nanoid",
        "version": "3.3.11",
        "advisory": "GHSA-2v37-7h3g-55p8"
      },
      {
        "package": "nanoid",
        "version": "3.3.11",
        "advisory": "GHSA-xwg4-73v4-xw9w"
      },
      {
        "package": "number_prefix",
        "version": "0.4.0",
        "advisory": "RUSTSEC-2025-0119"
      },
      {
        "package": "paste",
        "version": "1.0.15",
        "advisory": "RUSTSEC-2024-0436"
      },
      {
        "package": "postcss",
        "version": "8.5.6",
        "advisory": "GHSA-6g55-p6wh-862q"
      },
      {
        "package": "postcss",
        "version": "8.5.6",
        "advisory": "GHSA-fxqj-rqcc-2cmp"
      },
      {
        "package": "postcss",
        "version": "8.5.6",
        "advisory": "GHSA-qx2v-qp2m-jg93"
      },
      {
        "package": "postcss",
        "version": "8.5.6",
        "advisory": "GHSA-r28c-9q8g-f849"
      },
      {
        "package": "rand",
        "version": "0.8.5",
        "advisory": "GHSA-cq8v-f236-94qc"
      },
      {
        "package": "rand",
        "version": "0.8.5",
        "advisory": "RUSTSEC-2026-0097"
      },
      {
        "package": "rollup",
        "version": "4.57.1",
        "advisory": "GHSA-mw96-cpmx-2vgc"
      },
      {
        "package": "rustix",
        "version": "1.1.3",
        "advisory": "RUSTSEC-2026-0486"
      },
      {
        "package": "smartstring",
        "version": "1.0.1",
        "advisory": "RUSTSEC-2026-0249"
      },
      {
        "package": "source-map-js",
        "version": "1.2.1",
        "advisory": "GHSA-68fv-2mgg-jv7q"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-2m5v-pch6-74hx"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-35p6-xmwp-9g52"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-4qv8-2p9j-2685"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-8xcm-r25x-g524"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-9fm3-97px-rjf6"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-g8m3-5g58-fq7m"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-m8rv-5g2x-5cg5"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-p88m-4jfj-68fv"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-qrxm-fqhp-jwvm"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-r53p-7pc4-xj5r"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-rfgv-xxqx-mfg5"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-v3r7-h72x-cjcm"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-vxpw-j846-p89q"
      },
      {
        "package": "undici",
        "version": "6.24.1",
        "advisory": "GHSA-xjj6-f33q-929c"
      },
      {
        "package": "vite",
        "version": "5.4.21",
        "advisory": "GHSA-4w7w-66w2-5vf9"
      },
      {
        "package": "vite",
        "version": "5.4.21",
        "advisory": "GHSA-587h-7wmj-h5pm"
      },
      {
        "package": "vite",
        "version": "5.4.21",
        "advisory": "GHSA-698v-4r3x-3vcv"
      },
      {
        "package": "vite",
        "version": "5.4.21",
        "advisory": "GHSA-9jrq-w75r-8gcw"
      },
      {
        "package": "vite",
        "version": "5.4.21",
        "advisory": "GHSA-fx2h-pf6j-xcff"
      },
      {
        "package": "vite",
        "version": "5.4.21",
        "advisory": "GHSA-r825-w8mm-5pxw"
      },
      {
        "package": "vite",
        "version": "5.4.21",
        "advisory": "GHSA-rq7h-c2jc-7f22"
      },
      {
        "package": "vite",
        "version": "5.4.21",
        "advisory": "GHSA-v6wh-96g9-6wx3"
      }
    ],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 999,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": null,
    "installed": null,
    "installed_inventory": false,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-f4e7045bb69ec912dfb707d240a22898f0e8b548ea2715175205ffab5b20c7a6",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [],
      "package_registries": [],
      "private_address_attempts": 0,
      "recorded": true,
      "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"
}
