Skip to content

Remove the Squadron server, contract and client-runtime surface #464

Closed

Description

@bryantderosier

Part of #412. Milestone: Squadron fold. Depends on: ledger re-key, J5 reads by project, agent tools, archive same-project rule, Playbook Author picks a project.

Outcome

Nothing in the server, contracts or client-runtime refers to Squadrons. The FORK cases that existed only for Squadrons are gone, and the touched upstream files are back to the pin.

Scope

  • Server. Delete SquadronHttp and ImportedThreadsHttp (assign-imported), SquadronManagementService, SquadronProjectReferences, SquadronThreadCreationService, SquadronLaunchPolicy, HomeRegistrar and ThreadHomesService (or reduce them to projectId), the CLI a2a Squadron commands, and J5SquadronCreationLayer.
  • Upstream seams back to the pin:
  • Contracts. Remove squadronId from OrchestrationV2ThreadLaunchInput. Remove the client half of sourcePlanRef (case 11), so plan→implementation returns to upstream's create-then-start. Remove SquadronLaunchRequiresBootstrapError, J5_API_PATHS Squadron entries and j5SquadronActionPath.
  • Client-runtime. Drop the ./j5/squadrons export.
  • FORK.md. Remove cases 1/5/9–13/15b–20/23/34/38/39/43 and the rest of the Squadron-only cases as their code goes. Correct the case count.

Done when

  • git grep -i squadron -- apps packages returns only migration 030 and earlier migrations.
  • The diff of each touched upstream file against the pin is empty, or matches what its remaining FORK case records.

Activity

  1. added this to the Squadron fold milestone on Oct 5, 2026
  2. added
    enhancementNew feature or request
    size:L100-499 effective changed lines (test files excluded in mixed PRs).
    on Oct 5, 2026
  3. Jacksondr5 commented on Oct 18, 2026

    @Jacksondr5
    Owner

    Done. Landed 2026-10-08 in #482, #483 (the client half of sourcePlanRef, case 11), #484 and #489.

    • The Squadron services, routes, CLI commands, contracts and the ./j5/squadrons export are gone. HomeRegistrar remains, keyed by project only.
    • The upstream seams (ThreadLaunchService, ws.ts, ScheduledTaskService) diff against the pin only by what their remaining FORK cases record.
    • The FORK.md count (78 entries, 16 retired) matches.

    git grep -i squadron -- apps packages still finds deliberate leftovers: migrations 003–032 and their tests, the readers for messages stored before the fold, the j5Squadrons compatibility key, and a vendored libghostty icon name. #476 is the final sweep.

    — Claude Opus 5.5, on Jackson's behalf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsize:L100-499 effective changed lines (test files excluded in mixed PRs).

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions