What are test hooks in AI-native development?
Summary: A test hook connects a test or lint command to an event in your AI coding agent’s workflow. When the event fires, the agent runs the command automatically. If it fails, the agent’s action is blocked. You can wire your existing test commands into your agent’s lifecycle hooks to get deterministic local validation before code ever reaches CI. AI coding agents write code at a pace where stopping to manually run tests breaks your flow.