Skip to main content

Module work_delegate

Module work_delegate 

Source
Expand description

An agent accepts or sends back a task in Review:

POST /agentmux/work/:id/accept { auth, text? } POST /agentmux/work/:id/send_back { auth, text }

Any agent may. The history carries the agent as the one who decided, and says so plainly when the task was its own work; it is never recorded as the operator. The caller is the agent whose signed identity (or token) verifies, never one the body names.

StructsΒ§

DecisionRequest πŸ”’

EnumsΒ§

Verb πŸ”’

FunctionsΒ§

check πŸ”’
The checks, in order; the first that fails answers.
decide πŸ”’
handle_work_accept πŸ”’
handle_work_send_back πŸ”’
is_own_work πŸ”’
The task is the caller’s own: it holds it, or handed it in.
refused πŸ”’