feat(kanban): add rerun command, parent workspace context, and notification auto-subscribe - #28331
Closed
crayfish-ai wants to merge 0 commit into
Closed
feat(kanban): add rerun command, parent workspace context, and notification auto-subscribe#28331crayfish-ai wants to merge 0 commit into
crayfish-ai wants to merge 0 commit into
Conversation
crayfish-ai
force-pushed
the
server-mainline
branch
from
May 20, 2026 03:09
745a39a to
a0c0312
Compare
This was referenced May 21, 2026
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
Three kanban system improvements targeting dispatcher ergonomics and worker context quality.
Commits
1.
feat(kanban): add auto-subscribe to task creationcreate_task()now accepts an optionalsubscribeparameter. When present, akanban_notify_subsrow is inserted automatically — no more manualhermes kanban notify-subscribeafter every task creation. The notifier watcher in the gateway already processes these rows; this change just populates them at creation time.Files:
hermes_cli/kanban_db.py(+95 lines)Tests: 5 new tests (
test_kanban_fixes_p1_p6.py)2.
feat(kanban): respect review-required in parent-child promotionblock_reasoncolumn to thetaskstable, populated byblock_task()recompute_ready()treatsreview-requiredblocked parents as "done" for promotion purposes — writers block their task, reviewers get promoted automaticallyclaim_task()andunblock_task()apply the same parent-gate logicunblock_task()now clears the storedblock_reasonand fires a best-effort dispatch passFiles:
hermes_cli/kanban_db.py(+55/-13 lines)Tests: 5 new tests
3.
feat(kanban): add rerun command and parent workspace in worker contextrerun_task()resets completed/blocked tasks back to ready for retry. Clears claim state, block_reason, run pointer, consecutive-failure counter. Respects parent-gate logic. Exposed ashermes kanban rerun <task_id> [--reason] [--reassign] [--append].build_worker_context()now includes each completed parent task'sworkspace_pathin the parent results section, prefixed with_Workspace_:, so child workers know which workspace the parent operated in.Files:
hermes_cli/kanban_db.py,hermes_cli/kanban.py(+144 lines)Tests: 10 new tests
Test Coverage
All 20 new tests pass (
tests/hermes_cli/test_kanban_fixes_p1_p6.py), covering: