Intent-Code Divergence
Medium
- Confidence
- 95% confidence
- Finding
- The guide’s security section says agents should never write directly to protected branches, but the actual helper methods default to branch='main' and the factory writes files without invoking branch protection. In an autonomous workflow, that inconsistency can let an agent bypass review gates and push unsafe or malicious changes straight into production code.
