# System Patterns
Status: DRAFT | Owner: [name] | Reviewed: [date]
Applies to: [repo/areas] | Existing instructions: [paths]

## Rules and rationale
| Rule | Why | Enforcement / review | Exceptions |
| --- | --- | --- | --- |
| [specific behavior] | [reason] | [command/test/review] | [bounded exception] |

## Code and interfaces
- Naming, module boundaries, errors and types:
- Reuse and component conventions:
- File-size guidance and exceptions:

## Security and data
- Input validation and authorization:
- Secret handling, logs and synthetic test data:
- Untrusted external content:

## AI working agreement
- Read actual files; name assumptions and contradictions.
- Preserve unrelated changes; stay within approved paths.
- State missing tool access rather than inventing results.
- [Actions requiring explicit approval]

## Verification and handoff
- Commands and expected checks:
- What counts as completion:
- Update progress.md with evidence and next step.

## Tool adapter
- Recognized instruction path for this tool/version:
- Links to shared docs; how loading was checked:
