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 — [FEATURE]: Allow plugin-managed child sessions without completion reports · Issue #63786 · anomalyco/opencode

[FEATURE]: Allow plugin-managed child sessions without completion reports #63786

New issue
Copy link
New issue
Copy link
Duplicate
Duplicate
[FEATURE]: Allow plugin-managed child sessions without completion reports#63786
Copy link
Labels
area/pluginsPlugins, skills, custom agentstype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

Description

@thisfilipe
thisfilipe
opened on Nov 13, 2026
Issue body actions

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Since OpenCode 2.3.0, linked child sessions automatically report completion to their parents (#63209), including sessions created and managed by plugins.

This affects opencode-auto-approval-plugin: each permission review runs in a child session, but the plugin already awaits and consumes the reviewer's verdict. The parent now receives redundant Auto-Approval-Reviewer finished messages for every review.

Removing parentID is not a viable workaround. It would bring back the problem of reviewer sessions cluttering the top-level conversation list, previously fixed in [plugin PR #51](dyoshikawa/opencode-auto-approval-plugin#51).

Request: Allow plugins to create linked child sessions without automatic completion reports, for example through an optional reportToParent: false setting.

This should preserve the parentID relationship and reviewer transcripts, while keeping completion reports enabled by default for ordinary subagents.

I understand that notify: false was intentionally removed in #63413. This request is specifically about plugin-managed sessions whose results are already consumed by the plugin.

Activity

  1. opencodejr commented on Nov 13, 2026

    @opencodejr
    opencodejrBot
    on Nov 13, 2026
    Contributor
    More actions

    Thanks for the clear write-up, @thisfilipe.

    To restate the request: let a plugin create a child session that keeps its parentID link (so it stays out of the top-level list and keeps its transcript) but doesn't send the automatic completion report to the parent, for example with an opt-in reportToParent: false. Reports would stay on by default for ordinary subagents.

    This follows from #63209, after which a child reports to its parent whenever it goes idle, and #63413, which removed the notify option, so every child session with a parent now reports. In the plugin API I read, I didn't find a hook or a session-create option that would let a plugin suppress these reports. So I can't offer a plugin-side workaround, and this would need a change in core. I've noted for the maintainers that an opt-in flag on session creation, or a hook that runs before a child's report reaches the parent and can drop it, would cover your case.

    A related request:

    • Plugin hook to defer or suppress intermediate subagent failure notifications #57157: asks for a plugin hook to defer or suppress intermediate subagent failure notifications (a narrower case of plugins controlling these reports)

    The maintainers will consider this.

  2. opencodejr
    added
    area/pluginsPlugins, skills, custom agents
    type/featureNew behaviour or an improvement
    version/v2OpenCode 2.x
    on Nov 13, 2026
  3. markerikson commented on Nov 15, 2026

    @markerikson
    markerikson
    on Nov 15, 2026
    More actions

    Would definitely like to see this - the new always-report behavior is essentially a bug and breaks my workflow. As I described in #63894 (comment) , I've been doing manually-triggered handoff docs after I get done interactively driving a subtask session, so that my parent orchestrator session only sees the final results of each child. With this change, the parent is getting woken up on every child turn end, and that's bloating the context. If I'm having a conversation in a child, the parent shouldn't be getting notified every time the child responds!

  4. hhgyu commented on Nov 16, 2026

    @hhgyu
    hhgyu
    on Nov 16, 2026
    More actions

    Another plugin affected, with numbers from 2.3.0 in case they help.

    We run task children and hidden memory workers (fact extraction, reflection) as child sessions created with session.create({ parentID }). The plugin already waits for each child and delivers one completion of its own, so the automatic report is a duplicate.

    Measured on a real 2.3.0 server (mock model): one background task child that started a 40 s background shell and ended its turn produced three parent wakes instead of one:

    • 0.3 s: host <subagent state="running"> after the child's first turn
    • 40 s: host <subagent state="completed"> after the wake turn
    • 40.6 s: the plugin's own completion notice

    The hidden memory workers have no user-facing result at all, yet each run now posts a <subagent> notice and wakes the user's session for an extra turn.

    Removing parentID is not a good workaround for us either. Besides cluttering the session list, the parent link is what makes a child's permission and question prompts show on the parent, and the plugin uses it to tell child sessions from user sessions.

    A per-session opt-out at creation, as proposed here (reportToParent: false), or the hidden-agent / metadata["subagent.notify"] === false gate proposed in #63894, would cover both cases. It matters that the gate runs before the report is recorded, so restart replay does not re-deliver it.

  5. neriousy commented on Nov 26, 2026

    @neriousy
    neriousy
    on Nov 26, 2026
    Member
    More actions

    Closing as a duplicate of #63894, which tracks suppressing automatic completion reports on plugin-managed child sessions while keeping parentID.

  6. neriousy
    closed this as a duplicateof Background subagent reports wake the parent for every hidden/internal agent turn (2.3.0) #63894 on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/pluginsPlugins, skills, custom agentstype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

    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.