Wrap up a completed task by checking plan alignment, updating the project memory files with only the necessary changes, running credible verification, and summarizing the outcome.
This is the closeout workflow after implementation. It is not a broad audit and it is not a second planning pass.
Accept any combination of:
Write the report to:
.agent-layer/tmp/finish-task.<run-id>.report.mdUse run-id = YYYYMMDD-HHMMSS-<short-rand>.
Create the file with before writing.
touchUse subagents liberally when available.
Recommended roles:
Change reviewer: compares the delivered work to the intended scope.Memory curator: updates only the affected memory files.Verifier: runs the best fast checks available.Reporter: writes the final closeout summary.git status --porcelaingit diff --statCOMMANDS.md before choosing verification commands.If a plan artifact is available:
If no plan artifact exists, state that explicitly and continue.
Use the authoritative files only as needed:
ISSUES.mdBACKLOG.mdROADMAP.md only when status genuinely changedDECISIONS.md only for non-obvious, durable choicesMerge near-duplicates instead of appending noise.
Report:
Write .agent-layer/tmp/finish-task.<run-id>.report.md with:
# Task Closeout Summary## Scope and Inputs## Plan Alignment## Memory Updates## Verification## Deferred Follow-upDECISIONS.md.After writing the report: