Session bootstrap used ctx.model (from settings.json defaultProvider/defaultModel) as the autoModeStartModel snapshot. When settings.json had a stale provider (e.g. claude-code) but PREFERENCES.md was fully configured for openai-codex, sessions would start with the wrong provider and fail with auth errors. Add resolveDefaultSessionModel() to preferences-models.ts which extracts the default model from GSD preferences (execution → planning → first configured). In auto-start.ts, the preferred model now takes priority over ctx.model when building startModelSnapshot, so PREFERENCES.md always wins over stale settings. |
||
|---|---|---|
| .. | ||
| agents | ||
| extensions | ||
| skills | ||
| GSD-WORKFLOW.md | ||