Guide

Write an agent brief that can fail closed

A useful brief is boring. It names the user-visible change, the files that are in bounds, the files that are out of bounds, and the command that proves the work.

Minimum fields

Example shape

Goal: invoice list accepts cursor and limit. Out of scope: billing calculations. Stop if the existing pagination helper cannot be reused. Verify with the API test target and a manual empty-page case.

Paste that into your own agent. Then read the diff as if the agent is wrong. Use the brief builder if you want the fields formatted.

Educational material only. We do not warrant that following this template produces secure or correct software.