Skip to main content

Module kanban

Module kanban 

Source
Expand description

The Kanban’s reminders and PR links (SPEC_WARDEN_KANBAN_2026_10_20.md). What srv does for the Kanban on its own (docs/specs/SPEC_WARDEN_KANBAN_2026_10_20.md):

  • The reminder (§6.5): an agent idle for [IDLE_MS] with tasks waiting for it in its backlog gets one [AgentMux] note naming them, once per idle period, so the operator’s “do this when you’re done” requests get done without the operator coming back. Off unless the operator turns it on (kanban:reminders, in Settings and the Kanban’s toolbar), and never for an agent whose block has kanban:continue false.
  • The PR link (§6.8): an agent opening a PR while it holds exactly one task gets that task’s branch set, and the PR itself once GitHub lists it ([prs]).
  • Closing on merge (D5, [prs]): a task in Review whose PR merged is accepted.

The history line and the board event come with each.

Modules§

pr_events
A change to a pull request, as it reaches this install (the Kanban and GitHub spec, §5): the intake that trusts it or not, matches it to a card and writes the card’s list.
prs
The Kanban and GitHub (docs/specs/SPEC_WARDEN_KANBAN_2026_10_20.md §6.9, D5):

Constants§

FINISHED_WINDOW_MS
How long finished tasks stay on the board after they last changed (a release counts as a change): the board’s list, and the PR watcher’s.
IDLE_MS
How long an agent is idle before it is reminded.
META_CONTINUE
Block meta: false stops this agent going on through its backlog: no reminder, and finishing a task names no next one.
RELEASED_WINDOW_MS
A task the agent handed back within this window isn’t offered again.
SETTING_REMINDERS
The setting that turns reminders on for this install (default off; SPEC_KANBAN_REMINDER_OFF_BY_DEFAULT_2026_10_22.md).

Functions§

build_payload
The second half: build what the approved spec says.
continues
Whether this block goes on through its backlog (kanban:continue, default yes).
install
Turn the Kanban’s background work on for this srv. Until this is called (and in tests) nothing here acts.
is_research_kind
Whether a kind is one that writes a document for the operator to approve (SPEC_KANBAN_STAGES_COLOURS_AND_NARROW_VIEW_2026_10_23.md §4.1).
notify_unlocked
Tell the agent of each task a finished spec frees that it can start (§6.2), unless that agent’s pane doesn’t go on through its backlog (kanban:continue off). A message that can’t be delivered (the agent isn’t running here) leaves the card in Spec’d under its name.
on_new_prs
The progress watcher saw these agents open PRs: an agent holding exactly one task gets the PR’s branch on it, and the PR once GitHub lists it. With several, nothing is guessed.
pair_title
“Spec: …” / “Research: …” / “Build: …”, unless the title already says so.
reminder_text
The reminder’s text for these waiting tasks (at least one).
reminders_enabled
Whether reminders are on (kanban:reminders, default off).
run_reminder_loop
The reminder loop, which also prunes the history of tasks finished more than 30 days ago, once an hour. Started once, after install.
spec_payload
The first half of a feature: write it down, hand in its path.
split_head
alice:feature -> (alice, feature); feature -> (none, feature): gh pr create --head names a fork’s branch with its owner.
unlocked_by
The tasks a just-finished spec or research task frees, each with the agent to tell: waiting (not held), for one agent, and with nothing else unfinished to wait on. Reads the store: run it blocking.
unlocked_text
What a build’s agent is told when the spec it waits on is done (§6.2).