docs(subagents): define bounded role disclosure and schema stability - #251
Closed
627150795 wants to merge 1 commit into
Closed
docs(subagents): define bounded role disclosure and schema stability#251627150795 wants to merge 1 commit into
627150795 wants to merge 1 commit into
Conversation
7 tasks
Collaborator
|
Thank you for preserving this research. We are closing this PR as a source record for the Capability, authority, and resources consolidation tracked in #277. This is not a finding that the content is wrong. The current queue contains overlapping contracts from one stale base, so we will extract only settled boundaries into at most one successor record, citing this PR explicitly. Please do not spend time rebasing this branch. |
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.
Problem
The
subagent_spawnsurface must describe role choice, lifecycle, tool restrictions, and provider-facing request shape without making the parent schema grow with every role detail or child instance. The boundary between role disclosure, execution enforcement, and prompt-cache evidence is not yet captured in one design document.Value
This documents bounded role selection, stable capability loading, trust-gated Agent Types, model/effort precedence, schema evolution, cache invalidation limits, and the difference between observable receipts and inference.
Approach
Added a focused design contract and linked it from the design index. It preserves the current fail-closed child allowlist/denylist and Pi-native lifecycle, while recording Codex, Maka, Oh My Pi, and OpenPI comparison lessons. Runtime implementation remains with the existing implementation issue.
Validation
git diff --cached --checkbun run lintbun run typecheckImpact
Documentation-only; no tool schema, prompt, capability, provider, cache, or runtime behavior changes.
Fixes #84