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 — docs(specs): document tool.execute.after subagent behavior and propose bus delivery by semanticRig · Pull Request #41305 · anomalyco/opencode

Conversation

@semanticRig

@semanticRig semanticRig commented Aug 8, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Issue for this PR

See #41304

Type of change

  • Documentation

What does this PR do?

One spec file at specs/subagent-messaging.md.

Documents that tool.execute.after fires for subagent sessions, proposes a typed hook contract, and suggests adding bus to the SessionDelivery types alongside steer and queue.

No code changes. The hook behavior already exists. The maildir transport (reference impl at semanticRig/cross-session-agent-messaging) stays external.

Related to the session messaging PRs #38944 and #38943.

How did you verify?

Tested on OpenCode 1.18.15 with a probe plugin confirming tool.execute.after fires for subagents. Reference implementation handles 10 parallel subagents. Spec change is docs-only, matches specs/project.md format.

Checklist

  • Tested locally
  • No unrelated changes

Sorry, something went wrong.

Uh oh!

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

All reactions
@cloakedbyte
document the tool.execute.after subagent behavior and propose bus del…
3fe707e
…ivery

the hook already fires for subagents but the contract is undocumented
and the payload shape is not versioned. this spec documents what exists,
proposes a typed contract, and extends session-delivery with a bus variant
so cross-session messaging can build on a stable interface.

the reference implementation at semanticRig/cross-session-agent-messaging
proves the mechanism works. the maildir transport stays external. the core
change is making the hook contract explicit.

see anomalyco#41304
@github-actions github-actions Bot added needs:title needs:compliance This means the issue will auto-close after 2 hours. labels Aug 8, 2026
@semanticRig semanticRig mentioned this pull request Aug 8, 2026
plugin hooks fire for subagents, so you can correct them mid-task #41304
Closed
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title document the tool.execute.after subagent behavior and propose bus delivery doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

I found 2 potentially related PRs:

1. feat(opencode): session-to-session messaging — communicate between two running sessions
#38944

This PR directly addresses cross-session messaging, which is closely related to the subagent messaging behavior being documented in PR #41305.

2. feat(opencode): coordinator-messaging — sibling/coordinator subagent communication
#38943

This PR focuses on coordinator and sibling subagent communication, which overlaps with the subagent session messaging proposed in PR #41305.

Both of these PRs appear to be addressing similar use cases around subagent and cross-session communication, though PR #41305 is primarily a documentation/spec PR that documents and versions existing behavior while proposing a new bus delivery variant.

All reactions

Sorry, something went wrong.

Uh oh!

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

@semanticRig semanticRig changed the title document the tool.execute.after subagent behavior and propose bus delivery docs(specs): document tool.execute.after subagent behavior and propose bus delivery Aug 8, 2026
@github-actions github-actions Bot removed the needs:title label Aug 8, 2026
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Aug 8, 2026
@github-actions github-actions Bot closed this Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

None yet

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.

2 participants

@semanticRig @cloakedbyte
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.