Context
AGT's GovernanceSkill.check_policy(action, context) is pure evaluation —
it returns a PolicyDecision without actually running the action. sb exec
today evaluates and runs. The SbRuntimeSkill shim
currently works around this by reading the receipt the sb binary emits
before it calls execve, which is brittle.
A first-class --dry-run flag would:
- Evaluate Cedar
- Emit a signed receipt (marked `dry_run: true` in its context)
- Exit 0 for allow, 2 for deny
- Not apply sandbox
- Not call execve
Acceptance criteria
Release target
v0.1.1.
Context
AGT's
GovernanceSkill.check_policy(action, context)is pure evaluation —it returns a
PolicyDecisionwithout actually running the action.sb exectoday evaluates and runs. The SbRuntimeSkill shim
currently works around this by reading the receipt the
sbbinary emitsbefore it calls
execve, which is brittle.A first-class
--dry-runflag would:Acceptance criteria
handling removed
Release target
v0.1.1.