Skip to content

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

Merged
pelikhan merged 1 commit into
mainfrom
rig-claude-compat/2026-11-25-93125d4171004c2d
Nov 25, 2026
Merged

pelikhan merged 1 commit into
mainfrom
rig-claude-compat/2026-11-25-93125d4171004c2d

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Compatibility gap addressed

Model selection was the weakest part of the Claude→Rig mapping. The docs used claude-haiku-3-5 (a retired/legacy id), and the tier table didn't show the short aliases (haiku/sonnet/opus) that Claude dynamic-workflow scripts actually use. Rig passes model ids straight to the engine without alias resolution, so users needed an explicit alias→id map.

Why this helps transfer

  • The model table now maps { model: "haiku" | "sonnet" | "opus" } to the full Claude ids to pass with anthropicEngine(), making the { model } row of the primitive mapping actionable.
  • Haiku tier updated to claude-haiku-4-5, matching the Sonnet/Opus 4.5 generation already in the docs.

Files changed

  • skills/rig/claude-workflow-conversion.md
  • skills/rig/dynamic-workflows.md
  • skills/rig/samples/411-anthropic-engine-workflow.md

Validation

  • npm run sample -- --testNamePattern="skill markdown samples typecheck" — passed
  • npm run sample:check — passed
  • No API/runtime changes.

Remaining intentional differences

Rig does not resolve short aliases (sonnet) to Claude ids; effort, agentType, resume journal, and token-based budgets remain unsupported (already documented in the conversion guide).

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

…aliases

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

github-actions Bot commented Nov 25, 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 · ~4 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