{
  "schema_version": 1,
  "run_id": "codeslake--cswap-pin-claude-haiku-5-5-1794326199992240124",
  "date": "2026-11-10T15:58:52.358039+00:00",
  "repo": "codeslake/cswap-pin",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "361b25c22cbce7977480164ce351bda9427abf87",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 18.235,
  "first_use_s": null,
  "stuck_step": "cswap list / Quick start step 2: log in with claude and cswap add, which needs a claude.ai OAuth account",
  "what_failed": "missing prerequisite cannot prove a working operation: {\"argv\": [\"sudo\", \"-n\", \"-u\", \"ubuntu\", \"env\", \"HOME=<host-path>\", \"<guest-path>\", \"list\"], \"return",
  "suggested_fix": "Provide a claude.ai OAuth test account, install Claude Code, log in as the ubuntu user, run cswap add, then cswap pin N and cswap pin --state to test the real pin path.",
  "what_it_did": "Install cswap-pin via README Quick start (uv tool install claude-swap[pin] at fork commit with cswap-pin==0.1.338), then cswap pin N for a logged-in claude.ai OAuth account",
  "needs": [
    "credentials"
  ],
  "needs_which": "an account or key",
  "claims": [
    {
      "kind": "claim",
      "claim": "cswap list shows the number of each account",
      "source": "`cswap list` shows the number N it was given.",
      "input": "cswap list",
      "expected": "numbered account list",
      "command": "",
      "verdict": "blocked",
      "outcome": "prerequisite",
      "evidence": "prerequisite",
      "needs": "claude.ai OAuth account logged in with Claude Code and added to cswap with cswap add",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "cswap pin refuses to run as root outside a container",
      "source": "**Not root, unless inside a container.** As root outside one, `cswap pin`",
      "input": "cswap pin as root",
      "expected": "refusal",
      "command": "<guest-path> pin",
      "verdict": "no",
      "outcome": "Real input did not produce the expected result: Do not run this script as root",
      "evidence": "…Do not run this script as root (unless running in a container)\n",
      "hardware_prerequisite": null,
      "returncode": 1,
      "stdout": "",
      "stderr": "Error: Do not run this script as root (unless running in a container)\n",
      "output_truncated": false,
      "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": "Inspected README and pyproject: cswap pin --ensure is a launch hook run per claude launch, not a cron, loop, webhook, --once or --now trigger; no product cycle exists.",
      "evidence": "Inspected README and pyproject: cswap pin --ensure is a launch hook run per claude launch, not a cron, loop, webhook, --once or --now trigger; no product cycle exists.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "commits_90d": 1293,
    "last_commit_at": "2026-11-06T20:08:22Z",
    "last_release_at": null,
    "median_reply_hours": 7.1,
    "merged_prs_90d": 164,
    "note": "actively maintained: last commit 0 days ago; 1293 commits and 164 merged PRs in 90 days; 0 open issues, 0 open PRs; 2 of 2 recent threads got a maintainer reply, median first reply 7.1h; no releases",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": 1.0,
    "reply_threads": 2,
    "verdict": "maintained",
    "ci_state": "SUCCESS",
    "ci_commit": "4c9bae24e363d6e424ead5376926c4535bc33071",
    "ci_read_at": "2026-11-15T20:40:40Z"
  },
  "local_or_hosted": "local",
  "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": false,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 4,
    "secrets_in_tests": 4,
    "download_lines_in_tests": 0,
    "dependency_versions": 15,
    "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-773543dc390696a5e23fadcc0d169393413f5072fd3b822558ed812bee69aafa",
  "evidence_strength": "partly_checked"
}
