Skip to content

Crews: tell existing seats when someone joins the crew #681

Closed as not planned

Description

@bryantderosier

Item 5 of 11 in the Crews: organic teamwork milestone.

The problem

A seat learns who its crewmates are once, on its first turn: startBriefs in apps/server/src/j5/a2a/CrewLaunchService.ts:622 builds the roster and spawnFirstTurnText writes it into the <j5_crew_context> block (apps/server/src/j5/a2a/spawnIds.ts:126). After that it never hears about the roster again.

So when the Captain asks for a Sitter mid-run and I approve it in the Inbox, the new seat appears, the snapshot version bumps, and the Captain gets a gate notice (crewGateNotice.ts). But the Builder and Critic who've been working all along have no idea there's a new teammate. They won't send CI stuff to the Sitter, because as far as they know there isn't one. addSeats (CrewLaunchService.ts, around line 830) briefs only the new seat.

Where this sits

This is the push half of "crewmates know each other." #680 lets an agent look up the current roster, #679 names senders on every message, and this issue tells the crew when the roster changes. Together they make a crew feel like a team that knows who's on it, not a fixed snapshot from launch.

Definition

The docs PR on j5/crew-teamwork-docs writes the end state into the definitions, so read these first; this issue builds to them. Crews AC24, Agent tool surface AC42 (the <j5_crew_roster_changed> notice), and A2A messages in the thread view AC15.

Proposal

When an addition is approved, every other seat in that crew that has started gets one short platform notice:

<j5_crew_roster_changed>
crew: Invoice Export
crew_instance_id: …
version: 2
joined: Sitter (participant …): Watch CI on the export PR and triage failures
roster:
- Builder (participant …)
- Critic (participant …)
- Sitter (participant …)
</j5_crew_roster_changed>

A new seat joined your crew. Send it anything that's now its job.

The Captain already gets the gate notice, so it doesn't get this one too.

A new seat set to start when called (#685) is announced too, marked waiting, so teammates know it exists and can call it. A seat that's still waiting to be called gets no notice: a notice would start its turn, which breaks "no turn until called", and its first turn already carries the roster as it stands then.

Acceptance criteria

  1. When an addition is approved, every seat of that crew that has started, except the new ones, gets one roster-changed notice naming who joined (a when_called seat marked waiting), their participant id, their approved responsibility, the new version, and the full current roster.
  2. A seat still waiting to be called is sent no notice. A seat that failed to start isn't announced. The notice goes out once the addition's launch report is settled, so it only names seats that exist.
  3. The Captain gets no separate roster notice. Its gate notice already covers this.
  4. A declined addition sends nothing to the seats.
  5. The notice is posted once per addition, even across retries and server restarts (stable command id, like the other crew notices).
  6. The web renders it as one muted platform line naming the seats that joined, clearly different from a message card.
  7. The definitions already say seats are told about additions; the shipped j5_request_crew_member description and its quoted copy in agent-tools.md change together if the description mentions it.
  8. Focused tests cover: addition approved (seats notified, Captain not), partial start, decline, retry idempotency, and (once Crews: seats that start when called #685 lands) a waiting seat announced but not notified. Whichever of this and Crews: seats that start when called #685 lands second wires that case.

Out of scope

  • Telling seats about anything other than additions. Seats never leave on their own, and crew archive and stop already have their own paths.

Dependencies

Activity

  1. added
    enhancement
    size:S
    on Oct 21, 2026
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

    enhancementsize:S

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions