Repository navigation
Done
Description
What to do
On or after 2026-10-28, search the repository for "squadron" (any case) and confirm it is gone from everywhere except the places listed below. Fix or file anything that is left.
This follows the decision to retire Squadrons and fold them into projects (#412). The removal lands as a stack of PRs. This issue is the check that nothing was missed and that nothing crept back in.
git grep -n -i squadron -- . ':!docs/j5/worklog'Where the word is allowed to stay
- Old database migrations (
apps/server/src/j5/a2a/migrations/001 to 029). They are history and must keep running for installs upgrading from an older version. - The migration that re-keys the ledger (030), which reads the old tables in order to convert them.
- The record of old Squadron ids and names that migration keeps.
- Readers for old messages. Stored conversations still contain "in squadron …" headers and
squadron_id/squadron_nameidentity lines, and the app must keep displaying them. - The worklog (
docs/j5/worklog/), as history.
Anything else is a miss.
Where it was on 2026-10-07
Counted at the tip of the client stack (#457, 288c0e6d0a), before the server and docs work. Use these as a checklist.
Seen by a person
- The playbook author picker, on web (
apps/web/src/j5/playbooks/PlaybookLibrarySettings.tsx) and mobile (apps/mobile/src/j5/playbooks/PlaybookLibrarySettingsScreen.tsx). - The Fleet page and Inbox, which fall back to a Squadron's name when a row's project cannot be found.
- The marketing site (
apps/marketing/src/pages/index.astro,src/layouts/Layout.astro). - The command-line tool (
apps/server/src/j5/cli/a2a.ts): the--squadronflag and its output.
Seen by an agent
- Tool descriptions:
list_participants,spawn_agent,stop_agent,list_squadrons,join_squadron, and the fork, merge-back and organize tools (apps/server/src/j5/a2a/mcp/,envelopes.v1.json). - Message headers ("[Cross-agent message from … in squadron …]") and the identity block a spawned agent receives.
- Error and next-step messages in about 20 server files.
apps/server/src/provider/T3OrchestrationInstructions.ts.
Docs
docs/j5/product/(19 files),docs/user/(4),docs/j5/runbooks/(3),docs/j5/process/(2).AGENTS.md,FORK.md, andapps/server/src/j5/a2a/README.md.
Code only
apps/server/src: 82 files.apps/web/src: 16.packages/contracts/src: 3.packages/client-runtime/src: 6. Tests: 97 files.- A comment in
scripts/j5/dogfood-local.sh.
Also check
- Open pull requests. When the removal merges, go through the PRs that are open at that point and comment on any that add or depend on Squadron code, so their authors can move to projects.
- Open issues that still describe work in terms of Squadrons. Retire Squadrons and fold their J5 behavior into projects (decided) #412 lists the ones known at the time.
Not wanted
No lint rule or CI check for this (Jackson, 2026-10-07). It is a one-time manual check.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity
Jacksondr5 commentedon Oct 18, 2026
For the sweep: these leftovers are deliberate but missing from the allowed list above. Don't count them as misses.
j5Squadronscapability key (packages/contracts/src/environment.ts,packages/contracts/src/j5.ts,packages/client-runtime/src/j5/serverCompatibility.tsand their tests). A new server reports it asfalse, so an older client shows its J5 views as unsupported, and a new client uses it to recognise a J5 server that hasn't been updated (FORK cases 34 and 56, register D29).LifecycleService.test.ts,MigrationSnapshot.test.ts), andSendService.test.ts, which asserts the old error text is gone.docs/j5/runbooks/dogfood-runtime.md, which the 031 error message names, and the retired entries and History lines indocs/j5/product/upstream.mdand FORK.md.fa-phoenix_squadroninside upstream's vendored libghostty binary (apps/mobile/modules/t3-terminal/Vendor), unchanged from the pin.— Claude Opus 5.5, on Jackson's behalf
bryantderosier commentedon Dec 1, 2026
Ran the sweep today (2026-12-01) on
j5/mainat089bc2bb33, and it's clean.git grep -i squadronoutsidedocs/j5/worklogturns up 29 files. Every one is on the allowed list above or in the 2026-10-18 addition:Migrations.ts, and the tests that build the old tables (LifecycleService.test.ts,MigrationSnapshot.test.ts,Migrations.test.ts,SendService.test.ts)j5Squadronscapability key (environment.ts,j5.ts,serverCompatibility.ts, plus their tests andServerEnvironment.test.ts,readSources.test.ts)userMessagePresentation.ts, which matchesin (?:project|squadron)), and the old identity lines inSpawnBrief.test.tsxupstream.md, FORK.md and the other product docs, the glossary's "Not a concept" row, and the migration-refusal section indogfood-runtime.mdfa-phoenix_squadronin the vendored libghostty binaryOpen PRs: #317 is the only one that still adds Squadron code, and it already has the superseded heads-up from 2026-10-08. #1320 covers triaging it.
Open issues: #361, #495 and #497 mention Squadron, but only in history notes, not as how the work is framed. Closing.