# Coding-agent task brief and handoff

Use with: https://saignals.buzz/articles/context-engineering-claude-code-codex
Replace placeholders with project facts. Include only necessary context and no
credentials or sensitive customer data.

## Task brief
Goal: [observable behavior to achieve]
Current behavior: [example input and actual output]
Expected behavior: [same input and desired output]
Relevant files: [entry point, implementation, tests]
Constraints: [compatibility, permissions, dependencies]
Out of scope: [work that must not be changed]
Verification: [command or reproducible manual check]

## Agent instruction
Read the relevant files and repository instructions first. State any uncertainty
that changes the outcome. Make the smallest change that meets the goal, then run
the relevant verification. Cite the evidence behind your completion report.
Do not assume an earlier summary is accurate without checking the current code.

## Handoff to another session
Goal and accepted decisions: [summary]
Branch and revision: [identifiers]
Changed files: [paths and purpose]
Checks run: [command, result, date]
Remaining work: [concrete next step]
Known uncertainties: [unverified assumptions or blockers]
Evidence: [paths or links needed to resume]

Before resuming, check the current working tree and relevant files: they may have
changed since this handoff. Do not repeat external actions merely because their
outcome was omitted from the summary.
