vibecoded bash commands model judge pi extension
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nicolas Karolak 57cc7adf7f
chore(deps): bump @types/node and pi packages to 0.84.3
- Update @types/node ^26.2.0 → ^26.3.0
- Bump @earendil-works/pi-* packages to 0.84.3
- Add pnpm-workspace.yaml with allowBuilds config
2026-08-25 22:50:29 +02:00
test refactor: flatten directory structure by removing src/ 2026-08-24 19:16:50 +02:00
.gitignore refactor: aggressive simplification of codebase 2026-08-23 17:39:08 +02:00
AGENTS.md chore(agents): update instructions 2026-08-23 17:09:08 +02:00
biome.json feat: init 2026-08-23 14:55:25 +02:00
index.ts refactor: flatten directory structure by removing src/ 2026-08-24 19:16:50 +02:00
package.json chore(deps): bump @types/node and pi packages to 0.84.3 2026-08-25 22:50:29 +02:00
pnpm-lock.yaml chore(deps): bump @types/node and pi packages to 0.84.3 2026-08-25 22:50:29 +02:00
pnpm-workspace.yaml chore(deps): bump @types/node and pi packages to 0.84.3 2026-08-25 22:50:29 +02:00
README.md feat: init 2026-08-23 14:55:25 +02:00
review.ts refactor: flatten directory structure by removing src/ 2026-08-24 19:16:50 +02:00
tsconfig.json refactor: flatten directory structure by removing src/ 2026-08-24 19:16:50 +02:00

pi-bash-auto-review

Zero-config model-backed risk reviewer for external_directory and bash permission asks in Pi.

What it does

Registers a @gotgenes/pi-permission-system authorizer chain link named bash-auto-review. For every external_directory or bash ask, it prompts the current model to rate risk and returns allow, deny, or defer. Every error or timeout defers — no auto-approval on failure.

  • No config file
  • No model selection — uses whatever model Pi is running

Enable

Add the link name to your permission system config:

// ~/.pi/agent/extensions/pi-permission-system/config.json
{
  "authorizerChain": ["bash-auto-review"]
}

Verdict range

allow | deny | defer

  • allow — routine reads, standard build/test/git ops
  • deny — destructive system writes, credential exfiltration, forced recursive root deletion, curl-to-shell, privilege escalation
  • defer — ambiguous, needs human judgment, or any error/timeout

Tests

npm test

Type-check:

npm run check