Skip to content

workflows/flowcraft: restore current schema compatibility - #6

Merged
idy merged 3 commits into
mainfrom
codex/issue-5-flowcraft-schema
Jul 23, 2026
Merged

workflows/flowcraft: restore current schema compatibility#6
idy merged 3 commits into
mainfrom
codex/issue-5-flowcraft-schema

Conversation

@idy

@idy idy commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

  • restore the three published Flowcraft resources to the current closed GizClaw schema
  • remove unsupported execution, persistence, and inline tool fields while preserving valid later token and voice-alias changes
  • restore direct RuntimeProfile model aliases and valid conversation starters
  • keep the existing v0.2 tag and the Chatroom, Pet, PetDef, provider, and RuntimeProfile example boundaries unchanged

Validation

  • go test ./pkgs/gizclaw/api/apitypes -count=1 in a clean GizClaw worktree at merged #528
  • strict-decode every Raids YAML under workflows/ through apitypes.Resource
  • parse all 1,031 tracked YAML files
  • verify all Workflow model/voice aliases and system Workflow IDs are declared by the example
  • verify the candidate archive has one root and contains all three corrected Flowcraft resources, Chatroom, Pet, RuntimeProfile example, and nine PetDefs
  • git diff --check

The immutable v0.2 tag remains untouched. Publish v0.2.1 from the merged commit after review.

Closes #5

The v0.2 Flowcraft resources retained fields from an older runtime shape that
the current GizClaw declarative Workflow decoder rejects.

- Remove unsupported execution, persistence, and inline tool configuration
- Restore direct RuntimeProfile model aliases and valid conversation starters
- Preserve later token limits and Journey voice alias improvements

