Skip to content

ci(bonk): update Bonk review routing#1120

Open
NathanDrake2406 wants to merge 7 commits into
cloudflare:mainfrom
NathanDrake2406:nathan/update-bonk-gpt-55-xhigh
Open

ci(bonk): update Bonk review routing#1120
NathanDrake2406 wants to merge 7 commits into
cloudflare:mainfrom
NathanDrake2406:nathan/update-bonk-gpt-55-xhigh

Conversation

@NathanDrake2406
Copy link
Copy Markdown
Contributor

@NathanDrake2406 NathanDrake2406 commented May 7, 2026

What this changes

Updates the review workflow routing:

  • Bonk (/bonk, @ask-bonk) uses GPT-5.5 xhigh through Cloudflare AI Gateway and the reviewer agent.
  • BigBonk (/bigbonk) uses Claude Opus 4.6 max through Cloudflare AI Gateway and the viguy agent.
  • Agent defaults use normal OpenCode model ids: reviewer defaults to openai/gpt-5.5, viguy defaults to anthropic/claude-opus-4-6, and both use temperature: 0.2.
  • Both workflows pin opencode_version to 1.14.40.

Why

The intended split is regular Bonk on GPT-5.5 xhigh with the reviewer agent, and BigBonk on Opus 4.6 max with the viguy agent.

The workflow model inputs keep Cloudflare AI Gateway-prefixed ids because the GitHub action provides AI Gateway credentials. The agent frontmatter uses direct OpenCode provider/model ids, matching upstream's original agent format.

The OpenCode bump includes the cf-ai-gateway reasoning propagation fix from anomalyco/opencode#25573: anomalyco/opencode#25573

Validation

  • Parsed .github/workflows/bonk.yml and .github/workflows/bigbonk.yml with Ruby YAML.
  • Confirmed the final mapping with rg: Bonk = cloudflare-ai-gateway/openai/gpt-5.5, variant: xhigh, agent: reviewer; BigBonk = cloudflare-ai-gateway/anthropic/claude-opus-4-6, variant: max, agent: viguy.
  • Confirmed agent defaults: reviewer.md = openai/gpt-5.5, viguy.md = anthropic/claude-opus-4-6, both at temperature: 0.2.
  • Confirmed ask-bonk passes MODEL, AGENT, and VARIANT into opencode github run, and that OpenCode documents CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_GATEWAY_ID, and CLOUDFLARE_API_TOKEN as the Cloudflare AI Gateway env vars.
  • Smoke-tested opencode-ai@1.14.40 run -m cloudflare-ai-gateway/openai/gpt-5.5 --variant xhigh with fake gateway credentials. OpenCode completed provider init, selected modelID=openai/gpt-5.5, and failed only at expected AI Gateway auth.
  • Smoke-tested opencode-ai@1.14.40 run -m cloudflare-ai-gateway/anthropic/claude-opus-4-6 with fake gateway credentials. OpenCode completed provider init, selected modelID=anthropic/claude-opus-4-6, and failed only at expected AI Gateway auth.
  • Smoke-tested direct agent-default model forms: openai/gpt-5.5 works locally; opencode/gpt-5.5 does not. Upstream originally used anthropic/claude-opus-4-6 in agent frontmatter.

Risks / follow-ups

Full vp check was not usable in this local checkout because it traversed the local .refs/astro reference clone and Vite+ panicked while printing output. The staged-file hook also fails on this YAML/Markdown-only diff with No files found to lint, so commits were made with hooks bypassed after the focused checks above.

I could not perform a real upstream AI Gateway completion locally because this shell does not have valid Cloudflare AI Gateway credentials. The smoke tests cover the previous failure classes before that boundary: provider initialization and model/variant routing.

Bonk and BigBonk still routed review runs to Claude Opus 4.6 with the max variant. That leaves review commands and local opencode review agents on the old Anthropic model instead of the intended OpenAI xhigh setup.

The workflows now route through Cloudflare AI Gateway to openai/gpt-5.5, request the xhigh variant, and pin opencode to 1.14.40 so the cf-ai-gateway reasoning_effort propagation fix from anomalyco/opencode#25573 is present. The viguy and reviewer agent frontmatter plus contributor docs now describe the same GPT-5.5 review setup.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 7, 2026

Open in StackBlitz

npm i https://pkg.pr.new/vinext@1120

commit: b8e609a

The review model update should split regular Bonk and BigBonk. Regular Bonk is meant to use Claude Opus 4.7, while BigBonk should use GPT-5.5 with xhigh reasoning.

Point the /bonk workflow back to the Anthropic Opus 4.7 model through Cloudflare AI Gateway and keep its max variant. Leave /bigbonk on GPT-5.5 xhigh, and update contributor docs to describe the two review paths.
@NathanDrake2406 NathanDrake2406 changed the title ci(bonk): switch reviews to GPT-5.5 xhigh ci(bonk): update Bonk review models May 7, 2026
The requested review model split is regular Bonk on GPT-5.5 xhigh and BigBonk on Claude Opus 4.6 max.

Update only the Bonk workflow model and variant inputs. Leave the local opencode agent frontmatter and contributor docs unchanged from the existing PR branch.
Bonk should run GPT-5.5 xhigh through the reviewer agent, while BigBonk keeps the viguy agent on Claude Opus 4.6 max.

Route the Bonk workflow to the reviewer agent, set viguy's default model to Claude Opus 4.6, and use the same 0.2 temperature for both opencode agent definitions.
@NathanDrake2406 NathanDrake2406 changed the title ci(bonk): update Bonk review models ci(bonk): update Bonk review routing May 7, 2026
OpenCode agent frontmatter should use the normal provider/model ids. The workflow inputs still need Cloudflare AI Gateway-prefixed model ids because the GitHub action routes through AI Gateway credentials.

Set viguy back to anthropic/claude-opus-4-6 and reviewer to openai/gpt-5.5 while leaving the Bonk and BigBonk workflow model overrides unchanged.
@james-elicx
Copy link
Copy Markdown
Collaborator

/bigbonk review

Copy link
Copy Markdown
Contributor

@ask-bonk ask-bonk Bot left a comment

Choose a reason for hiding this comment

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

The workflow files look correct and internally consistent. The version bump and model/agent routing changes in bonk.yml, bigbonk.yml, and reviewer.md all line up.

However, CONTRIBUTING.md has the model names swapped and references a model that doesn't exist in any workflow.

Comment thread CONTRIBUTING.md Outdated
Comment thread CONTRIBUTING.md Outdated
@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk Bot commented May 8, 2026

Review posted. Here's the summary:

The workflow files (bonk.yml, bigbonk.yml) and the agent config (reviewer.md) are all correct and consistent with each other. The version bump to 1.14.40, the model/agent/variant routing, and the temperature change all look fine.

One blocking issue: CONTRIBUTING.md has the model names swapped between BigBonk and Bonk, and references "Claude Opus 4.7" which doesn't exist in any workflow file. The actual mapping is:

  • BigBonk = Claude Opus 4.6, max, viguy
  • Bonk = GPT-5.5, xhigh, reviewer

Both lines 7 and 18 of CONTRIBUTING.md need to be corrected. I posted suggestions with the fix.

github run

NathanDrake2406 and others added 2 commits May 9, 2026 09:55
Co-authored-by: ask-bonk[bot] <249159057+ask-bonk[bot]@users.noreply.github.com>
Co-authored-by: ask-bonk[bot] <249159057+ask-bonk[bot]@users.noreply.github.com>
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.

2 participants