Epic: Agents stay inside the rules — guardrails, lean context and review checks
Back to our planType
process
Summary
Epic: agents stay inside the rules. Summary of the owner's request (2026-10-20): automatically enforce the architectural guardrails while code is written and reviewed, keep documentation lean with no file over 250 lines, and apply progressive disclosure properly. This epic groups the work that makes agents follow AGENTS.md, the guidelines and the architecture automatically, instead of by memory.
The architecture-specific skills (#138) stay in epic #127, next to the code moves they support.
Sub-issues
- #145 Automated guardrails while editing, at commit, in CI and at review.
- #144 Lean agent context with progressive disclosure: a short core, path-scoped rules.
- #157 PR Policy fails a dependent PR that isn't on a native stack.
- #158 Refresh the role guides against
docs/architectureand the current code.
Acceptance criteria
- Not done: Every sub-issue is closed.
- Not done: A rule in
AGENTS.mdor a guideline is checked by a hook, a CI check or a review skill, not only written down.
Area
tooling, ci
Priority
priority: high
Generated by Claude Code, opens in a new tab
Issues in this epic
#145
#144 · Closed Nov 6
#157
- documentation: Refresh the role guides against docs/architecture and the current plans (issue 158)Open
#158
#262 · Closed Oct 22
#264 · Closed Oct 22
#305 · Closed Oct 23
#315 · Closed Oct 24
#522 · Closed Oct 31
#155 · Closed Oct 20
#102 · Closed Oct 17
- process: Add free security scans and a fixed security pass for the fallback reviewer (issue 809)Done
#809 · Closed Nov 13
#810
#887 · Closed Nov 10
#868
#878
#445 · Closed Oct 26
#446 · Closed Oct 26
#447 · Closed Oct 26
#452
#453
#455 · Closed Oct 26
#444
#250 · Closed Oct 24
#286 · Closed Oct 23
#985 · Closed Nov 10
#609 · Closed Nov 26
#1453