You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document and support a first-class architecture pattern for specialist worker lanes under Hermes Kanban orchestration.
The Codex worker lane in #19924 is one concrete example, but the architecture should generalize to other implementation specialists:
Codex CLI worker
Claude Code worker
OpenCode worker
local coding-model worker
review/lint/test workers
Motivation
Hermes should remain the top-level orchestrator. Specialist tools should not become parallel orchestrators with their own task lifecycle, status system, or shadow planning board.
The desired hierarchy is:
Hermes Kanban = canonical task lifecycle and logs
Specialist worker = implementation executor for one assigned card
GitHub PR = upstreamable code artifact
Human/review worker = final quality gate before done
This prevents duplicated control planes and makes worker output auditable.
Proposed Architecture
Worker lanes should follow these rules:
Hermes Kanban owns lifecycle state.
ready → running → blocked/done/cancelled
Workers do not own task truth.
Code-changing workers should not auto-promote successful exits to done.
Success should normally transition to blocked with reason review-required.
A separate human/review lane decides whether work becomes done.
Worker logs should be stored under the Kanban root.
Example: <root>/kanban/logs/t_<id>.log
Logs should include command, workspace, exit code, and summary.
Workers should be non-interactive and sandboxed.
Example policy for CLI coding workers: workspace-write, no approval prompts.
Worker environment should be pinned to the card workspace/board.
Assignee routing should be explicit.
Example assignees: codex, codex-worker, claude-code, opencode.
Unknown assignees should not silently invoke arbitrary shell commands.
Feature Description
Document and support a first-class architecture pattern for specialist worker lanes under Hermes Kanban orchestration.
The Codex worker lane in #19924 is one concrete example, but the architecture should generalize to other implementation specialists:
Motivation
Hermes should remain the top-level orchestrator. Specialist tools should not become parallel orchestrators with their own task lifecycle, status system, or shadow planning board.
The desired hierarchy is:
This prevents duplicated control planes and makes worker output auditable.
Proposed Architecture
Worker lanes should follow these rules:
Hermes Kanban owns lifecycle state.
Code-changing workers should not auto-promote successful exits to
done.blockedwith reasonreview-required.Worker logs should be stored under the Kanban root.
<root>/kanban/logs/t_<id>.logWorkers should be non-interactive and sandboxed.
workspace-write, no approval prompts.Assignee routing should be explicit.
codex,codex-worker,claude-code,opencode.Worker outputs should be reviewable artifacts.
Phased Build Plan
Phase 1: Codex worker lane
Phase 2: Architecture docs
Phase 3: General worker interface
Phase 4: Optional dashboard visibility
Alternatives Considered
Parallel worker-specific task systems
Rejected. This creates shadow infrastructure and makes it unclear whether GitHub, a worker CLI, or Hermes owns task state.
Auto-mark successful workers as done
Rejected for code changes. Passing worker execution is not equivalent to reviewed, mergeable work.
Acceptance Criteria