Diff-only external beta / 0.2.0-beta.1
CARVES Guard: Patch admission gate.
Guard reads the git working tree, applies local policy checks, and returns allow, review, or block without pretending to be an operating-system sandbox.
module -> guard
Checks AI-generated patches before they enter review or merge.
Ready for external pilots through the stable diff-only beta entry. Task-aware Runtime guard run remains experimental.
carves-guard init
carves-guard check --json
carves-guard audit
carves-guard report
carves-guard explain <run-id>
Guard's local command surface remains copyable and reviewable.
carves-guard init
carves-guard check --json
carves-guard audit
carves-guard report
carves-guard explain <run-id> scope ->
Owns
Guard owns.
Guard is responsible for these public-surface responsibilities.
- policy checks
- diff/path/change-budget decisions
- local decision records
Does Not Own
Guard does not own.
These claims stay outside this module boundary and should not be implied by this page.
- session continuity
- Shield scoring
- automatic rollback
- real-time write prevention
proof ->
Artifacts
Primary artifacts.
Guard produces or projects these public proof artifacts.
- .ai/runtime/guard/decisions.jsonl
- Guard decision JSON
- local audit/report readbacks
Runtime Docs
Runtime source docs.
These paths live in CARVES.Runtime and define the public product truth that this site projects.
- docs/guard/README.md
- docs/beta/guard-beta-release-checkpoint.md