Skip to content

[rig-claude] Improve Claude dynamic-workflow compatibility for rig - #973

Merged
pelikhan merged 1 commit into
mainfrom
rig-claude-compat/2026-11-27-0f00246bec3c6590
Nov 27, 2026
Merged

pelikhan merged 1 commit into
mainfrom
rig-claude-compat/2026-11-27-0f00246bec3c6590

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Compatibility gap addressed

The "Where to start" table in claude-workflow-conversion.md had 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 to anthropicEngine().

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-conversion anchor exist. Verified in skills/rig/engines/anthropic.ts that model ids are passed through without alias translation.

Remaining intentional differences

Unchanged: no effort/agentType options, budget counts agent calls not tokens, pipeline stages take (previous, item, index), and a throwing pipeline stage fails the run rather than yielding null.

Generated by Daily Rig Claude Dynamic Workflow Compatibility · copilot · routed: sonnet55 high · ~42 AIC · ⌖ ~1 AIC · ⊞ 3.5K · history

… table

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review November 27, 2026 15:18
@pelikhan
pelikhan merged commit f541997 into main Nov 27, 2026
1 check passed
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor Author

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~3 AIC · ⌖ ~2 AIC · ⊞ 5.8K · history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant