{
  "run_id": "simonw--sqlite-utils-claude-haiku-5-5-1793089076431220656",
  "date": "2026-10-27T08:23:38.984877+00:00",
  "repo": "simonw/sqlite-utils",
  "kind": "repo",
  "source": "https://github.com/simonw/sqlite-utils",
  "commit": "9c66bafa52ae23d40499c74b0db3b635bcddb876",
  "model": "claude-haiku-5-5",
  "model_version": "claude-haiku-5-5",
  "test_version": "readme-d5b140d3c0f8b95c2dd6fe6fc381a303cacb92679582c22317d8e78b572f0cf2",
  "pass": true,
  "outcome": "pass",
  "time_to_working_s": 314.0850530889584,
  "total_s": 342.55363035202026,
  "steps": [
    "cd <guest-path> && pwd && ls -la && git -C . rev-parse HEAD 2>&1 | head -1; python3 --version; id -u; cat /etc/os-release | head -2; echo \"CDP=$CDP_URL\"",
    "cd <guest-path> && cat README.md 2>/dev/null | head -150; ls <guest-path>; ls /inputs 2>&1",
    "cd <guest-path> && grep -n \"requires-python\\|dependencies\" -A3 pyproject.toml | head -30; cat Justfile; ls .coldpass; python3 -m venv --help >/dev/null 2>&1 && echo venv_ok || echo venv_missing",
    "mkdir -p <guest-path> && cd <guest-path> && python3 -m venv <guest-path> && <guest-path> install -q --upgrade pip 2>&1 | tail -3; <guest-path> install -q <guest-path> 2>&1 | tail -5; echo rc=$?; ls <guest-path> | grep sqlite",
    "mkdir -p <guest-path> && printf 'id,age,name\\n1,4,Cleo\\n2,2,Pancakes\\n' > <guest-path> && cd <guest-path> && export PATH=<guest-path> && sqlite-utils --version && sqlite-utils memory dogs.csv \"select * from t\"; echo rc=$?; sqlite-utils memory dogs.csv \"select * from t\" --csv; echo rc=$?",
    "export PATH=<guest-path>; cd <guest-path> && cat dogs.csv | sqlite-utils memory - \"select name, age from stdin\"; echo rc=$?; mkdir -p <guest-path> && sqlite-utils insert <guest-path> dogs dogs.csv --csv; echo rc=$?; ls -la <guest-path>; sqlite-utils <guest-path> \"select id, name from dogs\"; echo rc=$?",
    "cd <guest-path> && sed -n '/optional-dependencies/,/^$/p;/dependency-groups/,/^\\[tool/p' pyproject.toml | head -50; ls .github/workflows; grep -n \"pytest\\|run:\" .github/workflows/test.yml | head -20",
    "<guest-path> install -q pytest hypothesis numpy 2>&1 | tail -3; cd <guest-path> && timeout 900 <guest-path> -q -p no:cacheprovider 2>&1 | tail -15; echo rc=${PIPESTATUS[0]}",
    "export PATH=<guest-path>; cd <guest-path> && echo '[{\"id\": 1, \"name\": \"Cleo\"}, {\"id\": 2, \"name\": \"Pancakes\"}]' | sqlite-utils memory - \"select name from stdin\"; echo rc=$?; sqlite-utils memory --help | grep -i -A1 \"save\\|--table\\|--csv\" | head -12",
    "rm -rf <guest-path> && cd <guest-path> && ls -a && git status 2>/dev/null | head -1; find . -maxdepth 2 -name \"*.egg-info\" -o -maxdepth 2 -name build -type d | head; mkdir -p <guest-path> && ls -la <guest-path>",
    "cd <guest-path> && rm -rf build sqlite_utils.egg-info .hypothesis && cat > .coldpass/probe.json <<'EOF'\n{\"kind\":\"cli\",\"argv\":[\"sqlite-utils\",\"memory\",\"-\",\"select name, age from stdin\"],\"cwd\":\"<guest-path>\",\"stdin\":\"id,age,name\\n1,4,Cleo\\n2,2,Pancakes\\n\",\"env\":{},\"expected_text\":\"\\\"name\\\": \\\"Cleo\\\"\"}\nEOF\npython3 -I -c \"import json;print(json.load(open('.coldpass/probe.json'))['argv'])\"",
    "cd <guest-path> && cat > .coldpass/probe.json <<'EOF'\n{\"kind\":\"cli\",\"argv\":[\"<guest-path>\",\"memory\",\"-\",\"select name, age from stdin\"],\"cwd\":\"<guest-path>\",\"stdin\":\"id,age,name\\n1,4,Cleo\\n2,2,Pancakes\\n\",\"env\":{},\"expected_text\":\"\\\"name\\\": \\\"Cleo\\\"\"}\nEOF\ncat > .coldpass/claims.json <<'EOF'\n[{\"kind\":\"claim\",\"claim\":\"sqlite-utils memory runs SQL over CSV piped on stdin\",\"source\":\"`sqlite-utils memory` lets you import CSV or JSON data into an in-memory database and run SQL queries against it in a single command:\",\"input\":\"CSV via stdin, select name and age\",\"expected\":\"rows with name Cleo\",\"probe_kind\":\"cli\",\"argv\":[\"<guest-path>\",\"memory\",\"-\",\"select name, age from stdin\"],\"stdin\":\"id,age,name\\n1,4,Cleo\\n2,2,Pancakes\\n\",\"expected_text\":\"\\\"name\\\": \\\"Cleo\\\"\",\"cwd\":\"<guest-path>\",\"env\":{}},\n{\"kind\":\"claim\",\"claim\":\"sqlite-utils memory runs SQL over JSON piped on stdin\",\"source\":\"`sqlite-utils memory` lets you import CSV or JSON data into an in-memory database and run SQL queries against it in a single command:\",\"input\":\"JSON array via stdin, select name\",\"expected\":\"rows with name Pancakes\",\"probe_kind\":\"cli\",\"argv\":[\"<guest-path>\",\"memory\",\"-\",\"select name from stdin\"],\"stdin\":\"[{\\\"id\\\": 1, \\\"name\\\": \\\"Cleo\\\"}, {\\\"id\\\": 2, \\\"name\\\": \\\"Pancakes\\\"}]\",\"expected_text\":\"\\\"name\\\": \\\"Pancakes\\\"\",\"cwd\":\"<guest-path>\",\"env\":{}}]\nEOF\npython3 -I -c \"import json;[print(c['argv'][-1]) for c in json.load(open('.coldpass/claims.json'))]\"",
    "cd <guest-path> && cat > .coldpass/examples.json <<'EOF'\n[{\"kind\":\"example\",\"claim\":\"Insert a CSV file into a new SQLite database file\",\"source\":\"README.md: sqlite-utils insert dogs.db dogs dogs.csv --csv\",\"input\":\"<guest-path> into fresh <guest-path>\",\"expected\":\"exit 0 and new database file created\",\"argv\":[\"<guest-path>\",\"insert\",\"<guest-path>\",\"dogs\",\"<guest-path>\",\"--csv\"],\"cwd\":\"<guest-path>\",\"env\":{},\"output_directory\":\"<guest-path>\"},\n{\"kind\":\"example\",\"claim\":\"Repository documented test suite (CI runs pytest)\",\"source\":\".github/workflows/test.yml: pytest -v\",\"input\":\"offline test suite in venv\",\"expected\":\"all tests pass\",\"argv\":[\"<guest-path>\",\"-q\",\"-p\",\"no:cacheprovider\"],\"cwd\":\"<guest-path>\",\"env\":{\"HYPOTHESIS_STORAGE_DIRECTORY\":\"<guest-path>\"},\"expected_text\":\"1497 passed, 16 skipped\"}]\nEOF\ncat > .coldpass/cycles.json <<'EOF'\n{\"detected\":false,\"reason\":\"Entry points inspected: README.md (CLI/library usage only), pyproject.toml [project.scripts] sqlite-utils = sqlite_utils.cli:cli, Justfile. No cron, scheduler, loop, webhook, --once or --now feature in the product; the only scheduling found is in CI workflows (.github/workflows), which are not product cycles.\",\"checks\":[]}\nEOF\n<guest-path> -I -c \"import json;[json.load(open('.coldpass/'+f)) for f in ['examples.json','cycles.json','claims.json','probe.json']];print('json ok')\"",
    "cd <guest-path> && cat > .coldpass/report.json <<'EOF'\n{\"outcome\":\"working\",\"fault_owner\":null,\"operation\":\"Run sqlite-utils (CLI) on CSV and JSON piped via stdin using the README's `sqlite-utils memory` command, plus insert a CSV into a new SQLite file and run the offline pytest suite\",\"operation_scope\":\"Ubuntu 24.04 guest, Python 3.12.3, venv at <guest-path>, pip install of the local workspace source (sqlite-utils 4.2.1). Offline. No browser, no credentials.\",\"steps\":[\"python3 -m venv <guest-path>\",\"<guest-path> install <guest-path>\",\"sqlite-utils memory dogs.csv \\\"select * from t\\\"\",\"cat dogs.csv | sqlite-utils memory - \\\"select name, age from stdin\\\"\",\"echo JSON | sqlite-utils memory - \\\"select name from stdin\\\"\",\"sqlite-utils insert dogs.db dogs dogs.csv --csv\",\"sqlite-utils dogs.db \\\"select id, name from dogs\\\"\",\"pip install pytest hypothesis numpy; pytest -q (CI test.yml runs pytest)\"],\"deviations\":[\"Used pip in a venv (README's pip install) instead of the Justfile's uv; uv not needed for the README path.\",\"Workspace has no .git metadata, so the pinned commit 9c66bafa52ae23d40499c74b0db3b635bcddb876 was not verified; git init/fetch steps were not needed for these commands.\",\"pip install and pytest created build/, sqlite_utils.egg-info and .hypothesis in the checkout; removed build/, egg-info and .hypothesis after install. pytest later run with HYPOTHESIS_STORAGE_DIRECTORY outside the checkout.\",\"Pytest installed extra test deps (pytest, hypothesis, numpy) per CI workflow; not the full dev dependency group (no lint run).\",\"Library (Python API) example in README not run: it is inline Python, not a documented CLI entrypoint.\",\"Browser/CDP endpoint not used: operation is offline CLI.\"],\"stuck_step\":null,\"main_blocker\":null,\"plain_failure\":null,\"suggested_fix\":null}\nEOF\n<env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -60"
  ],
  "stuck_step": null,
  "error_excerpt": null,
  "what_it_did": "Run sqlite-utils (CLI) on CSV and JSON piped via stdin using the README's `sqlite-utils memory` command, plus insert a CSV into a new SQLite file and run the offline pytest suite",
  "suggested_fix": null,
  "tokens_in": 247625,
  "tokens_out": 12924,
  "cost_usd": 0.01401681,
  "usage_complete": true,
  "checks": [
    {
      "check": "operation",
      "status": "PASS",
      "details": {
        "working": true,
        "argv": [
          "<guest-path>",
          "memory",
          "-",
          "select name, age from stdin"
        ],
        "kind": "cli",
        "returncode": 0,
        "stdout": "[{\"name\": \"Cleo\", \"age\": 4},\n {\"name\": \"Pancakes\", \"age\": 2}]",
        "stderr": "",
        "needs_credentials": false,
        "needs_browser": false,
        "scope": "product operation"
      }
    }
  ],
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "No problems traced to this repository code in these checks.",
    "expected": "Reviewed as expected for a test run: attempted writes that failed, so nothing was written.",
    "findings": [],
    "context": [],
    "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."
    ],
    "static": {
      "dependency_note": "OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check."
    },
    "evidence_url": "/safety/?run=simonw--sqlite-utils-claude-haiku-5-5-1793089076431220656",
    "evidence_file": "/data/safety/simonw--sqlite-utils-claude-haiku-5-5-1793089076431220656.json.gz"
  },
  "agent_execution": "native_agent",
  "agent_runtime": "claude-code",
  "agent_runtime_version": "2.1.310 (Claude Code)",
  "tool_transport": "mcp-assigned-vm",
  "platform": "linux",
  "reasoning": "low",
  "service_tier": null,
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "native_tool_calls": 14,
  "native_bundle": null,
  "architecture": null,
  "backend": "hyperv",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platform_conflicts": null,
  "sandbox_source": null,
  "source_pin": {
    "commit": "9c66bafa52ae23d40499c74b0db3b635bcddb876",
    "url": "https://github.com/simonw/sqlite-utils"
  },
  "purpose": "initial",
  "profile": {
    "model": "claude-haiku-5-5",
    "reasoning": "low"
  },
  "fault": {
    "owner": null,
    "status": "resolved",
    "reason": null
  },
  "fix_id": null,
  "verifies_run_id": null,
  "hosting": null,
  "operation_scope": "product operation",
  "tool_calls": 14,
  "guest_setup": null,
  "runtime": null,
  "runtime_version": null,
  "runtime_revision": null,
  "source_revision": null,
  "evidence_version": null,
  "failure_origin": null,
  "evidence_strength": "readme_checked",
  "works": "yes",
  "install_s": null,
  "first_use_s": null,
  "mcp": "none",
  "needs": [],
  "needs_which": null,
  "agent_interface": [
    "cli"
  ],
  "license": "Apache-2.0",
  "repo_url": "https://github.com/simonw/sqlite-utils",
  "cost_to_try": "free",
  "hardware": null,
  "what_failed": null,
  "local_or_hosted": "local",
  "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": "Entry points inspected: README.md (CLI/library usage only), pyproject.toml [project.scripts] sqlite-utils = sqlite_utils.cli:cli, Justfile. No cron, scheduler, loop, webhook, --once or --now feature in the product; the only scheduling found is in CI workflows (.github/workflows), which are not product cycles.",
      "evidence": "Entry points inspected: README.md (CLI/library usage only), pyproject.toml [project.scripts] sqlite-utils = sqlite_utils.cli:cli, Justfile. No cron, scheduler, loop, webhook, --once or --now feature in the product; the only scheduling found is in CI workflows (.github/workflows), which are not product cycles.",
      "command": ""
    }
  ],
  "claims": [
    {
      "kind": "claim",
      "claim": "sqlite-utils memory runs SQL over CSV piped on stdin",
      "source": "`sqlite-utils memory` lets you import CSV or JSON data into an in-memory database and run SQL queries against it in a single command:",
      "input": "CSV via stdin, select name and age",
      "expected": "rows with name Cleo",
      "command": "<guest-path> memory - 'select name, age from stdin'",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"name\": \"Cleo\"",
      "evidence": "\"name\": \"Cleo\", \"age\": 4},\n {\"name\": \"Pancakes\", \"age\": 2}]\n",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "sqlite-utils memory runs SQL over JSON piped on stdin",
      "source": "`sqlite-utils memory` lets you import CSV or JSON data into an in-memory database and run SQL queries against it in a single command:",
      "input": "JSON array via stdin, select name",
      "expected": "rows with name Pancakes",
      "command": "<guest-path> memory - 'select name from stdin'",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"name\": \"Pancakes\"",
      "evidence": "\"name\": \"Pancakes\"}]\n",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "claims_note": null,
  "example_checks": [
    {
      "kind": "example",
      "claim": "Insert a CSV file into a new SQLite database file",
      "source": "README.md: sqlite-utils insert dogs.db dogs dogs.csv --csv",
      "input": "<guest-path> into fresh <guest-path>",
      "command": "<guest-path> insert <guest-path> dogs <guest-path> --csv",
      "evidence": "",
      "deferred": false,
      "expected": "exit 0 and new database file created",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully with no output"
    },
    {
      "kind": "example",
      "claim": "Repository documented test suite (CI runs pytest)",
      "source": ".github/workflows/test.yml: pytest -v",
      "input": "offline test suite in venv",
      "command": "<guest-path> -q -p no:cacheprovider",
      "evidence": "TemporaryDirectory' or pytest's 'tmp_path' fixture with absolute paths instead.\n    with runner.isolated_filesystem():\n\ntests/test_insert_files.py::test_insert_files_bad_text_encoding_error\n  <guest-path> DeprecationWarning: 'isolated_filesystem' is deprecated and will be removed in Click 9.0. Use 'tempfile.TemporaryDirectory' or pytest's 'tmp_path' fixture with absolute paths instead.\n    with runner.isolated_filesystem():\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n1497 passed, 16 skipped, 33 warnings in 87.76s (0:01:27)",
      "deferred": false,
      "expected": "all tests pass",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "does_what_it_says": "yes",
  "maintenance": {
    "last_commit_at": "2026-10-11T00:15:54Z",
    "commits_90d": 28,
    "merged_prs_90d": 10,
    "open_issues": 94,
    "open_prs": 67,
    "reply_share": 0.03,
    "reply_threads": 38,
    "median_reply_hours": 81.1,
    "last_release_at": "2026-08-13T23:53:47Z",
    "archived": false,
    "verdict": "maintained",
    "note": "actively maintained: last commit 16 days ago; 28 commits and 10 merged PRs in 90 days; 94 open issues, 67 open PRs; 1 of 38 recent threads got a maintainer reply, median first reply 81.1h; latest release 2026-08-13"
  },
  "maintenance_verdict": "maintained",
  "maintenance_note": "actively maintained: last commit 16 days ago; 28 commits and 10 merged PRs in 90 days; 94 open issues, 67 open PRs; 1 of 38 recent threads got a maintainer reply, median first reply 81.1h; latest release 2026-08-13",
  "maintained": "slow",
  "maintained_note": "last commit 16 days ago; 10 open issues, 0 answered or closed",
  "last_commit_at": "2026-10-11T00:15:55Z",
  "last_release_at": "2026-08-13T23:53:47Z",
  "open_issues": 10,
  "answered_issues": 0,
  "platforms_claimed": [
    "mac"
  ],
  "topic": "data",
  "agent_interfaces": [
    {
      "interface": "cli",
      "evidence": "independent checker",
      "observed": true,
      "operation_checked": true
    }
  ],
  "agent_interfaces_note": "README metadata is a discovery hint, not pinned documentation proof. Observed interfaces were exercised in this run. An empty list means unknown.",
  "mcp_context": null,
  "tested_at": "2026-10-27T08:23:38.984877+00:00",
  "tested_commit": "9c66bafa52ae23d40499c74b0db3b635bcddb876",
  "tested_with": {
    "agent": "claude-code",
    "agent_version": "2.1.310 (Claude Code)",
    "model": "claude-haiku-5-5",
    "model_route": "claude-haiku-5-5",
    "reasoning": "low",
    "os": "linux",
    "backend": "hyperv",
    "transport": "mcp-assigned-vm"
  },
  "setup_identity": {
    "repo": "simonw/sqlite-utils",
    "source": "https://github.com/simonw/sqlite-utils",
    "commit": "9c66bafa52ae23d40499c74b0db3b635bcddb876",
    "source_revision": null,
    "os": "linux",
    "architecture": null,
    "backend": "hyperv",
    "model": "claude-haiku-5-5",
    "model_version": "claude-haiku-5-5",
    "agent_execution": "native_agent",
    "agent_runtime": "claude-code",
    "agent_runtime_version": "2.1.310 (Claude Code)",
    "tool_transport": "mcp-assigned-vm",
    "runtime": null,
    "runtime_version": null,
    "runtime_revision": null,
    "sandbox_source": null,
    "guest_setup": null,
    "source_pin": {
      "commit": "9c66bafa52ae23d40499c74b0db3b635bcddb876",
      "url": "https://github.com/simonw/sqlite-utils"
    },
    "platform_details": {
      "os": "linux",
      "backend": "hyperv"
    },
    "platform_conflicts": null,
    "reasoning": "low",
    "service_tier": null,
    "resources": {
      "cpus": 2,
      "memory_mib": 4096,
      "disk_mib": 32768
    },
    "operation": "Run sqlite-utils (CLI) on CSV and JSON piped via stdin using the README's `sqlite-utils memory` command, plus insert a CSV into a new SQLite file and run the offline pytest suite",
    "operation_scope": "product operation",
    "hosting": null,
    "kind": "repo",
    "test_version": "readme-d5b140d3c0f8b95c2dd6fe6fc381a303cacb92679582c22317d8e78b572f0cf2",
    "evidence_version": null
  },
  "other_model": null,
  "other_run_id": null,
  "models_agree": null,
  "furthest_model": null,
  "transcript_url": "/transcripts/simonw--sqlite-utils-claude-haiku-5-5-1793089076431220656.txt",
  "report_url": "/reports/simonw--sqlite-utils-claude-haiku-5-5-1793089076431220656.json"
}
