How rules are loaded
Rules come in two kinds—always-loaded and path-scoped. We dig into the mechanism where the frontmatter paths (glob) means "load only when you open a matching file."
Rules come in two kinds—always-loaded and path-scoped. We dig into the mechanism where the frontmatter paths (glob) means "load only when you open a matching file."
Reading a file auto-loads path-scoped rules, and the moment you rewrite it, PreToolUse / PostToolUse hooks step in. We look at the mechanisms that structurally block "the easy fix."