Safety Nets & Controls
Source: content/manual/03-ai-agents/chapters/02-safety-nets-and-controls.md
Purpose and scope
Ensure AI contributions are reversible, testable, and auditable.
Outcomes
- Tests fail before regressions escape.
- Rollbacks are fast and routine.
- Security scanning covers generated code.
Signals of trouble
- Agent commits bypass reviews.
- Untracked prompt changes alter behavior.
- Rollbacks require manual, risky steps.
Remediation steps
- Enforce tests and static checks on AI changes.
- Wrap risky changes with flags; use canaries.
- Store prompts and tool configs in Git with reviews.
Checklists and assets
playbooks/build-your-own-dev-agent/checklist.mdguardrails.
References
- Security scanning policies; feature flag playbooks.
