In Plain English:Whenever Claude Code or Cursor edits a file, the hook scans it. If a rule is broken, the agent gets a one-line hint to fix it before you see the change.
A hook runs `brevio-core hook run --event post-edit` or `--event stop` (a `post-command` event also exists). The client passes the event as JSON on standard input. After an edit the hook scans the lines that file now adds; at stop it scans the uncommitted changes, once. Findings go back through the client's own channel, one short line each: `path:line [RULE] message -> fix`. Findings of preview rules do not keep the agent working at stop, but test-custody findings do.