atlas_set_status
Toggle a Work Order or Markdown checkbox task between open and done, refusing completion when referenced functions are undefined or have no callers.
Instructions
Flip the status marker of an existing Work Order (⬜ OPEN <-> ✅ DONE) or Markdown checkbox task (- [ ] <-> - [x]).
Use this tool as the final step when completing an existing open Work Order (`wo=N`) or a checkbox
task from `atlas_tasks` (`task='...'`). To append a brand-new Work Order entry that is not yet in the
document, use `atlas_publish` instead.
Behavior & Output:
- Pre-write wiring gate: when `status='done'`, checks that all symbols in `verify_symbols` (and
`.atlas/wo-symbols.yml`) are defined and have at least one caller/reference. Refuses with
`{changed: false, refused: true, refusal: "..."}` if any symbol is unwired.
- Verified in-place update: updates the status marker or checkbox in the local Markdown file (or active
Google Doc tab for Work Orders), verifies by reading back, and returns JSON `{changed, verified, status}`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wo | No | Existing Work Order number to update (positive integer, e.g. 8 for 'Work Order 8'). Provide either `wo` or `task`. | |
| task | No | Substring identifying a Markdown checkbox item (`- [ ] ...`) to toggle between `- [ ]` ('open') and `- [x]` ('done') when `wo` is omitted (e.g. 'Balance damage formula'). | |
| status | No | New status: 'done' (`✅ DONE` / `- [x]`, default) or 'open' (`⬜ OPEN` / `- [ ]`). | done |
| verify_symbols | No | Optional list of function or class names that must be defined and called/referenced in the codebase before `status='done'` is allowed. Merged with `.atlas/wo-symbols.yml`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |