Skip to content

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

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

[rig-claude] Improve Claude dynamic-workflow compatibility for rig#476
github-actions[bot] wants to merge 1 commit into
mainfrom
rig-claude-compat/2026-08-23-ce35bb3ac55451dd

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Compatibility gap addressed

The schema conversion table in skills/rig/references/claude-workflow-conversion.md was missing two entries that a Claude dynamic-workflow user would frequently encounter when porting schemas:

  1. s.record(X) for additionalProperties: X — Claude dynamic workflows commonly return count maps, label→value maps, and other open-ended string-keyed objects using the { type: "object", additionalProperties: X } JSON Schema pattern. There was no row for this in the table, leaving porters to discover s.record on their own.

  2. s.int("d") for { type: "integer", description: "d" } — The table already had s.string("d") and s.number("d") but not s.int("d"). The inconsistency would confuse someone scanning the table top-to-bottom.

Why this improves transfer

The schema conversion table is the first reference a Claude dynamic-workflow user consults when they hit a type they can't map. Missing s.record caused a dead-end for anyone porting a workflow whose output used additionalProperties (e.g. extCounts: { type: "object", additionalProperties: { type: "integer" } }). Adding the row plus an explanatory note makes the mapping mechanical and obviates a separate search through the API docs.

Files changed

  • skills/rig/references/claude-workflow-conversion.md — added s.record(X) row and updated the prose note; added s.int("d") row for consistency

Validation run

Docs-only change; no code or samples modified. No extra validation required beyond reviewing the edited file for correct links and content.

Remaining intentional differences

None introduced. All existing intentional differences (failure holes, pipeline stage signature, budget units, no sandbox restrictions, no resume journal) remain documented in the "Behavior differences" section.

Generated by Daily Rig Claude Dynamic Workflow Compatibility · sonnet46 70.5 AIC · ⌖ 8.03 AIC · ⊞ 5.4K ·

Add missing s.record(X) row for JSON Schema additionalProperties: X
patterns -- common in real Claude dynamic workflows that output count maps,
label->value maps, and similar open-ended string-keyed objects.

Also add s.int("d") to match the s.string("d") and s.number("d")
pattern already in the table; omitting it was inconsistent.

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