A board-aware agent that polls for work, claims it, executes, and reports.
Combines an agent (from a profile), a scheduler, and the work board into a single first-class concept. The worker:
- Polls the board for
:readyitems matching its work type - Claims the highest priority item
- Sends the item's title + spec as a prompt to its agent
- Marks the item complete (or failed) based on the result
- Repeats
Usage
board_worker(:coder_1, :code, profile: :coder, interval: :timer.minutes(1))
board_worker(:reviewer_1, :review, profile: :reviewer, interval: :timer.minutes(2))
# Post work — workers pick it up automatically
work(:checkout, "Implement git checkout", type: :code, spec: "...")
work(:checkout_review, "Review checkout", type: :review, depends_on: [:checkout])
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.