A team crew started at once: two members first turns are refused ROW_STREAM_MOVED on the same engine session id #240

Closed
opened 2026-11-26 06:39:09 +00:00 by pluto · 1 comment
Member

Purpose (defect): a team crew's members each take their first turn when the crew is started at once; today two of three are refused before their first turn answers.

Instance: 2026-11-26 06:34Z, scratch workspace /home/rl/work/martha-239-ws, crew martha-239, three martha-engine members on deepseek-flash, started by one martha up --prompt ... (martha-ai/martha#239, the proof run). Two windows:

supervisor started, pid 3981955
martha: A turn for supervisor was refused and never sent: the record of session 20261126_1 could not be kept (ROW_STREAM_MOVED), so nothing in it is answered for again
builder started, pid 3982019
martha: A turn for builder was refused and never sent: the record of session 20261126_1 could not be kept (ROW_STREAM_MOVED), so nothing in it is answered for again

The reviewer started and took its turn.

Shape: each engine launch gets its own GOOSE_PATH_ROOT, so the engine names the first session of its store 20261126_1. The crew's session records are streams in one shared rows directory, named session-record:<session id> (src/session_records_in_rows/session_records_in_rows.ts, SESSION_RECORD_STREAM), and sessionRecordsIn is built without the member. Two members started on the same day therefore name the same stream, the second flush appends with an expected_length the first writer has already passed, and keep marks that session broken for the rest of the launch (answer_what_a_host_reports.ts, breakSession).

Evidence: one stream directory under the crew's rows, sc2Vzc2lvbi1yZWNvcmQ6MjAyNjExMjZfMQ (base64url of session-record:20261126_1), holding rows appended at 07:34 and again at 07:36 in ~/.local/state/martha/crews/0407cc4822a15166c3c965178be5dd5f70b7cdf56ed8ae59289fdebb107e546e/rows/.

Done when: the three members of a team crew started in the same second each take their first turn; the record stream of a session names its member (or its launch), so no two members can share one; and a test starts two engine launches whose session ids would collide and both first turns are answered.

Refs martha-ai/martha#239

Purpose (defect): a team crew's members each take their first turn when the crew is started at once; today two of three are refused before their first turn answers. Instance: 2026-11-26 06:34Z, scratch workspace `/home/rl/work/martha-239-ws`, crew `martha-239`, three `martha-engine` members on `deepseek-flash`, started by one `martha up --prompt ...` (martha-ai/martha#239, the proof run). Two windows: ``` supervisor started, pid 3981955 martha: A turn for supervisor was refused and never sent: the record of session 20261126_1 could not be kept (ROW_STREAM_MOVED), so nothing in it is answered for again ``` ``` builder started, pid 3982019 martha: A turn for builder was refused and never sent: the record of session 20261126_1 could not be kept (ROW_STREAM_MOVED), so nothing in it is answered for again ``` The reviewer started and took its turn. Shape: each engine launch gets its own `GOOSE_PATH_ROOT`, so the engine names the first session of its store `20261126_1`. The crew's session records are streams in one shared rows directory, named `session-record:<session id>` (`src/session_records_in_rows/session_records_in_rows.ts`, `SESSION_RECORD_STREAM`), and `sessionRecordsIn` is built without the member. Two members started on the same day therefore name the same stream, the second `flush` appends with an `expected_length` the first writer has already passed, and `keep` marks that session broken for the rest of the launch (`answer_what_a_host_reports.ts`, `breakSession`). Evidence: one stream directory under the crew's rows, `sc2Vzc2lvbi1yZWNvcmQ6MjAyNjExMjZfMQ` (base64url of `session-record:20261126_1`), holding rows appended at 07:34 and again at 07:36 in `~/.local/state/martha/crews/0407cc4822a15166c3c965178be5dd5f70b7cdf56ed8ae59289fdebb107e546e/rows/`. Done when: the three members of a team crew started in the same second each take their first turn; the record stream of a session names its member (or its launch), so no two members can share one; and a test starts two engine launches whose session ids would collide and both first turns are answered. Refs martha-ai/martha#239
Member

Done-when check against main ecb6f372 (landed-but-open sweep, 2026-12-01; closed under the Supervisor ruling of 2026-12-01, which Raf approved). Every commit cited is an ancestor of main (git merge-base --is-ancestor).

  • L1: met, PR 242 (ee1615ea). L2: met, 30fcca6c.
  • L3: met in part, 09b420ea. The rest of it cannot be shown from the tree. Covered by the r=2 PASS on 09b420ea (Pluto, crew ledger).

Every code line is met. The line the tree cannot show was covered by the review PASS that landed it. Closing.

Done-when check against main `ecb6f372` (landed-but-open sweep, 2026-12-01; closed under the Supervisor ruling of 2026-12-01, which Raf approved). Every commit cited is an ancestor of main (`git merge-base --is-ancestor`). - L1: met, PR 242 (`ee1615ea`). L2: met, `30fcca6c`. - L3: met in part, `09b420ea`. The rest of it cannot be shown from the tree. Covered by the r=2 PASS on `09b420ea` (Pluto, crew ledger). Every code line is met. The line the tree cannot show was covered by the review PASS that landed it. Closing.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
martha-ai/martha#240
No description provided.