Generated with [Codex](https://github.com/openai)
@idy

idy commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@codex

1 similar comment
@idy

idy commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@codex

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 OpenAI PR review

Reviewed commit: 4accc291ea

Model: gpt-5.6-terra

Reasoning effort: medium

Duration: 47s

Input tokens: 184,974

Cached input tokens: 147,858

Cache write tokens: 37,092

Cache hit ratio: 79.9%

Output tokens: 2,212

Reasoning tokens: 1,188

Total tokens: 187,186

One lifecycle regression found.

1 inline finding published.

Comment thread workflows/flowcraft/murder-mystery.yaml

@idy idy left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Review result: no blocking findings

Reviewed exact head 4accc291eabcb7415fe50641493bb62e75e13459 against issue #5 and GizClaw origin/main (20f3282e, including #528).

Confirmed:

  • all 1,031 YAML files parse and all 10 Workflow resources strictly decode with the current generated apitypes;
  • the three repaired Flowcraft resources match the current built-in schema-compatible forms, while preserving the intended v0.2 token and voice-alias changes;
  • a candidate archive built from this head closes successfully against Desktop RuntimeProfile/default, including chatroom, pet-care, the three selected Flowcraft workflows, and their model/voice/resource bindings;
  • git diff --check passes and all live PR checks are green.

I also rechecked the resolved case_solved thread. The removed node depended on schema-invalid inline tools/tool_names, so the published v0.2 resource could not have provided a working notification. Routing directly to write_case_audit matches the schema-compatible v0.1 resource and the current GizClaw built-in workflow. A real external lifecycle event would require the separately defined ToolResource/executor/authorization contract excluded by #5, so I do not consider that a regression in this compatibility fix.

No additional bug found. This PR is ready from my review perspective; publishing immutable v0.2.1 remains the post-merge release step.

@idy

idy commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@codex

@github-actions

Copy link
Copy Markdown

🤖 OpenAI PR review completed with an error

Reason: Fetched pull-request base a622026 does not match requested base e5a1563.

Open the Actions run.

@idy

idy commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@codex

@github-actions

Copy link
Copy Markdown

🤖 OpenAI PR review completed with an error

Reason: The workflow stopped unexpectedly before reporting a more specific reason.

Open the Actions run.

@idy

idy commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@codex

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 OpenAI PR review

Reviewed commit: b30fe39ab8

Reviewed range: a622026ca0..b30fe39ab8

Review mode: full

Session key: repo-1308402561-pr-6-v2

Generation key: 5e27bc436108b890287c303dc8622a61c8892f4b49322109c50ffb9f07ffeb0f

Diff chunks: 1

Model: gpt-5.6-terra

Reasoning effort: medium

Review time: 24s

Input tokens: 168,412

Cached input tokens: 124,115

Cache write tokens: 44,285

Cache hit ratio: 73.7%

Output tokens: 1,687

Reasoning tokens: 1,110

Total tokens: 170,099

Per-chunk and aggregation usage
Turn key Time Input Cached Cache hit Cache write Output Reasoning Total
chunk:1/1:b60e7da89aaabff7a165a5fc758b1b967cf58ae77d7d85923061d0c27a99aa61 17s 80,385 37,774 47.0% 42,605 1,244 904 81,629
aggregate:5e27bc436108b890287c303dc8622a61c8892f4b49322109c50ffb9f07ffeb0f 7s 88,027 86,341 98.1% 1,680 443 206 88,470

One behavior regression found.

1 inline finding published.

Comment thread workflows/flowcraft/journey-guide.yaml
@idy

idy commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@codex

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 OpenAI PR review

Reviewed commit: b30fe39ab8

Reviewed range: a622026ca0..b30fe39ab8

Review mode: reused

Session key: repo-1308402561-pr-6-v2

Generation key: 5e27bc436108b890287c303dc8622a61c8892f4b49322109c50ffb9f07ffeb0f

Diff chunks: 1

Model: gpt-5.6-terra

Reasoning effort: medium

Review time: 24s

Input tokens: 168,412

Cached input tokens: 124,115

Cache write tokens: 44,285

Cache hit ratio: 73.7%

Output tokens: 1,687

Reasoning tokens: 1,110

Total tokens: 170,099

Per-chunk and aggregation usage
Turn key Time Input Cached Cache hit Cache write Output Reasoning Total
chunk:1/1:b60e7da89aaabff7a165a5fc758b1b967cf58ae77d7d85923061d0c27a99aa61 17s 80,385 37,774 47.0% 42,605 1,244 904 81,629
aggregate:5e27bc436108b890287c303dc8622a61c8892f4b49322109c50ffb9f07ffeb0f 7s 88,027 86,341 98.1% 1,680 443 206 88,470

One behavior regression found.

1 inline finding published.

Comment thread workflows/flowcraft/journey-guide.yaml
@idy

idy commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@codex

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 OpenAI PR review

Reviewed commit: 585315c766

Reviewed range: b30fe39ab8..585315c766

Review mode: incremental

Session key: repo-1308402561-pr-6-v2

Generation key: 4a40458e8682a5bc4e13bc3c25b77b20943cb1b2b0291b9031ccc2f7cf53db8f

Diff chunks: 1

Model: gpt-5.6-terra

Reasoning effort: medium

Review time: 7s

Input tokens: 184,761

Cached input tokens: 182,079

Cache write tokens: 2,670

Cache hit ratio: 98.5%

Output tokens: 446

Reasoning tokens: 37

Total tokens: 185,207

Per-chunk and aggregation usage
Turn key Time Input Cached Cache hit Cache write Output Reasoning Total
chunk:1/1:f3fc9982671e7d08e3a06571b07e52f669e5b78a8fc5e429cd6a10b0a72a0caa 4s 91,262 89,233 97.8% 2,023 289 30 91,551
aggregate:4a40458e8682a5bc4e13bc3c25b77b20943cb1b2b0291b9031ccc2f7cf53db8f 3s 93,499 92,846 99.3% 647 157 7 93,656

No actionable findings in this generation.

No actionable findings.

@idy
idy merged commit d52656c into main Jul 23, 2026
3 checks passed
@idy
idy deleted the codex/issue-5-flowcraft-schema branch July 23, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

workflows/flowcraft: Restore current GizClaw schema compatibility

1 participant