Skip to main content

Module work_boards

Module work_boards 

Source
Expand description

Several Kanban boards on the MuxAPI (docs/specs/SPEC_SHARED_KANBAN_ACROSS_MACHINES_2026_11_01.md §9.2, §9.3), beside the queue’s own routes in work_queue.rs:

GET /agentmux/work/boards — the boards the caller sees, with how many tasks each holds POST /agentmux/work/boards — { action: create | edit | archive | unarchive | delete | cancel_delete | default, board, name, slug, readable, agents }

Moving a task to another board is Tasks move with a board (/agentmux/work/act). The same moves exist for the operator in the Kanban; an agent makes every one of them too, and the board’s history carries the agent. A board whose agent list leaves the caller out is refused like a board that doesn’t exist.

Structs§

BoardsQuery 🔒
BoardsRequest 🔒
What a board action takes. board names the board it acts on (name, slug or id).

Constants§

HISTORY_SHOWN 🔒
How many lines of a board’s history the list carries.

Functions§

board_act 🔒
One board action by actor. who is the caller’s id and UID when it is an agent (then it must see the board it acts on), none for the operator.
board_json 🔒
A board as the routes show it. stages is the set in use: the stored one, or the default when none is stored or the stored one can’t be used (stages_error then says why, and nothing is overwritten).
board_with_history 🔒
A board as a list shows it: board_json and its latest history lines. Every list of boards (the agents’ route and the Kanban’s own) goes through this, so none of them leaves the history out.
boards_view 🔒
The boards who sees (none: all), default first, each with its latest history lines.
handle_boards_act 🔒
handle_boards_list 🔒
note_stages_change 🔒
The history line for a change of a board’s stages: who, how many stages before and after, and both sets (kept for a later Restore). A failure to write it is logged and never fails the change itself.