{
  "schema_version": 1,
  "run_id": "sudosupply--agent-guardrails-gpt-6-luna-1794803373527057931",
  "date": "2026-11-16T04:31:07.794535+00:00",
  "repo": "sudosupply/agent-guardrails",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "3d3022465793f10204e8f13953a048fefc0d58ea",
  "outcome": "pass",
  "time_to_working_s": 66.03476570302155,
  "install_s": null,
  "first_use_s": 10.192,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run the documented Claude Code pre-tool hook against a force-push command and confirm its JSON decision is deny.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "The guard denies dangerous force pushes through its Claude hook.",
      "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": "\"permissionDecision\": \"deny\"",
      "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": "The hook denies force-push commands outright.",
      "source": "git push --force",
      "input": "{\"tool_name\":\"Bash\",\"tool_input\":{\"command\":\"git push --force origin main\"}}",
      "expected": "\"permissionDecision\": \"deny\"",
      "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": "The README Claude hook check prints deny JSON for a force push.",
      "source": "README.md, Check it works",
      "input": "{\"tool_name\":\"Bash\",\"tool_input\":{\"command\":\"git push --force origin main\"}}",
      "command": "python3 .guardrails/guard.py claude",
      "evidence": "{\"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.\"}}",
      "deferred": false,
      "expected": "\"permissionDecision\": \"deny\"",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "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,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "The README scanner exits 0 when the repository is clean.",
      "source": "README.md, Check it works",
      "input": ".",
      "command": "python3 .guardrails/scan_secrets.py .",
      "evidence": "",
      "deferred": false,
      "expected": "exit 0",
      "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 and entrypoints: guard.py is an event driven hook and scan_secrets.py is a one-shot scanner; no cron, loop, webhook, --once or --now cycle trigger is documented.",
      "evidence": "Inspected README and entrypoints: guard.py is an event driven hook and scan_secrets.py is a one-shot scanner; no cron, loop, webhook, --once or --now cycle trigger 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": [
    "Python 3.9 or newer",
    "Git"
  ],
  "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-6538f955e6cdf089dbc63847c238dde283f947ed0c3efdbd8ad56f0683590f58",
  "evidence_strength": "readme_checked"
}
