Expand description
The shared work queue (Work*).
ConstantsΒ§
- MOVE_
FIELDS π - The fields each of the Kanbanβs moves takes, as the toolβs description lists them (not
board: with a bareidit says which board the id is on, for every move). A field that only other moves take is refused by name: answered βdoneβ, it would be dropped and the task left as it was.
FunctionsΒ§
- ago_
words π - How long ago, in the words a history line uses.
- attached_
text π - β Attached: a.png (image), b.webm (recording).β for the files an update or submit carried, else ββ.
- boards_
text π - What the boards answers say: the list, or the board a change left.
- call π
- claimed_
text π - What a successful claim tells the agent: the task, its attempt number, and how to use them.
- decision_
text π - The answer to
acceptorsend_back: what was done, and what it set off. - finished_
text π - The answer to finishing a task (
complete,submit): where it went, and the next task waiting for the caller, which it takes now (Kanban Β§6.5: an agent goes on through its backlog). - held_in π
- The tasks
self_idholds instateon any board, each with its attempt. - hold_
text π - The answer to
holdorunhold: where the task is now. - holds_
it π - Whether this agent holds the task the call names (claimed, or blocked on a question it asked).
- is_
only_ πa_ note - An
updatethat only leaves a note and/or links: the part ofupdatethat needs no claim. A checklist, files, or the UI flags are the holderβs, and still ask for the attempt. - missing_
attempt π - The refusal for a call without
attempt: the tasks this agent holds, each with the attempt to pass. A weak model repeats a bare refusal; this one says what to send. It never fills the attempt in: the argument is how srv rejects a stale holder, and a default would defeat it. - move_
action_ πname - The tool-facing name of a move: what the agent passes as
action. - no_
such_ πtarget - Why
Tasks enqueuerefuses a target no agent answers to (#1257), and which ids it may have meant. - note_
on_ πunheld Tasks updatewith a note or links and no attempt, on a task nobody holds: srv writes it on the card as this agentβs, with no claim and no attempt used. srv refuses it, saying what to do instead, if someone holds it.- path_
seg π - A task ref as one URL path segment (a raw
#would start the URLβs fragment). - refusal_
words π - The task an action names, as it goes in a URL path: its id, or its number
with or without the
#the answers print (a raw#would start the URLβs fragment). Anything else that isnβt an id character is refused. What srv refused with, in words: itserrorwhen the answer is JSON that has one, else the answer as it came (a UI task handed in without media is told what to attach, or to say why it canβt). - refuse_
unused_ πfields - Refuse a field this move doesnβt take, naming the moves that do.
- run_
work_ πaccept - Any agent accepts or sends back a task in Review; srv records the agent that did it.
- run_
work_ πboards - The boards, and managing them (
GETandPOST /agentmux/work/boards). - run_
work_ πclaim - run_
work_ πedit - The Kanbanβs other moves, made by this agent (
POST /agentmux/work/act). - run_
work_ πenqueue - Enqueue a task. Every Work tool posts or gets /agentmux/work* on the local srv, with the same auth header as the cron tools.
- run_
work_ πget - One task whole (
GET /agentmux/work/:id): the instruction it was filed with and everything the board holds about it. - run_
work_ πheartbeat - run_
work_ πhold - run_
work_ πlist - run_
work_ πtokens - A taskβs tokens (
GET /agentmux/work/:id/tokens): where its tally went, as srv words it. Counts only, and only when asked. - run_
work_ πupdate - scoped π
- The arguments with a bare task number made a ref on the board they name (
board: "work",id: "12"iswork#12), when the board is given as a slug. Not formove(its board is where the task goes), nor where the board is not about the id. - shown_
id π - How an answer writes the id it was given:
#12, orwork#12as it is. - stages_
text π - β, stages (rev 2): Needs you [amber: needs] | Done [green: merged+released]β for a board with its own
stage set; nothing for the default eight (so the list stays short). An agent reads this to know
what to send back with
stagesandstages_rev. - starts_
after_ πtext - What a claimed task starts after, with each oneβs document: a buildβs agent reads its spec there, however the build reached it. Empty when it starts after nothing.
- task_id π
- task_
name π - A task as an answer names it:
#12when srv gave it a number, else its id. - task_
text π - A task as
getshows it: who it is for and who holds it, its links, the instruction it was filed with, then the holderβs note, question and checklist, what it starts after, and its last history lines.