GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Background subagent completion flips active TUI model without viewing child session · Issue #47526 · anomalyco/opencode

Background subagent completion flips active TUI model without viewing child session #47526

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Background subagent completion flips active TUI model without viewing child session#47526
Copy link
Assignees
kommander

Description

@SK-DEV-AI
SK-DEV-AI
opened on Sep 5, 2026
Issue body actions

Background subagent completion changes the active TUI model without opening the child session.

Repro:

  1. Open a TUI parent session on opencode/muse-spark-1.3-contributor-free, variant xhigh.
  2. Launch a background general subagent on opencode/mimo-v2.5-free.
  3. Do not open the child session view.
  4. Wait for the background completion notice, then check the TUI footer before opening anything.

Expected:
Parent stays on muse-spark-1.3-contributor-free.

Actual:
Active TUI model flips to mimo-v2.5-free.

Stored rows after the flip:

  • parent ses_10a529466ffekP3eyrKuFbDs4t: build, {"id":"muse-spark-1.3-contributor-free","providerID":"opencode","variant":"xhigh"}
  • child ses_f8d6a7bcfffefDiTWqKnKiNMIU: general, {"id":"mimo-v2.5-free","providerID":"opencode","variant":"default"}

So the persisted parent session keeps the right model; the live TUI selection follows the finished background child.

Related:

  • Primary agent model switches to subagent model after returning to session #8946 / fix: keep primary model after subagent runs #8951 fixed the navigate-back variant by keeping model/variant updates inside the primary-agent guard.
  • This is the background-completion variant: no child navigation happened before the flip.

Environment:

  • opencode 1.18.25 TUI
  • Latest release at report time: v1.18.29
  • Linux, local config with explicit agent.build and subagent models.

Activity

  1. github-actions
    assigned
    kommander
    on Sep 5, 2026
  2. github-actions commented on Sep 5, 2026

    @github-actions
    github-actionsBot
    on Sep 5, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Background subagent notification silently reverts manually-selected model to config default #38770: Background subagent notification silently reverts manually-selected model to config default — very similar symptom (background subagent completion causing TUI model to change unexpectedly), though you note the trigger here is background completion without any child navigation, which may be a distinct code path.
  3. thdxr commented on Oct 11, 2026

    @thdxr
    thdxr
    on Oct 11, 2026
    Member
    More actions

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

  4. thdxr
    closed this as not plannedon Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kommander
    kommander

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.