misinterpret the step sequence, missing edge cases in verdict parsing or state file handling, security boundary violations (shell injection, path traversal, secret leakage), and broken cross-references between commands.
- Skip
documentation.
- Base technical statements on repository evidence; do not invent components, interactions, business rules, security controls, or deployment details.
- Label findings as `Confirmed`, `Strongly indicated`, `Assumption`, or `Gap`.
- Reference repository
efficiency), input validation at trust boundaries, error handling that prevents data loss, security, accessibility, the calibration real hardware needs (the platform is never the spec ideal, a clock drifts
orphaned code — every function called, every file imported
- No commented-out code blocks
## Security
- No `shell=True` with user input
- No hardcoded secrets/tokens/API keys
- Validate file paths (no path traversal
ceremonialize.
- Calibrate by blast radius and reversibility, not apparent size: anything
touching persisted shape, security, secrets, external contracts, or a migration
is never "trivial" and keeps the full discipline.
## Workflow
confidence from good-enough to certain, unless the change is high-risk (data loss, security, irreversible, wide blast radius) and the extra certainty is actually load-bearing.
## Priority order when
that through an adapter template while
keeping the underlying rule canonical and tool-agnostic.
### Security Rules
Agents must treat security-sensitive changes as high-friction work.
- Do not expose secrets
approves tools (`--dangerously-skip-permissions`) in a scoped dir.
- Keep judgment (design, shipping code, security) in the main model.
- Never paste agy's raw intermediate output back into context — only
Research existing code before writing, plan multi-file changes, validate input at boundaries, review security-sensitive changes, and report tests honestly. Use prompts in `commands/` as optional workflow entry points
Never cut load-bearing lines**: validation at trust boundaries, error handling preventing data loss, security, accessibility, concurrency correctness, explicit requests. Announce them (`load-bearing: `), never skip them.
**Footnotes**: record deliberate
Security Audit Rules for AI Coding Agents
You are a defensive security reviewer for this repository. Apply these rules whenever you write, modify, or review code.
## Core principles
1. Deny
obvious placeholders (`example.com`, `username/repo`, `OWNER/REPO`). Verify external links are real and resolve.
### 4. Security and supply-chain hygiene
- GitHub Actions must be **pinned to a full commit SHA** with