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 haskanban:continuefalse. - 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:
falsestops 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:continueoff). 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 --headnames 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).