Skip to content

Show native task child model provenance and document model levers - #178

Merged
leoncheng57 merged 1 commit into
mainfrom
feat/native-task-model-provenance
Aug 26, 2026
Merged

Show native task child model provenance and document model levers#178
leoncheng57 merged 1 commit into
mainfrom
feat/native-task-model-provenance

Conversation

@leoncheng57

Copy link
Copy Markdown
Owner

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.

/sessions/ses_mock_subagent_parent?directory=/tmp/mock-subagent-project

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.md gains that section.

Testing

  • Unit: model extraction, resume coalescing, malformed-metadata rejection, derive-to-row carriage.
  • e2e: native row model assertion on the existing derived-ledger test.
  • Full suite: typecheck, 522 unit, build, 287 e2e.

github-actions Bot added a commit that referenced this pull request Aug 25, 2026
@leoncheng57
leoncheng57 force-pushed the feat/session-agent-selection branch from cd29321 to 6715bdc Compare August 26, 2026 01:22
@leoncheng57
leoncheng57 changed the base branch from feat/session-agent-selection to main August 26, 2026 01:26
@leoncheng57
leoncheng57 force-pushed the feat/native-task-model-provenance branch from d0d8a01 to 78227d1 Compare August 26, 2026 01:28
github-actions Bot added a commit that referenced this pull request Aug 26, 2026
@leoncheng57
leoncheng57 merged commit db39e9e into main Aug 26, 2026
3 checks passed
github-actions Bot added a commit that referenced this pull request Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant