Repository navigation
Description
Posted by an AI agent on Jackson's behalf.
Problem
Mobile's project-based creation flow can create a usable conversation without registering it in a Squadron. The thread can run an agent, but its agent cannot use the participant directory, peer messaging, or Peer Agent spawning. A project/folder association is not Squadron membership.
Jackson's requested direction: replace the mobile project creation/selection UI for starting work with Squadron creation/selection. Folder/project selection remains part of configuring the Squadron's workspace, rather than the identity users choose to start an agent.
Focused implementation issue under #40 (mobile daily-use parity). This issue covers creation and membership; the broader inbox/A2A rendering work remains in that umbrella.
Observed failure
On September 12, 2026, the existing thread Merge 2 (251cd6ea-cc8c-4dd2-90e8-20bd18c7c804) was asked to spawn an independently reviewable Peer Agent.
t3_thread_listconfirmed the current thread identity andcreatedBy: user,creationSource: mobile.list_participantsrepeatedly returnedA2ASenderNotJoinedError, reporting that the thread has no registered home squadron.- Peer-thread creation could not proceed through the sanctioned J5 spawning path. No membership was manually seeded and no spawn was claimed successful.
The installed build revision was not captured. Source inspected at J5 4ce9f9120ccbc0a55170a4887231ea7ec20d3aa2 explicitly permits mobile launches as the mobile-future-squadron native exception in SquadronLaunchPolicy.ts. This is consistent with the observed missing registration; the exact original creation transaction was not replayed.
Reproduction
- Use the mobile project-based new-task flow to create a thread and send its first message.
- Ask the agent to list participants or spawn a Peer Agent.
- Observe that the conversation runs but the Squadron-backed operation fails because the thread has no registered home.
Expected change
- Let users create a Squadron or select an existing Squadron before starting an agent. Replace the project-first creation flow rather than merely renaming its labels.
- Use the selected Squadron's owning environment and workspace/project configuration. Carry explicit Squadron identity into the shared launch/registration path, and register the thread before peer tools need it.
- Preserve that selection through offline queued creation, reconnect, and retry. Later picker changes must not retarget already queued work.
- Apply the flow to all mobile new-thread entry points, including first-run creation and creation from existing projects. Review plan-to-implementation and other alternate launch paths.
- Show existing-thread Squadron membership from registry truth. Existing native threads must not look like members merely because they share a folder; do not silently adopt them based on names or paths.
- Replace or narrow the
mobile-future-squadronexception only with a complete supported path and an explicit older-client compatibility decision.
Acceptance
- New Squadron creation and selection of an existing Squadron both launch an agent with the correct durable home.
- The resulting agent appears in
list_participantsand can spawn/message a Peer Agent. - Two Squadrons sharing a folder remain distinct; environment selection routes registration to the correct server.
- Immediate and offline/retried creation retain the same Squadron and create one identity.
- Invalid or missing ownership fails truthfully without silently creating an unregistered agent.
- Native legacy threads show their actual membership state; any later adoption is explicit.
- Focused launch/outbox/registration tests and an integrated mobile pass cover the implemented entry points, with iOS/Android coverage stated honestly.
Keep this separate from the upstream merge and the archive/delete lifecycle prerequisite. No signing, distribution, or unrelated inbox redesign is needed for this issue.
Prepared with GPT-6 in the Codex harness.
Activity
Jacksondr5 commentedon Oct 8, 2026
Closing: Squadrons are retired and their behaviour is folded into projects (#412; merged in #454, #455, #456, #457, #482, #483, #484 and #489). A thread's home is now its project, so the Squadron this issue is about no longer exists. If part of this still applies to projects, reopen it or file it in those terms.