Repository navigation
[rig-claude] Improve Claude dynamic-workflow compatibility for rig - #927
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
This was referenced Nov 25, 2026
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
Every Claude-port sample (310, 320, 330, 340, 401, 411) ends with a "See claude-workflow-conversion.md" pointer, and 330 also points to dynamic-workflows.md. All seven links used
../references/..., a directory that doesn't exist. The docs live inskills/rig/, so the links were dead.Why this helps transfer
The conversion reference holds the primitive mapping, the schema table, and the behavior differences. A Claude dynamic-workflow user who starts from a sample now reaches it in one click. That includes the Anthropic engine and Claude model-ID anchor in sample 411.
I checked that each Claude concept already has a documented home:
meta,args→input,agent→call.text/call.json,parallel,pipeline,phase,log,budget,call.workflow, and model selection. No API gap was strong enough to justify a code change.Files changed
skills/rig/samples/: 310-workflow-audit-verify.md, 320-budget-aware-crawler.md, 330-nested-workflow-composition.md, 340-flat-workflow-port.md, 401-multi-stage-pipeline-workflow.md, 411-anthropic-engine-workflow.md. Each change is a link-path fix only.Validation
npm run sample:check: 703 samples checked, no problems.npm run sample -- --testNamePattern="skill markdown samples typecheck": passed.Remaining intentional differences
These are already documented in
claude-workflow-conversion.md:budgetcounts agent calls, not tokens.pipelinestage that throws fails the run.(prev, item, index).effortoption.sonnetalias.