feat: context provider convention for sub-agent protocols#1129
Open
bryancostanich wants to merge 1 commit intoobra:mainfrom
Open
feat: context provider convention for sub-agent protocols#1129bryancostanich wants to merge 1 commit intoobra:mainfrom
bryancostanich wants to merge 1 commit intoobra:mainfrom
Conversation
…col injection Adds a convention where MCP tools matching *_get_context serve as domain context providers. Coordinators call these before dispatching sub-agents to inject domain-specific protocols (e.g., hardware design workflows, debugging discipline, simulation gating). Zero new infrastructure — just convention documentation in dispatch templates. Any plugin can participate by exposing a *_get_context tool.
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
*_get_contextserve as domain context providersCloses #1128
Changes
subagent-driven-development/SKILL.md— new "Domain Context Injection" section telling coordinators to check for*_get_contexttools before dispatchsubagent-driven-development/implementer-prompt.md— new "Domain Protocols" placeholder section in the prompt templatedispatching-parallel-agents/SKILL.md— new "Domain Context" section in prompt construction guidanceMotivation
Sub-agents dispatched by superpowers start with zero domain context. A hardware design plugin can enforce "compute before simulate" on the main agent, but sub-agents launched by superpowers never see these rules. This convention lets any domain plugin inject protocols into sub-agent prompts through a simple naming convention.
Test plan
*_get_contexttools are present*_get_contexttool that returns skill names — coordinator should load and inject them