{
  "schema_version": 1,
  "run_id": "ApahSaroj--agent-leftovers-gpt-6-luna-1795242648191023848",
  "date": "2026-11-21T06:34:46.242884+00:00",
  "repo": "ApahSaroj/agent-leftovers",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "7f23c127d38539e22b98d55feaa83f326db78811",
  "outcome": "pass",
  "time_to_working_s": 203.80512208500295,
  "install_s": null,
  "first_use_s": 156.924,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Scan a Claude Code session log and report leftover resources, estimated cost, and teardown guidance",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "README opening claim and --exit-zero option",
      "source": "See every cloud resource your AI coding agent left running, what it has cost so far, and the command to turn each off.",
      "input": "Synthetic Claude Code session creating demo-vm",
      "expected": "Compute Engine VM: demo-vm (gcloud)",
      "command": "node bin/agent-leftovers.js --logs .coldpass/samples/session.jsonl --brief --exit-zero",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Compute Engine VM: demo-vm (gcloud)",
      "evidence": "…Compute Engine VM: demo-vm (gcloud)\nRun /agent-leftovers:leftovers (or `npx github:ApahSaroj/agent-leftovers`) for the teardown commands. Mention this to the user; do not delete anything without asking.\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "agent-leftovers: 1 thing from earlier agent sessions may still be running (~$0.02 so far, estimate):\n- Compute Engine VM: demo-vm (gcloud)\nRun /agent-leftovers:leftovers (or `npx github:ApahSaroj/agent-leftovers`) for the teardown commands. Mention this to the user; do not delete anything without asking.\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README quick start",
      "source": "README.md: npx github:ApahSaroj/agent-leftovers",
      "input": "npx --yes github:ApahSaroj/agent-leftovers --help",
      "command": "npx --yes github:ApahSaroj/agent-leftovers --help",
      "evidence": "n\n  -h, --help\n\nIgnore file: ~/.agent-leftovers-ignore and ./.agent-leftovers-ignore, one pattern per\nline: a name, rule:name, or provider:* (* is a wildcard).\n\nTags it reads: gcloud --labels, aws --tag-specifications / --tags, az --tags.\nExpiry keys: expires, expiry, expires-at, delete-after, ttl (a date like 2026-11-07,\n2026-11-07t18-00, a unix time, or a ttl like 4h / 3d counted from creation).\nSession keys: session, session-id, agent-session.\n\nExit codes: 0 nothing left running, 1 leftovers found, 2 error or bad option. The same\nfor --brief, --script and --json; --exit-zero turns 1 into 0.",
      "deferred": false,
      "expected": "documented command completes successfully",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "\n  -h, --help\n\nIgnore file: ~/.agent-leftovers-ignore and ./.agent-leftovers-ignore, one pattern per\nline: a name, rule:name, or provider:* (* is a wildcard).\n\nTags it reads: gcloud --labels, aws --tag-specifications / --tags, az --tags.\nExpiry keys: expires, expiry, expires-at, delete-after, ttl (a date like 2026-11-07,\n2026-11-07t18-00, a unix time, or a ttl like 4h / 3d counted from creation).\nSession keys: session, session-id, agent-session.\n\nExit codes: 0 nothing left running, 1 leftovers found, 2 error or bad option. The same\nfor --brief, --script and --json; --exit-zero turns 1 into 0.\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 README.md and bin/agent-leftovers.js entrypoint: one-shot local log scan that prints a report and exits; no product cron, loop, webhook, --once or --now cycle trigger.",
      "evidence": "Inspected README.md and bin/agent-leftovers.js entrypoint: one-shot local log scan that prints a report and exits; no product cron, loop, webhook, --once or --now cycle trigger.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "7f23c127d38539e22b98d55feaa83f326db78811",
    "ci_read_at": "2026-11-15T20:26:04Z",
    "ci_state": "SUCCESS",
    "commits_90d": 9,
    "last_commit_at": "2026-11-01T09:28:58Z",
    "last_release_at": "2026-11-01T09:34:07Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 3 days ago; 9 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-01",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Node.js >=18",
    "npm/npx"
  ],
  "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": [
          "node"
        ],
        "names": [
          "codeload.github.com",
          "registry.npmjs.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 3,
    "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": 1,
      "malicious": [],
      "vulnerabilities": []
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-750e3cdbb85cbaf919c8a710efe66f4caa6904b3eee09a851787291ecc117a40",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "github.com",
        "registry.npmjs.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "github.com",
        "registry.npmjs.org"
      ],
      "package_registries": [
        "registry.npmjs.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"
}
