{
  "schema_version": 1,
  "run_id": "sudosupply--agent-guardrails-claude-haiku-5-5-1794803141854227223",
  "date": "2026-11-16T04:26:53.524209+00:00",
  "repo": "sudosupply/agent-guardrails",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "3d3022465793f10204e8f13953a048fefc0d58ea",
  "outcome": "pass",
  "time_to_working_s": 40.44460203795461,
  "install_s": null,
  "first_use_s": 8.35,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run the stdlib guardrails hook (python3 .guardrails/guard.py claude) on a force-push Bash command and the secret scanner (python3 .guardrails/scan_secrets.py .)",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "A small, free safety net for Claude Code: one standard-library Python hook that checks every shell command, file read and file write the agent tries",
      "source": "A small, free safety net for **Claude Code** (plus starter config for **Cursor**): one standard-library Python hook that checks every shell command, file read and file write the agent tries, plus a git pre-commit hook that refuses `.env` files and secret-looking strings.",
      "input": "{\"tool_name\":\"Bash\",\"tool_input\":{\"command\":\"git push --force origin main\"}}",
      "expected": "hook returns a deny decision",
      "command": "python3 .guardrails/guard.py claude",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"permissionDecision\": \"deny\"",
      "evidence": "…\"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Blocked by Sudo Supply guardrails: force-push (rewrites remote history). Do not try to work around this. Explain what you wanted to do and why, and let the user run it themselves if it is really needed.\"}}\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "{\"hookSpecificOutput\": {\"hookEventName\": \"PreToolUse\", \"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Blocked by Sudo Supply guardrails: force-push (rewrites remote history). Do not try to work around this. Explain what you wanted to do and why, and let the user run it themselves if it is really needed.\"}}\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "git push --force is denied outright",
      "source": "- `git push --force` / `-f` / `+ref`, `git filter-branch`, `git filter-repo`, `git add .env`",
      "input": "{\"tool_name\":\"Bash\",\"tool_input\":{\"command\":\"git push --force origin main\"}}",
      "expected": "deny decision",
      "command": "python3 .guardrails/guard.py claude",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"permissionDecision\": \"deny\"",
      "evidence": "…\"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Blocked by Sudo Supply guardrails: force-push (rewrites remote history). Do not try to work around this. Explain what you wanted to do and why, and let the user run it themselves if it is really needed.\"}}\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "{\"hookSpecificOutput\": {\"hookEventName\": \"PreToolUse\", \"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"Blocked by Sudo Supply guardrails: force-push (rewrites remote history). Do not try to work around this. Explain what you wanted to do and why, and let the user run it themselves if it is really needed.\"}}\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "scan_secrets.py exits 0 when the repo is clean",
      "source": "README.md",
      "input": ".",
      "command": "python3 .guardrails/scan_secrets.py .",
      "evidence": "",
      "deferred": false,
      "expected": "exit 0 = clean",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "",
      "stderr": "",
      "output_truncated": false,
      "verdict": "yes",
      "outcome": "command completed successfully with no output"
    }
  ],
  "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 entrypoints .guardrails/guard.py and .guardrails/scan_secrets.py: guard.py runs per hook invocation from Claude Code/Cursor and scan_secrets.py is a one-shot scanner or git pre-commit step. No cron, loop, webhook, --once or --now scheduling is documented.",
      "evidence": "Inspected README.md and entrypoints .guardrails/guard.py and .guardrails/scan_secrets.py: guard.py runs per hook invocation from Claude Code/Cursor and scan_secrets.py is a one-shot scanner or git pre-commit step. No cron, loop, webhook, --once or --now scheduling is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "3d3022465793f10204e8f13953a048fefc0d58ea",
    "ci_read_at": "2026-11-15T20:59:15Z",
    "ci_state": null,
    "commits_90d": 12,
    "last_commit_at": "2026-11-10T05:18:48Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 4 days ago; 12 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; no releases",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "python3 (3.12.3, README requires 3.9+)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 download and execute. 3 static matches retained as 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."
    ]
  },
  "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": 1,
    "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": null,
    "installed": null,
    "installed_inventory": false,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-1a170d8abb41b39880be73dbefd5f41f95598eb056048fc40933f4d0c964a0d5",
  "evidence_strength": "readme_checked"
}
