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 — refactor(core): remove the subagent notify option by jlongster · Pull Request #63413 · anomalyco/opencode

Conversation

@jlongster

@jlongster jlongster commented Nov 11, 2026 •
edited by opencodejr Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Removes the subagent notify option. Every child session with a parent now reports to it when it goes idle. We decided not to support silencing subagents.

  • Subagent tool: the notify input, its description line and the silent-launch text are gone. Every launch returns the normal background text.
  • SubagentMetadata (the subagent.notify session metadata key, plus stripping it on create and fork) is deleted. Children and forks inherit the parent's metadata as-is.
  • Reports and restart: the silent branches in subagent-report.ts and restart.ts are removed, so a child always reports, including after a follow-up or restart recovery.
  • Old data: sessions saved with metadata["subagent.notify"] = false are simply ignored and report again. No migration.
  • Docs: tools.mdx drops the notify: false sentence.

The subagent tool input has no generated client, SDK or plugin type, so no regeneration was needed.

🚩 Flag: none (refactor).

📊 Proof

  • typecheck:tsc passes in core, server and cli; bun run check passes; the site build passes.
  • Subagent, report, e2e, execution, session-create, job and completion suites: 161 pass. Report and recovery fixtures seeded with subagent.notify: false still report (58 pass).
  • Full packages/core suite: 7092 pass; the only 3 failures are environmental (ShellParse under root, util.flock ×2).
  • rg 'SubagentMetadata|subagent\.notify|withNotify' packages services returns no matches.

Added by the opencode bot (AI-generated).

Public API: removes the subagent tool's notify input and stops honouring subagent.notify session metadata (stale values are ignored, nothing errors)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jlongster
refactor(core): remove the subagent notify option
9411266
User decisions:
- Remove the subagent notify option; every subagent reports to its parent when it goes idle
@github-actions github-actions Bot added the contributor label Nov 11, 2026
opencodejr[bot]
opencodejr Bot reviewed Nov 11, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal looks sound and complete. Searching packages and services for subagent.notify, SubagentMetadata and notify=false finds no subagent-related matches. The report and restart paths now always deliver. The 5 changed core test files pass (129 tests), and typecheck:tsc passes in core and server.

Public API: the built-in subagent tool's input loses the optional notify field, and the subagent.notify session metadata key is no longer honoured. Both are backwards compatible in practice. Tool input decoding drops unknown keys, so a model or plugin wrapper that still sends notify has it ignored without an error. Sessions saved with subagent.notify: false report to their parent again. Nothing changes in the SDK, the HTTP/OpenAPI spec, config, the CLI or events.

No concerns.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jlongster
jlongster merged commit 6d02304 into dev Nov 11, 2026
14 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@jlongster
jlongster deleted the remove-subagent-notify branch November 11, 2026 23:44
@github-actions github-actions Bot mentioned this pull request Nov 12, 2026
📊 AI CLI 工具社区动态日报 2026-11-12 litang9/big_model_radar#691
Open
@Edo771977 Edo771977 mentioned this pull request Nov 12, 2026
chore: merge upstream/dev into the fork Edo771977/opencode#80
Merged
@opencodejr opencodejr Bot mentioned this pull request Nov 12, 2026
fix(core): recover parent wakes after subagent report acknowledgement #63416
Open
3 tasks done
@thisfilipe thisfilipe mentioned this pull request Nov 13, 2026
[FEATURE]: Allow plugin-managed child sessions without completion reports #63786
Closed
1 task done
@opencodejr opencodejr Bot mentioned this pull request Nov 14, 2026
Background subagent reports wake the parent for every hidden/internal agent turn (2.3.0) #63894
Open
@GigAnon GigAnon mentioned this pull request Nov 15, 2026
[FEATURE]: Always-background subagents (2.3.0): please keep a way to run a subagent call as a blocking call #64096
Open
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencodejr opencodejr[bot] opencodejr[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@jlongster
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.