Skip to content

fix(scaffold): point opencode init at live OpenRouter list, drop dead slug#70

Merged
vessux merged 1 commit into
mainfrom
fix/openlock-1kt-dead-openrouter-slug
Jun 17, 2026
Merged

fix(scaffold): point opencode init at live OpenRouter list, drop dead slug#70
vessux merged 1 commit into
mainfrom
fix/openlock-1kt-dead-openrouter-slug

Conversation

@vessux

@vessux vessux commented Jun 17, 2026

Copy link
Copy Markdown
Owner

What

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 — OpenRouter itself suggests nvidia/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 opencode user copies a model that no longer exists.

Change

  • Genericize the comment to point at the live filtered list (https://openrouter.ai/models?max_price=0), which never rots.
  • Bump the example to the current slug with a "verify it's still listed" caveat.
  • Update the scaffold test to assert on the durable guidance (the models URL + small_model note + 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.

… 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
@vessux vessux merged commit c765a34 into main Jun 17, 2026
5 checks passed
@vessux vessux deleted the fix/openlock-1kt-dead-openrouter-slug branch June 17, 2026 11:30
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.

1 participant