{
  "schema_version": 1,
  "run_id": "Stephen-Collins-tech--hotspots-claude-haiku-5-5-1795355709093507976",
  "date": "2026-11-22T14:09:30.021726+00:00",
  "repo": "Stephen-Collins-tech/hotspots",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "1e90d49ed0f714b576da0bd4d3414870e16697af",
  "outcome": "pass",
  "time_to_working_s": 785.3373485960183,
  "install_s": 547.309,
  "first_use_s": 50.86,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Build the pinned hotspots CLI from source and run `hotspots analyze <dir> --mode snapshot --format text --explain` to rank functions by Local Risk Score",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Website and documentation links are advertised in the README opening description",
      "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 analyzed in snapshot text mode",
      "expected": "ranked hotspot functions with file path and line",
      "command": "<guest-path> analyze hotspots-core/src --mode snapshot --format text --explain --top 3 --no-persist",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: hotspots-core/src/cfg/builder.rs:202",
      "evidence": "…hotspots-core/src/cfg/builder.rs:202                  run\n  1.85  hotspots-core/src/language/python/cfg_builder.rs:167  run\n  1.76  hotspots-core/src/language/go/cfg_builder.rs:189      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/71 files\nAnalyzing: 71/71 files [done in 0s]\nhotspots: reading git history (churn) (0s elapsed)\nhotspots: building call graph (0s elapsed)\nhotspots",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "CRITICAL (3)\n  1.88  hotspots-core/src/cfg/builder.rs:202                  run\n  1.85  hotspots-core/src/language/python/cfg_builder.rs:167  run\n  1.76  hotspots-core/src/language/go/cfg_builder.rs:189      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/71 files\nAnalyzing: 71/71 files [done in 0s]\nhotspots: reading git history (churn) (0s elapsed)\nhotspots: building call graph (0s elapsed)\nhotspots: reading touch history, burst score and scoring functions (1s elapsed)\n",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Output formats include json for machine consumption",
      "source": "**Output formats** — `text` (terminal), `json` (machine), `html` (interactive), `sarif` (GitHub Code Scanning).",
      "input": "hotspots-core/src in json format",
      "expected": "JSON snapshot with schema_version",
      "command": "<guest-path> analyze hotspots-core/src --mode snapshot --format json --top 3 --no-persist",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"schema_version\": 6",
      "evidence": "…\"schema_version\": 6,\n  \"commit\": {\n    \"sha\": \"1e90d49ed0f714b576da0bd4d3414870e16697af\",\n    \"parents\": [],\n    \"timestamp\": 1795184007,\n    \"branch\": \"master\",\n    \"message\": \"chore: update CHANGELOG.md\",\n    \"author\": \"github-actions[bot]\",\n    \"is_fix_commit\": false,\n    \"is_revert_commit\": false\n  },\n  \"analysis\": {\n    \"scope\": \"full\",\n    \"tool_version\": \"3.8.4\",\n    \"formula_version\": 3,\n    \"touch_window_days\": 365\n  },\n  \"summary\": {\n    \"total_functions\": 774,\n    \"total_activity_risk\": 950.1375185732412,\n    \"top_1_pct_share\": 0.012763971005058725,\n    \"top_5_pct_share\": 0.06336871",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "e\": 64.6\n      },\n      {\n        \"file\": \"hotspots-core/src/language/python/cfg_builder.rs\",\n        \"function_count\": 1,\n        \"loc\": 424,\n        \"max_cc\": 63,\n        \"avg_cc\": 63.0,\n        \"critical_count\": 1,\n        \"file_risk_score\": 44.3\n      },\n      {\n        \"file\": \"hotspots-core/src/language/go/cfg_builder.rs\",\n        \"function_count\": 1,\n        \"loc\": 349,\n        \"max_cc\": 55,\n        \"avg_cc\": 55.0,\n        \"critical_count\": 1,\n        \"file_risk_score\": 38.7\n      }\n    ]\n  },\n  \"co_change\": {\n    \"hidden_coupling\": [],\n    \"hidden_count\": 0,\n    \"total_pairs\": 0\n  }\n}\n",
      "stderr": "Using config: <guest-path>\nAnalyzing: 0/71 files\nAnalyzing: 71/71 files [done in 0s]\nhotspots: reading git history (churn) (0s elapsed)\nhotspots: building call graph (0s elapsed)\nhotspots: reading touch history, burst score and scoring functions (1s elapsed)\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Common commands: per-function explanations with refactoring advice",
      "source": "README.md",
      "input": "hotspots-core/src",
      "command": "<guest-path> analyze hotspots-core/src --mode snapshot --format text --explain --top 10 --no-persist",
      "evidence": "ge/csharp/cfg_builder.rs:165  run\n  1.63  hotspots-core/src/trainer.rs:215                      collect_fix_functions\n\n────────────────────────────────────────────────────────────\n10 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/71 files\nAnalyzing: 71/71 files [done in 0s]\nhotspots: reading git history (churn) (0s elapsed)\nhotspots: building call graph (0s elapsed)\nhotspots: reading touch history, burst score and scoring functions (1s elapsed)",
      "deferred": false,
      "expected": "functions shown with explanations",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "        train\n  1.65  hotspots-core/src/lib.rs:592                          build_call_graph_from_db\n  1.65  hotspots-core/src/analysis.rs:23                      analyze_file_with_config\n  1.65  hotspots-core/src/language/java/cfg_builder.rs:193    run\n  1.64  hotspots-core/src/language/csharp/cfg_builder.rs:165  run\n  1.63  hotspots-core/src/trainer.rs:215                      collect_fix_functions\n\n────────────────────────────────────────────────────────────\n10 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/71 files\nAnalyzing: 71/71 files [done in 0s]\nhotspots: reading git history (churn) (0s elapsed)\nhotspots: building call graph (0s elapsed)\nhotspots: reading touch history, burst score and scoring functions (1s elapsed)\n",
      "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.md, docs/COMMANDS.md and the hotspots CLI help: no product cron, loop, webhook, --once or --now entrypoint; the only scheduling is CI (GitHub Action/manual CI gating via --mode delta --policy), which is not product behavior.",
      "evidence": "Inspected README.md, docs/COMMANDS.md and the hotspots CLI help: no product cron, loop, webhook, --once or --now entrypoint; the only scheduling is CI (GitHub Action/manual CI gating via --mode delta --policy), which is not product behavior.",
      "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": [
    "python3 3.12",
    "rustc/cargo 1.100.0 via rustup",
    "build-essential, pkg-config (apt)",
    "git"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README shows `pip install hotspots-cli` and `hotspots` on PATH; the PyPI 5.0.0 wheel has no --mode flag and does not match the pinned 3.8.4 source, so the probe uses the source-built binary by absolute path",
    "README 'Common commands' uses --format text without --explain only in the Quick Start form; `analyze . --mode snapshot --format text --top 10` without --explain is rejected by this version, the documented --explain forms work"
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 2 encoded blob, 74 known vulnerability, 1 outside write.",
    "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": [
          "http"
        ],
        "names": [
          "_http._tcp.archive.ubuntu.com",
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "pip"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 1,
    "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": "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": "url",
        "version": "2.5.8",
        "advisory": "RUSTSEC-2026-0592"
      },
      {
        "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": 1004,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 2,
      "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-4197f076af8a7b128bc5f4da3fa0e526cca8795e599948d01ba5e4e4b9f0e5a3",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "pypi.org",
        "security.ubuntu.com"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org",
        "security.ubuntu.com"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org",
        "security.ubuntu.com"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 8
    },
    "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"
}
