Blocks outside project writes on Linux
Block agent writes outside your project
For developers running local coding agents who need lasting project changes listed for review.
Opens a completed sample run with a blocked write and receipt.
- Local
- The CLI runs locally
- Free
- MIT licensed
- Offline
- Cached guide works

01 / SAMPLE RUN
See the blocked write and receipt
The bundled demo uses a temporary sample project. It leaves your current project unchanged.
Open the sample runawb demoENFORCED$ awb demo
BLOCKED ../blocked-agent.conf
CREATED target/config.pyc
MODIFIED src/config.rs
DELETED obsolete.txt
RECEIPT write-receipt.json02 / RECEIPT COVERAGE
List lasting changes Git can miss
AWB compares watched paths before and after a run. The receipt includes ignored files and Git metadata.
src/auth.tsmodifiedmodifiedtarget/cache.pycignoredcreated.git/hooks/pre-commitnot listedmodified03 / HOW IT WORKS
Block outside writes. Record inside changes.
Landlock applies the write boundary. Snapshots compare lasting changes only in watched paths.
- 01
Choose paths
Set allowed paths for writes and watched paths for the receipt.
"allow_write": ["."] - 02
Run the agent
Put the local agent command after
--. Child processes inherit the boundary.awb run -- claude - 03
Review the receipt
Inspect created, modified, and deleted paths with content and metadata hashes.
awb inspect .awb/…
04 / INSTALL
Install and run AWB
Build the MIT-licensed CLI from its source repository.
cargo install --git https://github.com/B-Divyesh/sf-agent-write-barriercd your-project
awb init
awb check
awb run -- claudeRead the security model 05 / LIMITS AND PRIVACY
Know what the boundary covers
- Supported Linux
The 15-case test blocks writes outside allowed paths under Landlock.
- Not a full sandbox
AWB does not isolate networks, processes, devices, open file descriptors, or kernel flaws.
- Visible fallback
AWB fails closed without enforcement. Explicit audit mode labels receipts and cannot block writes.
The CLI has no telemetry. The site uses no analytics or third-party runtime files. Read the privacy details.