Lesson overview

Make the smallest justified edit

Make the smallest justified edit — Coding agents: small changes you can verify. Preserve valid behavior; Inspect the proposed function; Check the complete diff. Practical assignment: Lab evidence.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Preserve valid behavior
  • Inspect the proposed function
  • Check the complete diff

Practical assignment

Lab evidence

The full lesson is available as part of the course.

Continue to learning

Course outline

  1. Create a reviewable repository
  2. Give context and a bounded request
  3. Make the smallest justified edit
  4. Test the defect and the boundaries
  5. Handle approvals and suspicious instructions
  6. Review, commit and roll back safely