Conversation
10 tasks
dfef5a9 to
3d5df32
Compare
8def03d to
a27a06c
Compare
PerezIgnacio
reviewed
Mar 2, 2026
2df0282 to
dbd1e1f
Compare
Phase 4 of the Mars v2 refactor. - Gate: add class-level `condition`/`branch` DSL for reusable gates. Gate#run now executes the matched branch directly instead of returning a Runnable for Sequential to detect - Aggregator: context-aware — accepts ExecutionContext and passes its outputs to the operation - Sequential: remove is_a?(Runnable) check, now just chains step results Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
a27a06c to
51c6542
Compare
eedef3a to
0985e93
Compare
andresg4
approved these changes
Mar 4, 2026
andresg4
approved these changes
Mar 5, 2026
santib
added a commit
that referenced
this pull request
Mar 6, 2026
* Gate executes branches directly + class-level DSL Phase 4 of the Mars v2 refactor. - Gate: add class-level `condition`/`branch` DSL for reusable gates. Gate#run now executes the matched branch directly instead of returning a Runnable for Sequential to detect - Aggregator: context-aware — accepts ExecutionContext and passes its outputs to the operation - Sequential: remove is_a?(Runnable) check, now just chains step results Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Address review comments * Fix linters * Change Halt behavior --------- Co-authored-by: Claude Opus 4.6 <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.
Summary
condition/branchrouter withcheck/fallbackguard model. Check returns falsy to pass through, or a key to select a fallback branch and haltHaltnow carries ascope(:localdefault,:global). Local halts are consumed by the immediate parent workflow; global halts propagate to the rootcheck,fallback, andhalt_scopeclass-level macros. Supports both DSL and constructor-based configurationTest plan
check/fallback/halt_scopemacros🤖 Generated with Claude Code