Compile the rules governing a project's coding agent — declared ones (CLAUDE.md, AGENTS.md, style guides) and ones revealed in conversation history — into deterministic enforcement written into the project's own toolchain (lint rules, pre-commit, slash commands), each with a native test. Use whenever the user wants a preference enforced rather than remembered — "add a rule/lint/check for this", "make sure this never happens again", "stop doing X", repeated corrections of the same mistake, "enforce our CLAUDE.md", or a request to mine chat history for recurring rules.
2026-07-08