feat(kanban): 1:1 port of Hermes multi-agent kanban board - #56
Open
kleopasevan wants to merge 1 commit into
Open
feat(kanban): 1:1 port of Hermes multi-agent kanban board#56kleopasevan wants to merge 1 commit into
kleopasevan wants to merge 1 commit into
Conversation
Durable SQLite-backed task board for multi-profile, multi-project
collaboration — feature parity with Hermes Agent kanban v1.
What ships:
- src/kanban/{store,schema,paths,boards,runs,notify,events,context,
dispatcher,notifier,specify,cli,slash}.rs — kernel + lifecycle
(claim/heartbeat/complete/block/unblock/specify/archive), boards
multi-project, runs attempt history, gateway notify-subscribe,
triage specifier (template stub), in-process dispatcher loop with
pluggable worker spawn.
- `rantaiclaw kanban …` clap subcommand surface — every Hermes verb
(init/create/list/show/assign/link/comment/complete/block/unblock/
archive/tail/watch/heartbeat/runs/dispatch/stats/context/specify/
notify-{subscribe,list,unsubscribe}/boards) and the --board scope flag.
- `/kanban …` slash command (TUI command router) sharing the same clap
tree; output captured into a writer so the channel can deliver it as a
message.
- 9 agent tools (kanban_show, kanban_list, kanban_complete, kanban_block,
kanban_heartbeat, kanban_comment, kanban_create, kanban_link,
kanban_unblock) with env-gated availability so non-worker sessions see
zero kanban tool bloat.
- Schema is byte-compatible with Hermes v1 (tasks, task_links,
task_comments, task_events, task_runs, kanban_notify_subs) — same
columns, same indexes, same WAL + BEGIN IMMEDIATE concurrency model.
- 27 unit + integration tests covering schema idempotence, parent-gates-
status, claim mutual exclusion, idempotency-key dedup, link cycle
rejection, board isolation, slash parsing, dispatcher tick, notifier
delivery, triage promotion.
- docs/kanban.md user guide + docs/kanban/skills/{worker,orchestrator}.md
pattern docs + docs/superpowers/specs/2026-05-16-kanban-port-design.md
design rationale.
Out of scope (called out in spec + user guide):
- React/web kanban dashboard (rantaiclaw has no web dashboard subsystem).
- Auxiliary-LLM-driven specify (deterministic template ships; LLM wire-up
is a 50-line follow-up).
- Workspace subprocess spawning (schema persists workspace_kind /
workspace_path; dispatcher exposes env vars; Dispatcher::set_spawner
hook ready for whatever worker model the team picks).
Risk + rollback:
- New top-level module + clap subtree + 9 tool registrations + 1 TUI
slash handler. Existing critical paths (gateway, security, agent loop)
untouched.
- Storage: writes only to $RANTAICLAW_HOME/kanban.db (default
~/.rantaiclaw/kanban.db) and ~/.rantaiclaw/kanban/. Revert + delete
those paths to fully roll back.
- Migration: schema is purely additive on first connect. No pre-existing
user data is mutated.
Verification:
cargo check --lib # clean
cargo check --bin rantaiclaw # clean
cargo test --lib kanban # 27 passed; 0 failed
cargo clippy --lib --no-deps # 0 errors
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
PR intake checks found warnings (non-blocking)Fast safe checks found advisory issues. CI lint/test/build gates still enforce merge quality.
Action items:
Run logs: https://github.com/RantAI-dev/RantAIClaw/actions/runs/25967917731 Detected blocking line issues (sample):
Detected advisory line issues (sample):
|
kleopasevan
force-pushed
the
main
branch
2 times, most recently
from
May 20, 2026 08:08
2746031 to
a641405
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a durable SQLite-backed multi-agent task board to rantaiclaw at v1 feature parity with Hermes kanban — every CLI verb, slash verb, and
kanban_*agent tool maps 1:1 so existing playbooks transfer without rewrites.This is the engineering primitive Hermes calls "the shape that covers the workloads
delegate_taskcan't": research triage, scheduled ops, digital twins, engineering pipelines, fleet farming. Tasks are SQLite rows, handoffs are SQLite rows, and every worker is a full process with its own identity.What ships
src/kanban/) — schema (tasks, task_links, task_comments, task_events, task_runs, kanban_notify_subs) byte-compatible with Hermes v1; WAL +BEGIN IMMEDIATE+ CAS UPDATEs; multi-board (per-project) isolation; runs attempt history with structured handoff; gateway notify-subscribe table; triage specifier; in-process dispatcher loop withset_spawnerextension point.rantaiclaw kanban …) — init, create, list, show, assign, link, unlink, claim, comment, complete, block, unblock, archive, tail, watch, heartbeat, runs, dispatch, stats, context, specify, assignees, notify-{subscribe,list,unsubscribe}, boards {list,create,switch,show,rename,rm}, and the--board <slug>one-shot scope flag./kanban …in TUI) — same clap subcommand tree as the CLI; output captured into a writer so any channel adapter can deliver it as a message.kanban_show,kanban_list,kanban_complete,kanban_block,kanban_heartbeat,kanban_comment,kanban_create,kanban_link,kanban_unblock) — env-gated availability (RANTAICLAW_KANBAN_TASKfor workers,RANTAICLAW_KANBAN_ORCHESTRATORfor orchestrators) so non-kanban sessions see zero tool bloat.docs/kanban.mduser guide,docs/kanban/skills/{kanban-worker,kanban-orchestrator}.mdpattern docs,docs/superpowers/specs/2026-05-16-kanban-port-design.mddesign rationale.Non-goals (called out explicitly in spec + user guide)
specify. Ships with a deterministic template; auxiliary-provider wire-up is a follow-up that doesn't touch the CLI surface.workspace_kind/workspace_pathand the dispatcher exposes the env vars; the actual worker spawn is aDispatcher::set_spawner(|task_id| { … })away once the team picks the worker model.Risk + rollback
src/kanban/), one new clap subtree, 9 tool registrations, 1 TUI slash handler. No edits to existing critical paths (gateway / security / agent loop).$RANTAICLAW_HOME/kanban.db(default~/.rantaiclaw/kanban.db) and~/.rantaiclaw/kanban/. Revert + delete those paths to fully roll back.Verification
Full-crate
cargo testdeliberately not run locally — it OOMs the dev box (matrix-sdk, wa-rs, all features). CI will exercise it.Test plan
rantaiclaw kanban initthenrantaiclaw kanban create \"test\" --assignee me, confirms~/.rantaiclaw/kanban.dbexists with a task row.rantaiclaw kanban boards create alpha --switchthenrantaiclaw kanban list— confirms isolation fromdefault.rantaiclaw kanban dispatchon areadytask — confirms it claims (status → running) without a spawner./kanban listfrom the TUI — confirms slash output matches CLI.docs/kanban.mdanddocs/superpowers/specs/2026-05-16-kanban-port-design.md.🤖 Generated with Claude Code