Rules the agent cannot break Required
Use strict types and linters
Run the strictest type checker and linter settings the project can pass, so mistakes fail fast instead of reaching review.
How to do it
Turn on strict modes, such as TypeScript strict, mypy --strict or PHPStan's highest level the code passes. Forbid untyped escapes such as any. Agents fix tool errors well, so strict tools turn many silent bugs into quick fixes.
How to check
The configuration files set the strict options, and the check command fails on a deliberate type error.
For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers ai development playbook: https://agentwranglers.se/playbook/ai-assisted-development/rules-the-agent-cannot-break/strict-tooling.