← Back to Templates
AGENTS.md · Markdown

AGENTS.md Boundaries & EGM-lite Review Template

Drop this section into your root AGENTS.md / CLAUDE.md and adjust the three human-approval gates to fit your repo.

## 1. Human-AI Decision Boundaries (Ask Only on 3 Categories)
Stop for human sign-off ONLY on:
1. Business rules (including semantic acceptance changes)
2. Page structure & navigation layout (preview before build)
3. Money, billing, security, and permission boundaries

Before asking:
- Search existing decision logs (e.g. docs/decisions.md) and reuse settled answers.
- For architecture or product direction, cite public engineering docs first.

## 2. Anti-Sycophancy Critic During Planning
For any architecture or feature plan, delegate a zero-history critic model to challenge:
- Timing & ROI, unnecessary complexity, and simpler alternatives.
- Surface only grounded risks for human sign-off.

## 3. Cross-Model Review (EGM-lite, Max 3 Rounds)
- Round 1: Restate goal, scope, and approach in <= 5 sentences. If unclear, reject the doc before line-by-line review. Split findings into Must-Fix vs. Nice-to-Have.
- Round 2–3: Attach a "Settled Issues" list. Do not reopen settled items; review incremental diffs only.
- Stop Rule: Halt immediately on A/B oscillation and escalate to human. Hard cap: 3 rounds.