Skip to main content
Failproof AI separates policy selection from machine and daemon settings. This keeps repository policy choices reviewable while credentials and daemon state stay outside the repository.

Choose a policy scope

Run failproofai without arguments to open the local policy dashboard. Choose the user, project, or local scope before enabling a policy so the change is written to the intended configuration file.
  • User applies across projects on this machine.
  • Project belongs to the repository and can be committed.
  • Local overrides one project for one user and should remain gitignored.
Enabled policies are merged as a union. Policy parameters use the first scope that defines parameters for that policy, in project → local → user order. Explicit custom policy paths use the first scope that defines them.

Configure policy parameters

Open the policy in the local dashboard, edit its supported parameters, and save in the selected scope. Run a matching and non-matching agent action, then inspect the decision in Observe → policy.

Understand the machine files

~/.failproofai contains separate files for separate trust boundaries: Use FAILPROOFAI_HOME to relocate the complete machine layout for a container or isolated test. Do not relocate individual state directories independently.
Never commit credentials.json. Commit project policy configuration and project convention policies only after reviewing them as enforcement code.