Skip to main content

Module kanban

Module kanban 

Source
Expand description

The operator’s side of the Kanban (docs/specs/SPEC_WARDEN_KANBAN_2026_10_20.md §6.4, §7.2), websocket RPCs from the Kanban pane:

  • kanban.list: every task the board shows, with its card and its holder’s live state, and this instance’s agents.
  • kanban.task: one task and its history.
  • kanban.act: one of the operator’s moves (create, edit, move, start, answer, accept, send_back, cancel, retry, track, release, reassign).

kanban.act is the operator’s alone: it needs the host’s proof that the connection is the AgentMux window (RpcContext::operator_only). Agents reach the queue through the HTTP routes (work_queue.rs, work_tasks.rs).

Modules§

act_steps 🔒
The moves kanban.act makes, one method each. A method answers its reply, or the error that refuses the move; act_as records that the board changed after any reply.

Structs§

ActRequest 🔒
Actor 🔒
Who makes a Kanban move: the operator from the Kanban, or an agent. The history carries the name, and a message to another agent arrives as that agent’s, never as the operator’s.
Decider 🔒
Who is accepting or sending back a task in Review. The operator does it from the Kanban; any agent may do it too (server/work_delegate.rs). Both run the same moves below, and the history names who.

Constants§

LEASE_MS 🔒
The lease of a task the operator starts on an agent; a live holder keeps it.
LIST_LIMIT 🔒
The most tasks one list returns.
OPERATOR 🔒

Functions§

accept_task 🔒
Review to done, and what that unlocks. The one Accept, whoever decides.
act 🔒
act_as 🔒
One Kanban move by actor. An agent makes every move but create (it files with Tasks enqueue) and track.
after_words 🔒
“#12, #15” for the history.
agent_json 🔒
An agent of this instance as the board shows it, with its colour (SPEC_KANBAN_STAGES_COLOURS_AND_NARROW_VIEW_2026_10_23.md §7.2).
agent_named 🔒
The agent of this instance with this name (or UID), if exactly one.
alive 🔒
Whether this agent’s process runs, so a message reaches it.
changed 🔒
color_of 🔒
The colour an agent definition keeps (ui:color, #rrggbb), the one its pane and Swarm row are drawn from.
create_one 🔒
One task the operator filed: the row, what it starts after, its card and its first history line. Returns its id and number.
fill_media_paths 🔒
Where a task’s pictures are stored, for the card’s thumbnails and the Editor.
holder_of 🔒
The registration holding a task, by UID when the task has one.
list 🔒
media_json 🔒
Every file a task carries, with where each is stored (a removed one has no path).
names_of 🔒
The display names of the agents these uids name, those whose definition is known.
quoted 🔒
Text another agent wrote, quoted line by line so it reads as theirs.
register
send_back_task 🔒
Review back to its holder with the reason, or to the Backlog when the holder is gone. The one Send back, whoever decides.
send_back_text 🔒
What the holder receives when its task is sent back. From the Kanban it arrives as the operator’s turn; from an agent it arrives as that agent’s, and the reason is that agent’s text, quoted.
start_text 🔒
What an agent receives when the operator starts a task on it.
target_of 🔒
The name and uid a task is for, from what was typed: a registered agent, else an agent the identity store knows by uid (stopped now), else the bare name.
task 🔒
task_json 🔒
tell 🔒
A message to an agent from from. The operator’s, clicked in the Kanban, is a turn of theirs; an agent’s is an automated turn that names the agent, so it can’t pass for the operator’s.

Type Aliases§

DelegateAccepts 🔒
A Done task an agent accepted, for its card and Reopen.
Names 🔒
Agents’ display names by uid (“Tess”), where a card or an agent names one by its id (“tess-2”).