Doctrine is a system of standing rules that govern how code is built across all agents and sessions. It encompasses house style, naming conventions, commit formats, and tests, enforced through git hooks and review processes. Doctrine layers a standard foundation from Pullboard with repository-specific customizations that persist across sessions.