Finish work
finish_workRecord completed repository implementation in one boundary call. Replaces the Work description with the factual implementedSummary and marks it done. If this closes the batch, batchSummary closes it in the same call; otherwise the response asks only for that missing summary. Calling it again on a done Work with batchSummary closes a Batch left open. A Work left planned or in progress inside a ready Batch is finished here too. Use it once implementation is complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the Work. | |
| metrics | No | Optional client measurements, stored on the workflow step this call completes. | |
| batchSummary | No | What the Batch changed; needed when this closes the Batch. | |
| implementedSummary | Yes | What was actually implemented; replaces the Work description. |