Finish a lock
lock_finishCompletes an active lock by archiving it with an optional summary, preventing further conflicts. Validates the lock ID and errors if missing or already finished.
Instructions
Marks an active lock as done, optionally appending a closing summary to its Notes, and moves its file from the active set into the done archive. Once finished, the lock stops appearing in lock_query's default (status-omitted) view. Errors clearly if lock_id does not exist, or if it exists but is already done (rather than silently no-op-ing).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock_id | Yes | The id of the active lock to finish. | |
| summary | No | Optional closing summary appended to the Notes section before the lock is archived. |