| OS Sandbox |
Mandatory macOS Seatbelt (failIfUnavailable: true) with denyRead, denyWrite, and domain allowlist over .ws/t-<N> |
Host tool permissions; build and test verification isolated inside offline agent-box over .ws/t-<N> |
Codex workspace-write sandbox restricting writes to the active repo / .ws/t-<N> CoW workspace |
| Command Guard |
gtq.py pretool (python3 -I, fail-closed): credential checks, REPL guard, VCS-blind GIT_SUBAGENT_MUTATIONS, origin-pinned pushes |
.agents/hooks.json → agy_hooks.py pretool-command (python3 -I, fail-closed): shared gtq command & git-mutation guards + trim.py |
Reduced local-hook posture: relies on workspace-write, precheck.py, ops.py ship, and server-side rulesets |
| Read & Write Guards |
gtq.py pretool + Seatbelt denyRead/denyWrite with symlink-resolved path checks |
agy_hooks.py pretool-read (READ_LINE_LIMIT = 250, duplicate-read block) & pretool-write (fail-closed) |
Protected paths enforced post-hoc by precheck.py, ops.py ship, and GitHub CODEOWNERS |
| Turn & Usage Limits |
Per-agent maxTurns + 90% subscription usage stop (.agency/usage.json) |
PreInvocation turn circuit breaker (25 warn / 40 stop) + transcript context handoff guard (120k / 180k) |
Bounded by Codex session limits and .agents/roles/*.md contracts |
| Shared Pre-Ship & Server Gates |
precheck.py --ws · agency-ops ship --ws (createCommitOnBranch / HTTPS fallback) ·
Groundhog agent-git/agent-gh single-repo broker · offline agent-box · GitHub Branch Rulesets & CODEOWNERS
|