Summary
PR #1239 removed the data-qa agent and added a safe migration: a persisted default_agent: "data-qa" now falls back to analyst instead of throwing (verified on main, agent.ts::defaultInfo(), with regression tests). The fallback behavior is correct and tested. This issue tracks the UX polish flagged by two review threads on #1239 that were not blocking and merged open.
The gap
The migration's "one-time warning" is effectively invisible to a normal user:
- The warning is emitted via the fork's
Log shim (src/altimate/util/log.ts), whose shouldLog gates on printEnabled() — output only appears when OPENCODE_PRINT_LOGS / ALTIMATE_PRINT_LOGS is explicitly set. That is off by default for normal CLI runs and deliberately off for the in-process TUI server.
- So an upgrading user whose config sets
default_agent: "data-qa" is silently rerouted to analyst with nothing telling them their configured agent changed.
- The on-disk config is never rewritten, so the substitution recurs on every start — it is not, from the user's perspective, a true one-time notice.
Suggested fix (either or both)
- Surface the notice through a channel that reaches interactive sessions (a session/toast notification), not the print-gated stderr logger.
- And/or persist the migrated value back into config so the substitution happens once and the config becomes self-consistent.
Severity
UX polish on an already-safe fallback — not a functional regression. The user is correctly routed; they're just not told. Low priority.
Source: review threads on #1239 (agent.ts:618/619, chatgpt-codex-connector P2 + cubic-dev-ai P3).
Summary
PR #1239 removed the
data-qaagent and added a safe migration: a persisteddefault_agent: "data-qa"now falls back toanalystinstead of throwing (verified onmain,agent.ts::defaultInfo(), with regression tests). The fallback behavior is correct and tested. This issue tracks the UX polish flagged by two review threads on #1239 that were not blocking and merged open.The gap
The migration's "one-time warning" is effectively invisible to a normal user:
Logshim (src/altimate/util/log.ts), whoseshouldLoggates onprintEnabled()— output only appears whenOPENCODE_PRINT_LOGS/ALTIMATE_PRINT_LOGSis explicitly set. That is off by default for normal CLI runs and deliberately off for the in-process TUI server.default_agent: "data-qa"is silently rerouted toanalystwith nothing telling them their configured agent changed.Suggested fix (either or both)
Severity
UX polish on an already-safe fallback — not a functional regression. The user is correctly routed; they're just not told. Low priority.
Source: review threads on #1239 (
agent.ts:618/619, chatgpt-codex-connector P2 + cubic-dev-ai P3).