fix(loop-init): replace retired claude-sonnet-4 identifier in foundry stack - #505
Open
scemii wants to merge 1 commit into
Open
fix(loop-init): replace retired claude-sonnet-4 identifier in foundry stack#505scemii wants to merge 1 commit into
scemii wants to merge 1 commit into
Conversation
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
loop-init --with-foundryscaffolds an implementer stack pinned toclaude-sonnet-4-20250514, which Anthropic retired on the Claude API on 15 June 2026. The generatedstack.yamltherefore fails on first run. This swaps it for the replacement Anthropic lists for that model,claude-sonnet-4-6.Changes
tools/loop-init)One line in
tools/loop-init/src/cli.ts, infoundryStackYaml()'smodel/anthropicinterface layer. Nothing else touched.Note on
dist/tools/loop-init/dist/cli.jsis committed and holds the same string, but it is build output fromnpm run build. I left it untouched rather than hand-editing generated code — it will pick this up on the next build.Checklist
node tools/loop-audit/dist/cli.js .— could not run, see belowTesting
Clean clone, isolated environment:
tsc --noEmit: cleanThe single failure is pre-existing and unrelated:
loop-init prints Loop Ready score after scaffold.npm ciintools/loop-initcannot resolve@cobusgreyling/loop-audit@^1.8.0— npm currently publishes up to 1.7.0 — so that test has no audit binary to call, and for the same reason I could not tick the loop-audit checklist item. I ran the suite with TypeScript installed out-of-tree to work around the install failure. That version pin may be worth a separate look.On sampling parameters: the generated stack sets no
temperature, and Sonnet 4.6 sits below the Opus 4.7 threshold where non-defaulttemperature/top_p/top_kare rejected. So this is a plain identifier swap with no change to the request shape.