Hooks and deterministic guarantees

A section of the "Coding agents and vibe coding" topic. The questions check an understanding of practice, not memory of specific library APIs. After each answer comes a review: why the correct option is right, what is wrong with each incorrect one and which chapter to read.

Quiz difficulty Formats: one correct option, several correct options, order of steps, the faulty line, sorting into groups

Quiz 5.4Hooks and deterministic guaranteesStart Practice or a ranked attempt — you choose after clicking.
  1. A hook or a rule in the prompt
  2. A hook and a rule: the difference
  3. A first hook in fifteen minutes
  4. A mistake in the hooks configuration
  5. When a hook is justified
  6. When a requirement should become code
  7. Which requirements to check automatically
  8. The agent follows the letter of the rule
  9. A reliable response format
  10. Where to put a requirement