close_agent_task
Finalize an agent task by atomically writing logs, updates, gotchas, discoveries, escalations, and rewrites, aborting the commit if any write is forbidden.
Instructions
Transactional end-of-task writeback for an agent: appends task log, updates hot, writes gotchas, publishes discoveries/escalations, creates rewrites. Atomic — any forbidden write aborts the whole commit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gotcha | No | ||
| project | No | ||
| agent_id | Yes | ||
| rewrites | No | ||
| hotUpdate | No | ||
| discoveries | No | ||
| escalations | No | ||
| taskLogEntry | No |