Get Started

Scope Contracts and Task Boundaries

The model does not know where the work ends. A scope contract is a per-task file that says where the work begins, where it ends, and how to roll back if it spills. The contract turns "stay in scope" from a wish into a check.

50 minutesBuildPython (stdlib)Members

Learning Objectives

  • Write a scope contract that an agent reads at task start and a verifier reads at task end.
  • Specify allowed files, forbidden files, acceptance criteria, rollback plan, and approval boundaries.
  • Implement a scope checker that compares a diff against the contract and flags violations.
  • Make scope creep visible, automatic, and reviewable.