Draft a Codex brief that contains objective, constraints, evidence, and proof.
A teammate asks, “Please clean up login and make the tests stop failing.” Objective -> Constraints -> Evidence -> Verification Vague prompts make Codex decide scope and success criteria on its own, which is how cleanup requests balloon into multi-file rewrites. Objective Replace “clean up login” with “stabilize the flaky login redirect test in apps/web.” The objective names one behavior and one surface area, which keeps the run anchored to a measurable outcome. Constraints Add “preserve the current auth session contract and do not broaden beyond login redirect behavior.” Constraints stop helpful-looking edits from expanding into unrelated auth redesign. Evidence…
Sign up free — one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in