feat: Add native dynamic workflows runtime#2343
Open
GGtoms wants to merge 1 commit into
Open
Conversation
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
workflowtool for JavaScript workflow scripts.agent()calls through Reasonix internal subagents instead of spawning external CLI subprocesses.parallel,pipeline,phase,log, dry-run, validate-only, verifier/review/synthesis helpers, concurrency limits, max-agent limits, cancellation, and structured failure kinds./workflowslist/show/attach/use/continue/stop/retry/delete/save/run support, saved workflow completions, busy-state command handling, and richer run diagnostics./modelcommand family and document user-facing CLI controls.Motivation
Large repository audits, multi-module bug hunts, architecture reviews, and refactors need a first-class way to coordinate parallel subagent work. This implements that flow inside Reasonix without relying on a skill layer or starting
reasonix runchild processes.This PR replaces #2324 with a cleaner history: one feature commit rebased onto the current upstream
main.Design Notes
agent()uses Reasonix's internal subagent runner and keeps the existingspawn_subagenttool intact.tool_mode=fullstill flows through the existing Reasonix permission and apply gates.error_kind.agent()andsynthesize()return strings directly, and that parallel concurrency is controlled by workflow tool options or/workflows run --concurrency.Validation
npm run verifysrc/cli/ui/PlanPanel.tsximport-type warningcodex/native-dynamic-workflows.