Fix swarm grok compat with grok CLI 0.2.101#32
Merged
Conversation
9e4daa6 to
e8598d1
Compare
grok 0.2.101 renamed the schema-capable model and trimmed the effort ladder, breaking every /swarm:review grok leg: - Pin GROK_DEFAULT_MODEL to grok-4.5 (grok-build no longer exists; verified drop-in: same envelope/structuredOutput, --single unchanged) - grok's effort ladder is now low|medium|high — the adapter maps xhigh/max down to high (mirror of codex's max→xhigh), so stale callers degrade instead of erroring; the workflow's --max profile sends plain high (grok's ceiling on both profiles) - Rename the fan-out voice label grok-build:full → grok:full and set the balance MODEL_LABEL to grok-4.5 - Doc sweep (READMEs, SKILL.md, blueprint, CLAUDE.md) + knowledge update (verified CLI facts: model id, effort ladders) - swarm 0.4.1 → 0.4.2 (plugin.json + marketplace.json), CHANGELOG entry Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VcgtcycuY5NaMjbqCiJfYw
e8598d1 to
30ad082
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
grok-build→grok-4.5) and dropped themaxeffort tier, breaking every/swarm:reviewgrok leg ("grok failed" on all reviews;--maxprofile errored too)grok-4.5(verified drop-in: identical envelope/structuredOutputshape,--singleunchanged) and cap grok effort athigh--effort xhigh/max→highfor grok, mirroring codex'smax→xhighmapping, so stale callers degrade instead of erroringChanges
scripts/agents.sh—GROK_DEFAULT_MODEL="grok-4.5", effort down-mapping inrun_grok, comment/header sweep (probed version now 0.2.101)workflows/swarm-review.js— grok voice sends plain--effort high(its ceiling on both profiles), labelgrok-build:full→grok:full, balanceMODEL_LABEL→grok-4.5, meta/--maxcommentsskills/review/SKILL.md(--maxdescription),docs/pipeline-blueprint.md,CLAUDE.mdswarm-backend-adapter.md(verified CLI facts: model pin + effort ladders),swarm-review-pipeline.md(--maxprofile)CHANGELOG.md0.4.2 entry; version bump inplugin.json+marketplace.jsonReadiness
maincheck-structure.pygreen (0 errors; 3 pre-existing description-length warnings)Test plan
agents.sh run grok --effort high --prompt-file <fenced prompt>returns schema-enforced{"findings":[...]}, exit 0agents.sh run grok --effort maxsucceeds via the new down-mapping (exit 0)returncontext)/swarm:reviewsmoke run (grok leg verified with the exact command the workflow builds)🤖 Generated with Claude Code
https://claude.ai/code/session_01VcgtcycuY5NaMjbqCiJfYw