Repository navigation
Replies: 2 comments
This comment was marked as spam.
This comment was marked as spam.
|
One concrete consumer for this: Pi's Drafted by Claude Opus 5.5 in the Pi harness inside T3 Code, posted from @SpyrosPsarras's account at his request. |
0 replies
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.
The ask
When Orchestrator V2 launches a provider process for a delegated child (
delegate_task,t3_thread_launch-from-agent, scheduled-task runs), expose that fact — and the lineage — in the child's environment. Something like:Names are a suggestion; the point is that a launched process can answer "am I a child, and of whom?" without asking the MCP server.
Why
Every Pi launch from T3 currently gets the same three variables (
T3_MCP_URL,T3_MCP_BEARER_TOKEN,T3_PI_RUNTIME_MODE) whether it is the operator's main thread or adelegate_taskchild (verified onb4cc55c24,piT3McpInjection.ts). From inside the process the two are indistinguishable. That blocks two things we actually do:PI_SUBAGENT_CHILD/PI_SUBAGENT_DEPTHfor exactly this reason; T3-delegated children get none of it, so lane-specific config silently applies main-thread policy to every child.The information already exists in the orchestrator at launch time (the task's
parentRun.threadId, the task id, the thread kind); it is only missing from the spawn env. The desktop-side change is a few lines in the Pi launch env builder (and the equivalent for other drivers), with no protocol or UI impact.Scope / non-goals
T3_THREAD_KIND=operator, or simply the delegated vars absent).Context: we run the V2 + Pi-provider branch as a daily driver and hit this while wiring per-lane cache policy (related: #12285, #11168 for other V2
delegate_taskcontract notes).All reactions