Skip to main content

Module decide

Module decide 

Source
Expand description

Whether an agent is asked at all (spec §3.2). Only one that has something to lose and can take a turn to say so; for every other agent the action runs at once, as it did before this existed.

Structs§

Inputs 🔒
What the decision reads, gathered once.

Enums§

Decision
Ask the agent, or run the action now and say why not.

Functions§

can_take_a_turn 🔒
decide
Decision for prep. BLOCKING (store reads).
decide_from 🔒
in_a_turn 🔒
lost_of 🔒
What the agent in block would lose. Its claimed tasks are on the Kanban’s own store (work_store), which is a separate one in a build with its own work queue, not the identity store.