Skip to content

A Crew's lifecycle follows its Captain #312

Closed

Description

@bryantderosier

My rule: there is never a Crew without its Captain. Whatever happens to the Captain happens to its live Crews. Settle the Captain and every seat settles; archive it and every seat archives; bring it back and the Crew comes back with it. This replaces the earlier direction for this issue (an archive touches one agent, and a Crew could outlive its Captain), which I've dropped.

Where it stands today:

  • CrewCaptainArchiveCascade.ts already retires a Captain's live Crews when its thread is archived or deleted, with a boot sweep for events the server missed.
  • Settling or unsettling a Captain touches only the Captain, so the Fleet page can show a settled Captain whose seats are still Active.
  • Unarchiving a Captain brings back the Captain alone. The Crews its archive retired stay retired, and their seat threads stay archived.
  • A seat can't be archived on its own (crewSeatArchiveGuard.ts, FORK.md case 37). That stays.

What should change:

  • Settle: a Captain's thread.settled, whether by hand or by the settlement sweep, settles every seat of its live Crews.
  • Unsettle: a Captain's thread.unsettled unsettles every seat of its live Crews.
  • Unarchive: a Captain's thread.unarchived brings back every Crew that its archive retired: the Crew is live again and each seat thread is unarchived. A Crew retired on its own through archive_crew or Archive crew stays retired, so the Crew records why it retired.
  • Boot sweep: also settles the seats of a settled Captain and brings back Crews whose Captain was unarchived while the server was down. Unsettle is event-only, because a settled seat under an unsettled Captain can't tell the sweep which came first.
  • Unchanged: archive and delete keep cascading, a lone seat is still refused, and no new Crew or seat is approved under an archived Captain.
  • Docs: crews.md (Lifecycle, AC17, AC19, AC20, which says a retired Crew can never be reactivated), the Fleet page definition, and the Crews section of docs/user/personas.md.

Tests to ship:

  • settling a Captain settles every seat, and unsettling it unsettles them
  • unarchiving a Captain restores the Crews its archive retired, seat threads included, and leaves a Crew retired by archive_crew retired
  • the boot sweep settles the seats of a settled Captain and restores Crews under an unarchived Captain
  • replaying an event converges on the same commands

Done when every Captain lifecycle step (archive, delete, settle, unsettle, unarchive) moves its whole Crew, and each one has a way back.

Related criteria: crews.md AC17, AC19, AC20; fleet-page AC31, AC32. Follows #271, #279, #313 and #300 in the stack.

Activity

  1. added this to the Crews milestone on Sep 25, 2026
  2. added
    size:L
    on Sep 25, 2026
  3. changed the title [-]Archive touches one agent: remove the Captain-to-Crew cascade and the lone-seat guard[/-] [+]A Crew's lifecycle follows its Captain[/+] on Sep 25, 2026
  4. Jacksondr5 commented on Sep 26, 2026

    @Jacksondr5
    Owner

    Ratified (Jackson, 2026-09-26): a Crew follows its Captain through archive, delete, unarchive, settle and unsettle.

    • Settle follows upstream. Settle is a marker: the thread leaves the active list, upstream stops refreshing its PR status, and a later message runs normally. When the Captain settles, the cascade skips seats upstream's own auto-settle would refuse to settle, namely seats with a pending runtime request or with running or background work (ThreadSettlementService: "Blocked-on-you work must never park").
    • Unsettle: a seat's "active" override blocking later auto-settle is accepted. It's upstream's own meaning of unsettle.
    • What the 2026-09-17 ruling actually meant: a finished run is not a settled seat. J5 must never settle a seat because its run ended (the original "members settle themselves" design put a seat in Settled seconds after launch). It was never meant to oppose upstream's settling, or a Captain's settle carrying its seats. AC18 should say exactly that: J5 never settles a seat because its run finished; settling the Captain settles its seats; upstream's settle rules apply to every thread.
    • Undo and unarchive restore Crews and seat threads, not interrupted runs or dropped Exchanges. The docs should say so. The web archive dialog, which lists seats, running turns and open asks before you confirm, is the guard. The mobile archive entry points are tracked in feat(mobile): J5 daily-use parity — Squadrons, inbox, A2A, and lifecycle #40.
  5. added 2 commits that reference this issue on Sep 29, 2026
    6ab49e7
    d19f497
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

size:L

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions