Repository navigation
v0.0.1
Failproof AI v0.0.1
First stable release of failproofai — open-source hooks, policies, and project visualization for Claude Code & the Agents SDK.
Highlights
- 35+ built-in security policies — Block dangerous commands, sanitize secrets, restrict file access, and more. Install globally or per-project.
- Custom policies — Write your own in JavaScript using the
allow/deny/instructAPI with full async support. - Policy parameters — Tune built-in policies without code: allowlists, protected branches, thresholds, and custom patterns.
- Session viewer — Browse Claude Code projects and sessions locally. Inspect tool calls, messages, and hook activity side-by-side.
- CLI with
policiesverb —failproofai policies --install,--uninstall,--list,--custom <file>. - 14 alias packages on npm for common misspellings.
- All 11 Claude Code hook events supported — PreToolUse, PostToolUse, Notification, Stop, SubagentStop, PreSubagentToolUse, PostSubagentToolUse, SubagentNotification, SessionStart, SessionEnd, and more.
Install
npm install -g failproofaiQuick Start
# Enable built-in policies globally
failproofai policies --install
# Launch the dashboard
failproofai
# Check active policies
failproofai policies --listEverything runs locally — no data leaves your machine.
Changes since beta
Through 11 beta iterations:
- Custom policy loading via ESM + CJS
dist/index.jsshipped in npm package for reliable custom policy imports- Dashboard static assets bundled correctly
- Preuninstall cleanup across all environments
- CLI renamed from flag-soup to clean
policiesverb interface - Post-publish smoke tests in CI
- Comprehensive unit + E2E test coverage
Links
- npm: failproofai
- Docs & Source: https://github.com/exospherehost/failproofai