fix(scaffold): point opencode init at live OpenRouter list, drop dead slug#70
Merged
Merged
Conversation
… slug The `openlock init --harness opencode` scaffold commented a now-dead OpenRouter free-model slug (`nvidia/nemotron-3-super:free`, 404s as of 2026-06-11). Free models rotate, so pinning a slug rots. Genericize the guidance to point at the live filtered list (https://openrouter.ai/models?max_price=0), bump the example to the current slug (`nvidia/nemotron-3-super-120b-a12b:free`) with a "verify it's still listed" caveat, and assert the test on the durable guidance rather than a rot-prone slug. openlock-1kt
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.
What
The
openlock init --harness opencodescaffold commented a now-dead OpenRouter free-model slugnvidia/nemotron-3-super:free(404s as of 2026-06-11 — OpenRouter itself suggestsnvidia/nemotron-3-super-120b-a12b:free).Why
Free models rotate on OpenRouter, so pinning any single slug in the scaffold rots over time. This is a golden-path papercut: a new
opencodeuser copies a model that no longer exists.Change
https://openrouter.ai/models?max_price=0), which never rots.small_modelnote + tool-use requirement) instead of a rot-prone slug — so the test doesn't rot the next time a free model disappears.Comment-only scaffold output; no behavior change. Per project policy, CHANGELOG is untouched (aggregated at release time).
Verification
bun run lint✓bun run typecheck✓bun test ./src/ ./tests/✓ (0 fail)bun run knip✓Resolves bd openlock-1kt.