Skip to content

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

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

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

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Caution

Protected files were modified in this change.
This pull request is in request-review mode and requires explicit human scrutiny before merge.

Protected files: README.md

Allow intentional protected-file changes

If this workflow is intended to modify these files, add specific filenames or folder prefixes to safe-outputs.create-pull-request.protected-files.exclude in the workflow Markdown frontmatter. For example, to allow .changeset/*, exclude the folder using .changeset/:

safe-outputs:
  create-pull-request:
    protected-files:
      policy: request-review
      exclude:
        - .changeset/

Keep your existing policy and exclusions. Folder exclusions use path prefixes, not glob patterns, and allow all files beneath that folder, including subfolders. Other protected files still require review. If allowed-files is configured, these paths must also match it. Run gh aw compile after updating the workflow.

Compatibility gap addressed

The Claude→Rig mapping (meta, args→input, agent→call.text/call.json, parallel, pipeline, phase, log, budget, call.workflow, model selection, Anthropic engine) is already covered in skills/rig/claude-workflow-conversion.md and samples 310/320/330/340/401/411. The gap was discoverability: the guide was not linked from README.md, and SKILL.md had no decision-table row for "porting a Claude dynamic workflow", so a model or user searching with Claude terms would not be routed to it.

Why this helps

Adds routing in the two entry points using Claude terms (meta, args, agent(prompt, { schema }), budget, { model: "sonnet" }) and the key translations, including full Claude model IDs with anthropicEngine().

Files changed

  • README.md: new "Explore" link to the conversion guide.
  • skills/rig/SKILL.md: one decision-table row (148 → 149 lines).

Validation

Docs-only change. Verified the relative link target exists. No code, tests, or samples touched.

Remaining intentional differences

Documented in the guide: budget counts agent calls rather than tokens, pipeline stage signature is (previous, item, index), a throwing pipeline stage fails the run, no effort option, no resume journal/worktree isolation, and Rig passes model IDs straight to the engine (no sonnet alias).

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review November 25, 2026 06:22
@pelikhan
pelikhan merged commit 0f0b55a 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 · ~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