Skip to content

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

Merged
pelikhan merged 1 commit into
mainfrom
rig-claude-compat/2026-08-01-63196b51871a1fea
Aug 1, 2026
Merged

[rig-claude] Improve Claude dynamic-workflow compatibility for rig#328
pelikhan merged 1 commit into
mainfrom
rig-claude-compat/2026-08-01-63196b51871a1fea

Conversation

@github-actions

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

Copy link
Copy Markdown
Contributor

Compatibility gap addressed

The schema conversion table in skills/rig/references/claude-workflow-conversion.md was missing two common JSON Schema types that Claude dynamic-workflow users frequently encounter when porting schemas:

  • { type: "number" }s.number (and with description)
  • { type: "string", const: "done" }s.literal("done")

Every other scalar type (string, integer, boolean, enum, array, object, anyOf/null, optional) was already in the table. The gap meant a user converting a schema with a numeric field or a const-string field had to infer the mapping themselves.

Why this improves transfer

Claude dynamic workflows routinely use { type: "number" } for scores, confidence values, and measurements, and const for discriminant fields in tagged unions. Without the table rows, a user porting a schema must search agent-api.md or rig.ts to discover s.number and s.literal. With the rows, the conversion is fully mechanical within the reference file.

Files changed

  • skills/rig/references/claude-workflow-conversion.md — added 3 table rows (number, number+description, const/literal)

Validation

Only docs changed; no typecheck or test run required per project rules. Links verified — no references modified.

Remaining intentional differences

  • { effort: "high" } has no rig equivalent (not modeled).
  • agentType: "Explore" has no built-in read-only agent type.
  • No resume journal, worktree isolation, or human checkpoints.

These are documented in the Behavior differences section of the same file.

Generated by Daily Rig Claude Dynamic Workflow Compatibility · sonnet46 65.5 AIC · ⌖ 7.91 AIC · ⊞ 5.4K ·

…on table

The schema conversion table in claude-workflow-conversion.md was missing
{ type: "number" } → s.number and { type: "string", const } → s.literal.
Both are common JSON Schema patterns in Claude dynamic workflows. Adding
them makes the mechanical schema port fully covered by the table.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review August 1, 2026 20:08
@pelikhan
pelikhan merged commit 9aa1303 into main Aug 1, 2026
1 check passed
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review 🧠

Applied /codebase-design and /grill-with-docs — no blocking issues found.

3 table rows added filling a real gap in the schema conversion reference. s.number and s.literal are valid helpers, placement is logical, no links broken.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · sonnet46 15.9 AIC · ⌖ 4 AIC · ⊞ 6.3K
Comment /matt to run again

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