Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,6 @@ packages/*/assets/
# Local monitoring scratch files (CI run watchers etc.)
.monitor-*.sh
.monitor-*.log

# Local Mintlify dev server log (transient)
mint-dev.log
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## 0.0.11-beta.0 — 2026-05-13

### Docs
- SEO and copy pass on the docs landing page (`docs/introduction.mdx`): rewrite the 84-char generic meta description into a tighter, keyword-bearing line naming the 39 built-in policies and key failure modes (loops, secret leaks, destructive tool calls); seed the page body with the missing search keywords (`AI failure handling`, `error recovery`, `LLM reliability`) by reframing the lede; expand the CLI list to the actual 7-CLI surface; correct the stale `26 built-in policies` card to the current `39`; and drop em dashes from the page body and card subtitles for a cleaner read. Also corrects the same stale `26` count in `docs/architecture.mdx` (both the Builtin policies section and the file tree comment) (#366).
- Swap the docs header logo to the freshly-uploaded FailproofAI brand PNGs (`logo/Failproof_AI_logo_light.png` for light-mode UI, `logo/Failproof_AI_logo.png` for dark-mode UI). Replaces the previous Exosphere PNGs and the older stock `light.svg` / `dark.svg` wordmarks, both of which were removed from `docs/logo/`. `docs.json`'s `logo.light` and `logo.dark` paths updated accordingly (#366).
- Refresh the docs favicon: replace the old `.ico` with a new FailproofAI F-mark `docs/favicon.ico` (32x32, 32-bit). An intermediate attempt to use `docs/icon.svg` was reverted because Mintlify did not render the SVG favicon in the live preview; the SVG asset is removed (#366).

### Fixes
- Dashboard `/policies` activity-tab subheading: replace the hardcoded "Policy evaluations for Claude" with a dynamic list of installed CLIs ("Policy evaluations across Claude Code, Cursor"), collapsing to "across N agents" when 4 or more are installed and falling back to "Policy evaluations" when none are. Reads from the existing `getHooksConfigAction()` payload — no new server work. The text was a leftover from when failproofai only supported Claude Code and was inaccurate against the now-7-CLI surface (Claude, Codex, Copilot, Cursor, OpenCode, Pi, Gemini) (#358).

Expand Down
4 changes: 2 additions & 2 deletions docs/architecture.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ After all policies run:

## Builtin policies

`src/hooks/builtin-policies.ts` defines all 26 built-in policies as `BuiltinPolicyDefinition` objects:
`src/hooks/builtin-policies.ts` defines all 39 built-in policies as `BuiltinPolicyDefinition` objects:
Comment thread
coderabbitai[bot] marked this conversation as resolved.

```typescript
interface BuiltinPolicyDefinition {
Expand Down Expand Up @@ -307,7 +307,7 @@ failproofai/
│ └── failproofai.mjs # CLI router (hook / dashboard / install / etc.)
├── src/hooks/
│ ├── handler.ts # Hook event pipeline
│ ├── builtin-policies.ts # 26 policy definitions
│ ├── builtin-policies.ts # 39 policy definitions
│ ├── policy-evaluator.ts # Policy execution engine
│ ├── policy-registry.ts # Policy registration and lookup
│ ├── policy-types.ts # TypeScript interfaces
Expand Down
4 changes: 2 additions & 2 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"dark": "#002CA7"
},
"logo": {
"light": "/logo/exosphere-light.png",
"dark": "/logo/exosphere-dark.png"
"light": "/logo/Failproof_AI_logo_light.png",
"dark": "/logo/Failproof_AI_logo.png"
},
"favicon": "/favicon.ico",
"navigation": {
Expand Down
Binary file modified docs/favicon.ico
Binary file not shown.
16 changes: 8 additions & 8 deletions docs/introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
---
title: Failproof AI
description: "Manage hooks and policies that keep your AI agents reliable and running autonomously"
title: "Failproof AI"
description: "FailproofAI gives AI agents 39 built-in failure policies that catch loops, secret leaks, destructive tool calls, and more in a single install."
---

[![npm weekly downloads](https://img.shields.io/npm/dw/failproofai?style=flat-square&color=2ea44f)](https://www.npmjs.com/package/failproofai)

Hooks and policies that keep your AI agents reliable and running autonomously - for **Claude Code**, **OpenAI Codex**, and the **Agents SDK**.
Hooks and policies for **AI failure handling**, **error recovery**, and **LLM reliability**. Keep your AI agents reliable and running autonomously across **Claude Code**, **OpenAI Codex**, **GitHub Copilot**, **Cursor Agent**, **OpenCode**, **Pi**, **Gemini CLI**, and the **Agents SDK**.

AI agents fail in predictable ways. They run destructive commands, leak secrets, drift off-task, get stuck in loops, or push directly to main. Left unattended, small failures cascade.
AI agents fail in predictable ways. They run destructive commands, leak secrets, drift off-task, get stuck in loops, or push directly to main. Left unattended, small failures cascade into outages, leaked credentials, and lost work.

Failproof AI solves this with **policies** - rules that hook into every agent tool call and can **detect failures**, **mitigate them** (block, instruct, sanitize), and **alert you** when something needs attention. A local dashboard lets you review everything afterward.
FailproofAI solves this with **policies**. These rules hook into every agent tool call to **detect failures**, **mitigate them** (block, instruct, sanitize), and **alert you** when something needs attention. A local dashboard lets you review every tool call, agent failure, and recovery action afterward.

Everything runs locally. No data leaves your machine.
No data leaves your machine.

## Get started

<CardGroup cols={2}>

<Card title="26 built-in policies" icon="shield" href="/built-in-policies">
Block destructive commands, prevent secret leakage, keep agents inside project boundaries, and more - out of the box.
<Card title="39 built-in policies" icon="shield" href="/built-in-policies">
Block destructive commands, prevent secret leakage, keep agents inside project boundaries, and more. All out of the box.
</Card>

<Card title="Custom policies" icon="code" href="/custom-policies">
Expand Down
Binary file added docs/logo/Failproof_AI_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/logo/Failproof_AI_logo_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 0 additions & 21 deletions docs/logo/dark.svg

This file was deleted.

Binary file removed docs/logo/exosphere-dark.png
Binary file not shown.
Binary file removed docs/logo/exosphere-light.png
Binary file not shown.
Loading