You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Four currently-open PRs from me form one coordinated subagent lifecycle roadmap. They are semantically orthogonal features, but they all extend the same agent-core plumbing (PilotDeckSubagentForkApi, SubAgentSession, AgentLoop), so they overlap textually and need an explicit merge sequence. This issue tracks the proposed order, the measured conflict map, and the rebase/validation plan, so maintainers can sequence reviews instead of discovering conflicts one merge at a time.
Core files involved: AgentLoop.ts, SubAgentSession.ts, agent.ts, AgentRuntimeDependencies.ts, tool/protocol/types.ts; the only UI overlap is modelPool/types/index.ts between #576 and #579.
Against current main (e5bfb3fe): #576, #579, #580 merge cleanly. #581 has a single-file conflict in AgentLoop.ts caused by recent upstream movement in that region — I will rebase that branch (see checklist).
All conflicts are in additive extensions of the same types/fork-API entry points; each resolution is small. #580 + #581 are additionally validated merged together on an integration branch in my fork (work/subagent-lifecycle-integration) with both test suites re-run.
Any other order works too — I will rebase the remaining branches onto main after each merge and re-run the targeted test suites (agent/subagent specs + settings UI specs) before updating the PRs.
Summary
Four currently-open PRs from me form one coordinated subagent lifecycle roadmap. They are semantically orthogonal features, but they all extend the same agent-core plumbing (
PilotDeckSubagentForkApi,SubAgentSession,AgentLoop), so they overlap textually and need an explicit merge sequence. This issue tracks the proposed order, the measured conflict map, and the rebase/validation plan, so maintainers can sequence reviews instead of discovering conflicts one merge at a time.task_id)run_in_background)Measured conflict map
Actual test merges (pairwise, each PR merged on top of the other; base
97633a0):agent.ts)Core files involved:
AgentLoop.ts,SubAgentSession.ts,agent.ts,AgentRuntimeDependencies.ts,tool/protocol/types.ts; the only UI overlap ismodelPool/types/index.tsbetween #576 and #579.Against current
main(e5bfb3fe): #576, #579, #580 merge cleanly. #581 has a single-file conflict inAgentLoop.tscaused by recent upstream movement in that region — I will rebase that branch (see checklist).All conflicts are in additive extensions of the same types/fork-API entry points; each resolution is small. #580 + #581 are additionally validated merged together on an integration branch in my fork (
work/subagent-lifecycle-integration) with both test suites re-run.Proposed merge order
#579 → #576 → #580 → #581
Rationale:
main.mainregardless, and the feat(agent): continue completed subagent tasks #580+feat(agent): run subagents in the background #581 combination is already validated together.Any other order works too — I will rebase the remaining branches onto
mainafter each merge and re-run the targeted test suites (agent/subagent specs + settings UI specs) before updating the PRs.Checklist
mainrebase inAgentLoop.ts)Happy to re-sequence if maintainers prefer a different order or want some of these consolidated.