Show native task child model provenance and document model levers - #178
Merged
Conversation
9 tasks
leoncheng57
force-pushed
the
feat/session-agent-selection
branch
from
August 26, 2026 01:22
cd29321 to
6715bdc
Compare
leoncheng57
force-pushed
the
feat/native-task-model-provenance
branch
from
August 26, 2026 01:28
d0d8a01 to
78227d1
Compare
This was referenced Aug 26, 2026
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.
Stacked on the session-agent PR. Narrows #90 to its remaining upstream dependency.
What
Native task child model provenance: the delegated-work panel now shows the model each native child actually ran with, read from the task part's launch metadata. Plus documentation of the model levers that exist today, and the AGENTS.md record of the deployed #75 fix.
Why this scope
Upstream's task tool has no per-delegation model parameter (verified in source at v1.18.22 and dev HEAD: child model = subagent's configured model ?? parent's current model). Full per-delegation selection is therefore upstream work; what this app can do honestly is (a) show the model that was actually resolved, and (b) document the two real levers — pin a model on the agent definition, or switch the parent model before delegating.
docs/subagents.mdgains that section.TaskLaunch/SubagentTaskcarrymodel(native rows only; Managed Children keeprequestedModel), coalesced across resume parts, malformed metadata ignored rather than guessed.v1.18.22-dcabinary under theai.opencode.serveLaunchAgent, live verification, and the pin-bump path back to stock.docs/subagents.md's fresh-parent workaround is annotated as stock-build-only.Testing