{
  "schema_version": 1,
  "run_id": "mkarvan--doneguard-claude-haiku-5-5-1795882025438071819",
  "date": "2026-11-28T16:08:37.921857+00:00",
  "repo": "mkarvan/doneguard",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "098d63151c58b90b07d865a12dd644256eecb9f1",
  "outcome": "pass",
  "time_to_working_s": 62.0377062689513,
  "install_s": 0.797,
  "first_use_s": 43.646,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "doneguard hook --source claude blocks a Stop when a configured verify command fails and prints the failing command and its output",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "DoneGuard runs the project's verify commands when an agent tries to stop and blocks the stop when they fail",
      "source": "**Your coding agent says it's done.",
      "input": "Stop hook JSON on stdin for a project whose verify command fails",
      "expected": "stop blocked with the failing command output",
      "command": "<guest-path> hook --source claude",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: lint-broke",
      "evidence": "…lint-broke && exit 3` failed (exit 3).\\n--- output ---\\nlint-broke\\n---\\nFix the failing tests/checks, re-run `echo lint-broke && exit 3` until it passes, then you may stop.\"}\n",
      "cwd": "/tmp/dgdemo",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "{\"decision\":\"block\",\"reason\":\"DoneGuard blocked stop: `echo lint-broke && exit 3` failed (exit 3).\\n--- output ---\\nlint-broke\\n---\\nFix the failing tests/checks, re-run `echo lint-broke && exit 3` until it passes, then you may stop.\"}\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "DoneGuard runs the project's verify commands when an agent tries to stop and blocks the stop when they fail",
      "source": "README.md Quickstart / How it works: agent tries to stop -> doneguard hook",
      "input": "Stop hook JSON for a second session in the failing project",
      "command": "<guest-path> hook --source claude",
      "evidence": "{\"decision\":\"block\",\"reason\":\"DoneGuard blocked stop: `echo lint-broke && exit 3` failed (exit 3).\\n--- output ---\\nlint-broke\\n---\\nFix the failing tests/checks, re-run `echo lint-broke && exit 3` until it passes, then you may stop.\"}",
      "deferred": false,
      "expected": "stop blocked with the failing command output",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "{\"decision\":\"block\",\"reason\":\"DoneGuard blocked stop: `echo lint-broke && exit 3` failed (exit 3).\\n--- output ---\\nlint-broke\\n---\\nFix the failing tests/checks, re-run `echo lint-broke && exit 3` until it passes, then you may stop.\"}\n",
      "stderr": "",
      "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 the CLI usage (doneguard init/install/uninstall/hook/report/run/version). DoneGuard has no cron, loop, daemon, webhook, --once or --now entrypoint; the hook runs only when the coding agent (Claude Code or Codex) fires its Stop/SubagentStop event, which is agent-driven rather than scheduled.",
      "evidence": "Inspected README.md and the CLI usage (doneguard init/install/uninstall/hook/report/run/version). DoneGuard has no cron, loop, daemon, webhook, --once or --now entrypoint; the hook runs only when the coding agent (Claude Code or Codex) fires its Stop/SubagentStop event, which is agent-driven rather than scheduled.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "098d63151c58b90b07d865a12dd644256eecb9f1",
    "ci_read_at": "2026-11-28T13:45:55Z",
    "ci_state": "SUCCESS",
    "commits_90d": 3,
    "last_commit_at": "2026-11-22T20:07:24Z",
    "last_release_at": "2026-11-22T17:56:52Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 5 days ago; 3 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-22",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "git",
    "curl",
    "sh",
    "Go 1.23+ (not available; prebuilt binary used per README option c)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README step 1 expects go or a working apt/prebuilt path; golang-go is not in the guest apt index without apt-get update, so the prebuilt install.sh path was used instead"
  ],
  "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"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "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": 0,
      "malicious": [],
      "vulnerabilities": []
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-6993ad395fefbb675dc160a9298a5da539e0ecc408069de1b03eb4ed293c479c",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [],
      "package_registries": [],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "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"
}
