Agent Police Department: governance and audit CLI for AI coding agents

Features: command interception with policy-based blocking/flagging, 10 built-in guardrails, audit logging, report generation, configurable policy rules, shell wrapper integration, APD_OVERRIDE bypass, full test suite
This commit is contained in:
Bun Bun
2026-06-18 12:23:51 +00:00
commit d451f97a96
13 changed files with 1088 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"name": "agent-police-department",
"version": "0.1.0",
"description": "Governance and audit tool for AI coding agents (Claude Code, Cursor, etc.)",
"type": "module",
"main": "dist/index.js",
"bin": {
"apd": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"test": "node --test dist/**/*.test.js",
"dev": "tsc --watch"
},
"keywords": ["claude-code", "ai-agent", "governance", "audit", "guardrails"],
"author": "BunBun Labs",
"license": "MIT",
"devDependencies": {
"typescript": "^5.3.0",
"@types/node": "^20.0.0"
},
"dependencies": {
"commander": "^12.0.0",
"chalk": "^5.3.0"
}
}