docs: ADR 32 — safe-push wrapper binary for sandboxed agents - #716
Conversation
Site previewPreview: https://134e67e4-site.fullsend-ai.workers.dev Commit: |
Review: #716Head SHA: 2c591a4 SummaryThis PR adds ADR 0032, a well-structured design document for the FindingsNo critical, high, medium, low, or info findings. FooterOutcome: approve Previous runReview: #716Head SHA: 2268ad4 SummaryThis ADR specifies FindingsInfo
FooterOutcome: approve Previous run (2)Review: #716Head SHA: a985993 SummaryThis PR adds ADR 0032, specifying the FindingsMedium
Info
FooterOutcome: approve |
ralphbean
left a comment
There was a problem hiding this comment.
Solid ADR — the three-category enforcement model is well-reasoned and the push-only scoping is convincing. The analysis of git config bypass vectors and Landlock policy delivery constraints is thorough. A few notes inline for future iterations, nothing blocking.
Strategic question: Is the wrapper binary pattern (process-tree–gated policy enforcement) useful enough to be a first-class OpenShell feature rather than something fullsend builds on top? If OpenShell natively supported "policy gate binary → child binary" with process-tree L7 matching as a primitive, safe-push would be a thin configuration layer rather than a custom binary. Worth exploring upstream.
|
fullsend review is working on this — view logs |
Specifies the design of safe-push, a Go binary that acts as a mandatory policy gate for git push operations inside OpenShell sandboxes. Extends ADR 0025's Tier 2 wrapper binary pattern with concrete binary design, L7 enforcement model, policy delivery constraints, and coexistence with Tier 1 post-script push. Related fullsend-ai#252 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add SSH transport bypass requirement to L7 enforcement section - Broaden L7 deny rule to all binaries, not just git (covers custom remote helpers, curl-based protocol scripts, compiled binaries) - Fix Go terminology: os/exec child process, not fork+exec - Reference security threat model and note Tier 2 as scoped relaxation of the "no direct forge actions" constraint Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2c591a4 to
93a1f49
Compare
|
fullsend review is working on this — view logs |
Summary
safe-push, a Go wrapper binary that provides mandatory policy enforcement forgit pushoperations inside OpenShell sandboxesKey design decisions
-cflags, env var redirection,--no-verify, and local config overridesTest plan
make lintpasses (ADR status, frontmatter, numbers, gitleaks)🤖 Generated with Claude Code