Repository navigation
[rig-claude] Improve Claude dynamic-workflow compatibility for rig - #973
Merged
Merged
Conversation
… table Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
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.
Compatibility gap addressed
The "Where to start" table in
claude-workflow-conversion.mdhad no entry for three of the most common Claude dynamic-workflow entry points:parallel(thunks)fan-out. The tool-relevant sample (360) existed but was only listed at the bottom of the page.agent(prompt, { schema })with a JSON Schema literal. The conversion table existed but wasn't routed to.{ model: "sonnet" | "haiku" | "opus" }aliases. Not stated up front that the Anthropic engine passes model ids through untranslated, so"sonnet"is not valid.Why it helps transfer
A model or user that knows Claude workflows now finds the Rig equivalent from the first routing table, using the terms they'd search for (
parallel,schema,sonnet). The model-alias row also prevents the likely mistake of passing"sonnet"straight toanthropicEngine().Files changed
skills/rig/claude-workflow-conversion.md(docs only: 2 new routing rows, 1 row clarified)Validation
Docs-only change: confirmed all linked sample files and the
#schema-conversionanchor exist. Verified inskills/rig/engines/anthropic.tsthat model ids are passed through without alias translation.Remaining intentional differences
Unchanged: no
effort/agentTypeoptions, budget counts agent calls not tokens, pipeline stages take(previous, item, index), and a throwing pipeline stage fails the run rather than yieldingnull.