Expand description
The Kanban’s remote operations: tasks.enqueue and tasks.list on this machine’s board, for an
agent of another machine (SPEC_AGENTS_OPERATE_OTHER_MACHINES_2026_10_30.md §4.3, phase P3).
The transport (remote_ops) has already proven the requesting machine and the request; these
functions take the verified requester’s name (slug@machine) and the typed params, and do what the
same call does locally, through the same code (work_queue::enqueue_core, list_items). They never
see the envelope and write no audit row; the transport does both.
What differs from a local call, on purpose:
- The task is asked for by that agent (
slug@machine, kindagent), never by the operator, and is not held for the operator’s Accept unless the request saysreview: true. - The target is named by its slug or name and resolved here, on the machine that owns it; a name that matches nobody, or several agents, is refused with the candidates, never guessed.
- The request’s
reasonisn’t a parameter: it never reaches an agent (the transport keeps it for the audit). - There is no
target_group: a group is a local idea.
Structs§
- Enqueue
Params 🔒 - What
tasks.enqueuetakes: the local tool’s fields, lesstarget_group,created_byand the carried uid. - Failure 🔒
- Why an operation didn’t run: a short snake_case
code(the transport’srefused_reason) and words. - List
Params 🔒 - What
tasks.listtakes.
Functions§
- fail 🔒
- params_
of 🔒 - The params as
T, naming the field that is wrong or unknown. - target_
uid 🔒 - The uid of the agent here that
typednames, or why none can be named. - tasks_
enqueue 🔒 tasks.enqueue: file a task (or, withfirst, a spec and its build) on this machine’s board for one of its agents. The answer is the local call’s:{id, num}, andbuild_id/build_numfor a pair, with a note when the target can’t work now.- tasks_
list 🔒 tasks.list: this machine’s board, read-only:{items: [...]}, each with its number.- tasks_
list_ 🔒for tasks_listfor the agentactor(slug@machine), which sees only the boards whose agent list has it.