# `AgentWorkshop.BoardWorker`
[🔗](https://github.com/joshrotenberg/agent_workshop/blob/main/lib/agent_workshop/board_worker.ex#L1)

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:

1. Polls the board for `:ready` items matching its work type
2. Claims the highest priority item
3. Sends the item's title + spec as a prompt to its agent
4. Marks the item complete (or failed) based on the result
5. 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])

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
