Skip to content

Crews: a Captain isn't woken every time a member's run ends #911

Open

Description

@Jacksondr5

The problem

A Captain gets a notice every time one of its members' runs ends. Jackson called this noise while reviewing the Crew rework stack: "I think we need to explore not notifying the captain every time a member's turn ends."

#750 hid clean notices from the person's timeline, but the Captain still receives them and takes a turn on them. Members are also told to send their final result to the Captain with j5_send_message, so a clean finish often repeats what the Captain just heard, and costs a turn to do it. This is more common now that #758 has members run their own review loops, because a loop ends many runs without anything the Captain needs to act on.

What we have today

  • apps/server/src/j5/a2a/CrewSeatFinishNotifier.ts sends a <j5_seat_finished> notice when a member's run ends owing no open reply. It carries how the run ended, the run's error if it failed, and where the member's handoff artifact stands.
  • A notice that would repeat the last one is silent, and one that arrives during the Captain's turn folds into a queued notice.
  • A boot sweep reports finishes the server missed.
  • crews.md defines this in "Members report their finish", AC13 and AC14.

What to explore

Which of these should still reach the Captain, and how, with the rest dropped?

  • A failed or interrupted run. Nothing else tells the Captain about this, so it probably has to stay.
  • A missing or unreadable handoff artifact, which AC14 reports today.
  • A clean finish. This is the likely candidate to drop, leaving the member's own message as the signal.

Before dropping a clean finish, check what depends on it:

  • A member that finishes without sending anything, which the Captain would then never hear about.
  • Playbook step reports.
  • Whether a Captain can see a member's run state another way when it needs to, without being woken.

Done when

  • A Captain isn't woken by a member's clean finish, unless the exploration finds a reason it must be.
  • The Crew definition in crews.md says what a Captain is told and when.

Bryant deferred this from the stack ("I'm leaving that for a later change, it's its own piece of work"), and Jackson left the timing to him.

Filed by Claude Opus 5.5 via J5 Code.

Activity

  1. added a commit that references this issue on Nov 22, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions