Skip to content

FailproofAI 1.0.20

Latest

Choose a tag to compare

@NiveditJain NiveditJain released this 03 Dec 18:05
· 1 commit to main since this release
7d91af5

failproofai 1.0.20: release notes

Stable release (npm latest). Ships #1129 and everything else merged since 1.0.19.

Highlights

  • Ordinary commands are no longer refused. The always-on guard is 1.0.17's again. 1.0.18 and 1.0.19 refused everyday commands run in or near an agent's own directory, and scheduled jobs could fail.
  • Everything else from 1.0.18 and 1.0.19 stays, Self Reports included.
  • Dashboard fixes: keyboard access in the activity tables, and very deeply nested sessions load.

Who should upgrade

Everyone on 1.0.18 or 1.0.19, as soon as possible. Nothing needs to change in your agents or policies.

The always-on guard

What was wrong

To stop an agent editing its own settings files, 1.0.18 judged each command by its text and refused the ones it could not read. Agents keep scripts and data beside those settings, so commands like these could be refused:

  • python3 ~/.hermes/skills/report.py ... > "$FILE"
  • eval $(~/.claude/scripts/window.py --shell)
  • a long JSON argument
  • cd ~/.openclaw && python3 job.py

What changed

  • block-failproofai-commands refuses failproofai's own commands (pausing included), uninstalling it, and changes to ~/.failproofai, as 1.0.17 did.
  • Removed: the checks on agents' settings and hook files, on failproofai's installed code, and on node_modules/.bin.
  • Removed: the refusal of Codex commands that open a shell or REPL, and the refusal of text typed into a running shell (Codex, Copilot).
  • The tools it checks are Bash, Write, Edit and NotebookEdit again, as in 1.0.17.

What this means for protection

This release trades protection for reliability. Please know what it no longer covers:

  • An agent can edit its own settings or hook files again, which can switch failproofai's hooks off.
  • Text typed into a shell that is already open is not checked by policies.
  • Some indirect ways to reach failproofai's own files that 1.0.18 refused are not caught, as in 1.0.17: patch-style edits and MultiEdit, relative writes from inside ~/.failproofai, and text piped into a shell.

Your own policies and those deployed from FailproofAI Cloud are unaffected, apart from text typed into an open shell.

How it was tested

  • Every decision on 164,409 recorded tool calls is the same as 1.0.17's: none refused. 1.0.19 refused 13,268 of them, with some calls counted in two folders.
  • 40,000 generated commands across 24 folder names, 18 languages and 12 agents: none refused, and the same as 1.0.17 on every one.
  • A new test covers ordinary commands for all 12 agents, and what must stay refused.

What stays from 1.0.18 and 1.0.19

  • Self Reports: the report tool in every supported agent, always on when connected to FailproofAI Cloud.
  • Policies as a pack: FailproofAI/policies, carried over by failproofai update.
  • Removed policies stay removed.
  • Codex system hooks, the daemon install checks, and every other change in those releases.

Dashboard

  • Rows in the session Hook Logs and Policies activity tables open from the keyboard (Tab, then Enter or Space), tell screen readers which event they open, and keep focus and the open row in place when a new event arrives (#575).
  • A session whose transcript holds data nested thousands of levels deep loads instead of hanging. Anything deeper than 64 levels shows as [nested too deeply to display] (#1123).

Dependencies and tests

  • ws 8.23.1 in the TypeScript SDK's mastra-1 and nextjs integration fixtures (GHSA-37g9-w4hg-h9qr, #1127).
  • resolveSubagentPath is tested to refuse a project name that escapes the projects path, and to stop at a permission error (#628).

Upgrading

npm i -g failproofai@1.0.20
failproofai update
  • Run failproofai update right after installing. Until it runs, the old daemon keeps refusing commands.
  • update restarts the daemon, and the Hermes and OpenClaw gateways that run as services.
  • Start new agent sessions afterwards.
  • Check it with failproofai config --status: the daemon should read 1.0.20.
  • The Python and TypeScript SDKs are released separately and are unchanged here.

Going back

1.0.17 behaves the same way in the guard, but has no Self Reports. Going back to 1.0.18 or 1.0.19 brings the refusals back.

Thank you, contributors

Thanks to the contributors whose pull requests were merged since 1.0.19: