GeezerVison is showing github.com — refactor(core): remove the subagent notify option by jlongster · Pull Request #63413 · anomalyco/opencode
Conversation
jlongster
commented
Nov 11, 2026
•
edited by opencodejr
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
User decisions:
- Remove the subagent notify option; every subagent reports to its parent when it goes idle
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|