$ lexprog.com

// notes from an old coder -- php, databases, and the occasional rant

[October 20, 2026] OpenCode

Pin the model id: in CI

Set an explicit model so a provider alias cannot rewrite the team overnight. Use the headless entrypoint and fail the job on a non-zero exit.

────────────────────────────────────────────────────────

Pin the model id: in CI

Tip: latest is not a contract

Set an explicit model so a provider alias cannot rewrite the team overnight. Use the headless entrypoint and fail the job on a non-zero exit.

{ "model": "anthropic/claude-sonnet-4-6" }

Gotcha: Leaving model unset (in ci)

Each developer then hits a different default and reviews become model-vs-model. The TUI will hang with no TTY; never pipe yes into permission prompts.

{ "provider": "anthropic" }

Source: https://opencode.ai/docs/providers

────────────────────────────────────────────────────────
<-- back to posts