I used to treat repository instructions as the finished product.

Write a careful AGENTS.md. Explain the architecture. Ban any. Require named

exports. Tell the coding agent to keep files small and update the ADR when a

contract changes.

The document could be excellent and the next pull request could still violate