hermes - 💡(How to fix) Fix Architecture: specialist worker lanes under Hermes Kanban orchestration [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#19931Fetched 2026-05-05 06:04:17
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Code Example

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
RAW_BUFFERClick to expand / collapse

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:

  • 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:

  1. Hermes Kanban owns lifecycle state.

    • ready → running → blocked/done/cancelled
    • Workers do not own task truth.
  2. 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.
  3. 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.
  4. 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.
  5. Assignee routing should be explicit.

    • Example assignees: codex, codex-worker, claude-code, opencode.
    • Unknown assignees should not silently invoke arbitrary shell commands.
  6. Worker outputs should be reviewable artifacts.

    • Git diff
    • tests run
    • logs
    • status metadata

Phased Build Plan

Phase 1: Codex worker lane

  • Land #19924.
  • Validate routing, logs, workspace pinning, and review-required status mapping.

Phase 2: Architecture docs

  • Add a docs page or contributor guide section explaining worker lane semantics.
  • Include expected status transitions and safety rules.

Phase 3: General worker interface

  • Factor common runner behavior if/when a second worker lane lands.
  • Keep the initial implementation concrete until duplication appears.

Phase 4: Optional dashboard visibility

  • Show worker type, log path, exit status, review-required reason, and linked PR.

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

  • There is a documented worker lane contract.
  • At least one implementation follows it (#19924 or successor).
  • Code-changing workers transition successful completion to review-required rather than done.
  • Logs and workspace pins are auditable from Kanban metadata.
  • The pattern is explicit enough that future Claude/OpenCode/local-model workers can follow it without inventing a parallel lifecycle.

extent analysis

TL;DR

Implement a worker lane architecture under Hermes Kanban orchestration, following the proposed rules and phased build plan to ensure a standardized and auditable workflow.

Guidance

  • Review the proposed architecture rules, particularly the ownership of lifecycle state by Hermes Kanban and the transition of successful worker completion to blocked with reason review-required.
  • Validate the implementation of the Codex worker lane (#19924) to ensure it follows the proposed architecture and semantics.
  • Consider factoring common runner behavior for future worker lanes to maintain consistency and avoid duplication.
  • Ensure that worker logs and workspace pins are stored and accessible under the Kanban root for auditing purposes.

Example

No specific code snippet is provided, as the issue focuses on architectural design and implementation guidelines rather than specific code changes.

Notes

The proposed architecture and phased build plan provide a clear direction for implementing worker lanes under Hermes Kanban orchestration. However, the success of this implementation depends on careful consideration of the acceptance criteria and adherence to the proposed rules and guidelines.

Recommendation

Apply the proposed worker lane architecture and phased build plan to ensure a standardized and auditable workflow, as it provides a clear and structured approach to implementing specialist worker lanes under Hermes Kanban orchestration.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Architecture: specialist worker lanes under Hermes Kanban orchestration [1 participants]