Skip to content

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

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
rig-claude-compat/2026-12-01-65427b3ae129586b
Draft

github-actions[bot] wants to merge 1 commit into
mainfrom
rig-claude-compat/2026-12-01-65427b3ae129586b

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Compatibility gap addressed

In a Claude dynamic workflow, agent(prompt) without model runs on the session's Claude model. In Rig, an agent() or call.text/call.json without model sends "small" to the engine. anthropicEngine() forwards that id unchanged and Anthropic rejects it, so call returns null. The conversion docs didn't mention this, and it's the most likely first failure for a ported script.

Why this helps transfer

  • The agent(prompt) row of the primitive mapping now warns about the "small" default.
  • A new "Model defaults on Claude" section shows how to pin a Sonnet id once and spread it into call options.
  • "Behavior differences" gains a "No default Claude model" bullet.
  • Sample 411 now says every call names a Claude model.

Files changed

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

Validation

npm run sample -- --testNamePattern="skill markdown samples typecheck" passes. Docs and sample prose only; no API changes.

Remaining intentional differences

  • No session-level default model.
  • No effort option.
  • "sonnet"/"haiku"/"opus" aliases are not translated.
  • budget counts agent calls, not tokens.
  • The pipeline stage signature differs: Rig passes (previous, item, index), Claude passes (item, index).

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

0 participants