Update a lock
lock_updateMark a task on an existing lock as done or not-done, with an optional note, so other agents see live progress via lock_query.
Instructions
Flips one task on an existing lock to done or not-done, and optionally appends a note. Call this AS SOON as a task actually completes — not batched at the end of your work — so other agents watching lock_query see live progress. task_text must match an EXISTING task's text EXACTLY (no fuzzy/partial matching); if it does not match, this returns an error listing the lock's actual task texts rather than silently doing nothing. Works on a lock in either active or done status (found by lock_id regardless of which directory it currently lives in).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | true to mark the task done, false to mark it not done. | |
| note | No | Optional free-text note to append to the lock's Notes section. | |
| lock_id | Yes | The id of the lock to update (as returned by lock_create or lock_query). | |
| task_text | Yes | The exact text of an existing task on this lock. |