Governance / Pro
pi-edit-guard
Three post-edit guardrails. Pause on rejection, retry with current state, and verify what actually landed on disk.
What it does.
- deny-hold - after a change is rejected, block the next tool call until you send a new prompt.
- read-before-retry - after an edit or write fails, require the agent to read the file before retrying.
- post-verification - after a reviewed change applies, verify the on-disk content matches what was approved.
Put it to work.
Use the Pro archive from your purchase. The Pro or Team bundle includes its Pi extensions. An individual module archive uses the same installer.
Choose a file to build your exact command.
Run this command from the folder containing the archive. Selecting a file here does not install or execute anything.
Activate your license with /bastille-license refresh inside Pi. Activation and periodic entitlement validation contact Polar. Your workload is not uploaded to Bastille-C3.
Full installation & activation guide →In use.
Inside Pi
/edit-guardReference syntax · replace arguments
/edit-guard deny-hold on|offReference syntax · replace arguments
/edit-guard read-retry on|offReference syntax · replace arguments
/edit-guard post-verify on|offInside Pi
/edit-guard statusEach guardrail is independent. Toggle them individually or all at once.
Worth knowing.
- Requires a valid Polar license.
Remove this module
Uninstall this extension
pi uninstall npm:@bastilleworks/pi-edit-guardRemoving an extension does not cancel your subscription. Manage renewal separately.
On the same ground