// module 06 · Security gates for developers
The edit gate: checking code as the agent writes it
Trace the course edit hook from a write event to scanner feedback, then test both a useful warning and the ways that warning can disappear.
Learning Objectives
- Explain how PostToolUse feedback reaches the coding agent
- Run the bundled rules against a small controlled fixture
- Verify a safe rewrite without weakening the scanner rule
- Identify coverage and scanner-error limits in the current implementation
This lesson is for enrolled learners
Log in, then enroll to read the full lesson, run its lab and take the quiz.
