Repository navigation
Show progress of native Pi extension subagents in Lineage #16837
kevinsleegerslameco
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
In a Pi thread, pi-subagents can run delegated children while the parent has already ended its turn. On nightly 0.0.46-nightly.20261007.2774, native pi-subagents activity is not shown as running child work in Lineage. A user cannot readily tell which workflow or child is running, waiting, finished, or failed, or see its current tool and elapsed time.
This is separate from the background-wake session failure in #15589. Fixing the session lifetime need not approve a UI change, and showing activity alone does not fix wake ownership.
Smallest useful scope
Show existing native Pi workflow/child activity under the owning thread, with title, status, available progress/tool detail, elapsed time, parent/child nesting, and a collapsible completed history. These are provider-owned runs without a T3 child thread; rows should accurately represent that and should not imply a thread can be opened or a child individually stopped when the provider cannot do so.
Use the existing provider-native subagent events and relationship surface if that is the preferred product direction. Do not add launch controls or change automation defaults as part of visibility.
Prototype and observations
A local proof-of-concept on
611132c171f3parses pi-subagents 0.70.1's structuredPI_SUBAGENT_ASYNC_JSON:widget snapshot into provider-native rows. Backend mapping and web display are separate commits for inspection; this is not a PR or an assumption that the widget is an approved integration contract.Live desktop verification with Pi 0.86.1 and pi-subagents 0.70.1 showed the running workflow and scout, current bash activity and elapsed time, then completed rows. A read-only
workflowScriptPath+runs.allsmoke test finished and a subsequent user prompt obtained its result without a session error. Twelve focused frontend tests passed. Full implement-flow stages and mobile were not exercised.Two prototype limitations need resolution before a polished UI contribution: workflow containers and actual children currently both contribute to the agent count, and the extension's workspace snapshot can include earlier runs whose owning T3 thread is not established. Previously stored sessions do not gain reconstructed rows. The final design should distinguish container counts, avoid incorrect cross-thread attribution, and define restart/history behavior.
Direction requested
Would maintainers accept this visibility scope, and should native extension jobs appear in Lineage or a different surface? Should T3 consume pi-subagents' current structured widget, or should this wait for an extension-neutral Pi background-work/status contract? Any implementation should define server, web/desktop, remote, and mobile behavior before a PR.
I searched the current reports and Ideas discussions. General multi-agent orchestration (#6911), lineage launch metadata (#12286), and stopping T3-owned children (#16576) do not cover observing already-running native Pi extension children.
Prepared with GPT-6 in Codex.
All reactions