Overview Design the major interfaces, test behavior at meaningful boundaries, and delegate the internals. Deep modules reduce context cost, improve feedback, and let humans retain a usable mental model of an agent-modified codebase.