Skip to content

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

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
rig-claude-compat/2026-08-30-378966e13ac2d3d7
Draft

[rig-claude] Improve Claude dynamic-workflow compatibility for rig#514
github-actions[bot] wants to merge 1 commit into
mainfrom
rig-claude-compat/2026-08-30-378966e13ac2d3d7

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Compatibility gap addressed

The parallel primitive mapping in skills/rig/references/claude-workflow-conversion.md previously recommended Promise.all as the fallback for heterogeneous agent output types. This is misleading: Promise.all bypasses the shared concurrency limiter and skips the null-hole failure model that parallel provides — both of which are semantically important when porting from Claude dynamic workflows.

Why this improves transfer from Claude dynamic workflows to rig

Claude dynamic workflows' parallel(thunks) always runs inside the limiter. A developer who ports to rig and follows the old guidance (use Promise.all) gets silently different behavior: unlimited concurrency and exceptions propagating instead of null holes. The fix makes the cast approach the recommended path and adds an explicit warning about Promise.all.

Files changed

  • skills/rig/references/claude-workflow-conversion.md — updated the parallel(thunks) row in the primitive mapping table

Validation

Docs-only change; no code was modified. No additional validation beyond reviewing the edited file for broken links (none found).

Remaining intentional differences

All existing intentional differences documented in the file are preserved. No new differences introduced.

Generated by Daily Rig Claude Dynamic Workflow Compatibility · sonnet46 108.1 AIC · ⌖ 7.92 AIC · ⊞ 5.4K ·

Promise.all bypasses the shared concurrency limiter, which breaks the
Claude dynamic-workflow porting contract. Update the primitive mapping to
make the cast approach primary and warn against Promise.all in workflow
bodies.

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