feat: add ralph fleet command to run multiple ralphs in parallel#32
Closed
malpou wants to merge 4 commits into
Closed
feat: add ralph fleet command to run multiple ralphs in parallel#32malpou wants to merge 4 commits into
malpou wants to merge 4 commits into
Conversation
Discovers all subdirectories containing RALPH.md files under the given path and runs them concurrently using RunManager. Ctrl+C gracefully stops all running ralphs. Co-authored-by: Ralphify <noreply@ralphify.co>
When multiple runs are active (fleet mode), ConsoleEmitter now prefixes each output line with [ralph_name] so users can distinguish which ralph produced which output. The live spinner is disabled in multi-run mode to avoid conflicts between concurrent Live displays. Co-authored-by: Ralphify <noreply@ralphify.co>
Co-authored-by: Ralphify <noreply@ralphify.co>
Document the fleet command options, directory layout, and behavior. Update the codebase map with fleet command architecture flow. Co-authored-by: Ralphify <noreply@ralphify.co>
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
ralph fleet <dir>command that discovers all subdirectories containingRALPH.mdfiles and runs them concurrently usingRunManagerChanges
src/ralphify/cli.py— newfleetcommand with_discover_ralphs()helpersrc/ralphify/_console_emitter.py— ralph name prefix in multi-run modetests/test_cli.py— tests for fleet discovery, validation errors, and concurrent executiondocs/cli.md— CLI reference for the fleet commanddocs/contributing/codebase-map.md— updated architecture diagram and module descriptionsTest plan
mkdocs build --strictpasses with zero warnings