docs: Hermes × Ralph executor — C+D integration design sketch - #2
Open
johnkattenhorn wants to merge 1 commit into
Open
docs: Hermes × Ralph executor — C+D integration design sketch#2johnkattenhorn wants to merge 1 commit into
johnkattenhorn wants to merge 1 commit into
Conversation
Design sketch for using bmalph's Ralph loop as the execution engine behind Hermes's Kanban DAG orchestrator (the "best of both worlds"): - C: Hermes dispatches a single-story Ralph loop per claimed card; Ralph is a stateless per-card executor (ephemeral one-item @fix_plan), so there is no second board to keep in sync. - D: "done" means a captured machine-checked gate (exit 0) in kanban_complete, not a prose assertion — fixes confident over-claiming, model-independently. - E: Hermes's dynamic per-story DAG scheduling replaces the static epic swarm. Builds on the LIVE_OUTPUT streaming + worker-tree reaping from #1. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
A design sketch (not yet implemented) for combining Hermes's Kanban DAG orchestrator with bmalph's Ralph execution loop — the "best of both worlds" discussed in our evaluation.
Core idea: Hermes is the control plane (durable DAG, dynamic dependency-aware scheduling, fleet observability); a Ralph loop running the Claude Code driver is the execution engine; "done" is defined by a captured gate.
@fix_plan. Ralph holds no board state → no second source of truth to sync (avoids the "emit events to a board" sticking-plaster).kanban_completeis only accepted with gate evidence (exit_code === 0) — fixes confident over-claiming, independent of model.--swarm.Includes contracts/interfaces, a phased plan, cost note (Opus + 1M context at flat cost via Claude Code/Max), and open questions. Builds on the
LIVE_OUTPUTstreaming + worker-tree reaping in #1.🤖 Generated with Claude Code