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
allowed paths
write blocked
A green project plane with an amber write path stopping at its edge.
Allowed paths glow. The outside write stops.

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 run
awb demoENFORCED
$ awb demo
BLOCKED  ../blocked-agent.conf
CREATED  target/config.pyc
MODIFIED src/config.rs
DELETED  obsolete.txt
RECEIPT  write-receipt.json

02 / 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.

watched_paths
git diffAWB receipt
src/auth.tsmodifiedmodified
target/cache.pycignoredcreated
.git/hooks/pre-commitnot listedmodified

03 / HOW IT WORKS

Block outside writes. Record inside changes.

Landlock applies the write boundary. Snapshots compare lasting changes only in watched paths.

  1. 01

    Choose paths

    Set allowed paths for writes and watched paths for the receipt.

    "allow_write": ["."]
  2. 02

    Run the agent

    Put the local agent command after --. Child processes inherit the boundary.

    awb run -- claude
  3. 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.

Enforced: Landlock ABI 3 or newer
cargo install --git https://github.com/B-Divyesh/sf-agent-write-barrier
cd your-project
awb init
awb check
awb run -- claude
Read the security model

05 / LIMITS AND PRIVACY

Know what the boundary covers

The CLI has no telemetry. The site uses no analytics or third-party runtime files. Read the privacy details.