solo mode text: direct messages go by say_to_the_crew (martha#202) #211

Manually merged
terra merged 6 commits from mercurius/202-solo-messages into main 2026-11-26 05:43:14 +00:00
Member

Refs #202

The crew channel already carries say_to_the_crew in every mode, for Claude Code and engine members alike (#253 test 9 proves delivery between two solo members). solo.md told members to use the host's own direct message, which reaches no member, because each runs in its own CLAUDE_CONFIG_DIR. Now it names say_to_the_crew and see_the_crew, as team.md does.

Red first: 9d18d718 adds a test that every member in both modes is told say_to_the_crew. It failed on the old text, which is its mutant. 41657310 is the fix.

Refs #202 The crew channel already carries say_to_the_crew in every mode, for Claude Code and engine members alike (#253 test 9 proves delivery between two solo members). solo.md told members to use the host's own direct message, which reaches no member, because each runs in its own CLAUDE_CONFIG_DIR. Now it names say_to_the_crew and see_the_crew, as team.md does. Red first: 9d18d718 adds a test that every member in both modes is told say_to_the_crew. It failed on the old text, which is its mutant. 41657310 is the fix.
solo mode text: a direct message goes by say_to_the_crew, the host's own messaging reaches no member (martha#202)
Some checks failed
dependency advisories / advisories (pull_request) Has been cancelled
dependency advisories / node in . (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Has been cancelled
dependency advisories / node in installer (pull_request) Has been cancelled
dependency advisories / node in . (container) (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been cancelled
dependency advisories / node in installer (container) (pull_request) Has been cancelled
c4 model / c4-model (pull_request) Has been cancelled
c4 model / c4-model-1 (pull_request) Has been cancelled
CI / links resolve (pull_request) Has been cancelled
CI / gate coverage (pull_request) Has been cancelled
CI / structural floor (pull_request) Has been cancelled
CI / Martha's names are its own (pull_request) Has been cancelled
CI / no import cycle (pull_request) Has been cancelled
CI / the relay loads in the recorded host (pull_request) Has been cancelled
CI / the host drift check bites (pull_request) Has been cancelled
CI / the engine drift check bites (pull_request) Has been cancelled
CI / the posted text check bites (pull_request) Has been cancelled
CI / the clean-install proof removes its container (pull_request) Has been cancelled
CI / the ring reaches the owner on the live run's tmux (pull_request) Has been cancelled
CI / workflows are valid (pull_request) Has been cancelled
CI / installer (pull_request) Has been cancelled
CI / nothing private (pull_request) Has been cancelled
CI / no test the base passed goes missing (pull_request) Has been cancelled
CI / the pictures change only with the version (pull_request) Has been cancelled
CI / no literal restates a defined value (pull_request) Has been cancelled
CI / every check runs in a job (pull_request) Has been cancelled
CI / every job has a timeout (pull_request) Has been cancelled
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Has been cancelled
standalone / the pinned Node is nodejs.org's (pull_request) Has been cancelled
4165731054
a solo member's mail-off line sends it to say_to_the_crew, not a room a solo crew lacks (martha#202)
All checks were successful
dependency advisories / node in . (pull_request) Successful in 14s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 13s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 13s
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 8s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 6s
CI / structural floor (pull_request) Successful in 28s
CI / Martha's names are its own (pull_request) Successful in 28s
CI / no import cycle (pull_request) Successful in 29s
CI / the host drift check bites (pull_request) Successful in 1m13s
CI / the engine drift check bites (pull_request) Successful in 43s
CI / the posted text check bites (pull_request) Successful in 13s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 12s
CI / workflows are valid (pull_request) Successful in 14s
CI / installer (pull_request) Successful in 3m49s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 37s
CI / the pictures change only with the version (pull_request) Successful in 19s
CI / no literal restates a defined value (pull_request) Successful in 1m14s
CI / every check runs in a job (pull_request) Successful in 14s
CI / every job has a timeout (pull_request) Successful in 16s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 18s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 41s
CI / the relay loads in the recorded host (pull_request) Successful in 15m11s
CI / gate coverage (pull_request) Successful in 17m31s
CI / the clean-install proof removes its container (pull_request) Successful in 20m4s
ead03a6254
Merge remote-tracking branch 'origin/main' into mercurius/202-solo-messages
Some checks failed
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 8s
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 4s
c4 model / c4-model-1 (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
CI / structural floor (pull_request) Successful in 20s
CI / Martha's names are its own (pull_request) Successful in 33s
CI / no import cycle (pull_request) Successful in 20s
CI / the engine drift check bites (pull_request) Successful in 20s
CI / the posted text check bites (pull_request) Successful in 8s
CI / the host drift check bites (pull_request) Successful in 1m17s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 16s
CI / workflows are valid (pull_request) Successful in 14s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 40s
CI / the pictures change only with the version (pull_request) Successful in 20s
CI / installer (pull_request) Successful in 2m24s
CI / every check runs in a job (pull_request) Successful in 16s
CI / every job has a timeout (pull_request) Successful in 16s
CI / no literal restates a defined value (pull_request) Successful in 1m11s
engine drift / the recording says what the engine says (pull_request) Successful in 29s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 32s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 17s
host drift / the recording is of the host members run (pull_request) Successful in 2m0s
CI / the relay loads in the recorded host (pull_request) Successful in 14m43s
CI / the clean-install proof removes its container (pull_request) Successful in 20m28s
CI / gate coverage (pull_request) Failing after 17m28s
6c47d206f5
Author
Member

Attempt 1 of run 5102 (ci.yml at 6c47d206), job "gate coverage" (job 21187), task 17025 on host00-martha-bwrap, 02:21:11→02:38:39Z: red. pass 5497, fail 2, skip 36. Every other job of runs 5100-5105 is green.

The two failures:

  1. prove_the_core/a_test_run_keeps_one_temporary_root/keep_a_test_run_in_one_temporary_root.node-test.ts:340 "a process a run started in a session of its own ends with the run, and its root goes after it (martha#70)": strictEqual at :348, "the loop 75956 the run left in a session of its own outlived the run" (true !== false).
  2. src/start_an_engine_member/start_an_engine_member.node-test.ts:687 "#999 package 5: a turn whose usage the engine reports past the handover limit ...": SyntaxError "Unterminated string in JSON at position 447" from JSON.parse in theRequests (:204), via untilTheEngineHeardPrompts (:567). A torn read of the fake engine's request log.

This PR touches neither file nor anything they import (diff: exchange_crew_mail, hand_a_member_its_crew_text, texts/modes/solo.md, start_a_member). Both are timing races under a full-suite load, the #186 class (red only in a full run). No rerun and no commit until Mars rules.

Attempt 1 of run 5102 (ci.yml at 6c47d206), job "gate coverage" (job 21187), task 17025 on host00-martha-bwrap, 02:21:11→02:38:39Z: red. pass 5497, fail 2, skip 36. Every other job of runs 5100-5105 is green. The two failures: 1. `prove_the_core/a_test_run_keeps_one_temporary_root/keep_a_test_run_in_one_temporary_root.node-test.ts:340` "a process a run started in a session of its own ends with the run, and its root goes after it (martha#70)": strictEqual at :348, "the loop 75956 the run left in a session of its own outlived the run" (true !== false). 2. `src/start_an_engine_member/start_an_engine_member.node-test.ts:687` "#999 package 5: a turn whose usage the engine reports past the handover limit ...": SyntaxError "Unterminated string in JSON at position 447" from JSON.parse in theRequests (:204), via untilTheEngineHeardPrompts (:567). A torn read of the fake engine's request log. This PR touches neither file nor anything they import (diff: exchange_crew_mail, hand_a_member_its_crew_text, texts/modes/solo.md, start_a_member). Both are timing races under a full-suite load, the #186 class (red only in a full run). No rerun and no commit until Mars rules.
Author
Member

Correction to the comment above: "nor anything they import" goes too far. Failure 2's test imports src/start_a_member/start_a_member.ts, and that path can reach the crew texts this PR changes (texts/modes/solo.md, a 1-line change). The PR does not change start_a_member.ts itself, only its node-test. The failure is a JSON.parse of a half-written request-log line, a read racing a write, not an assertion on the text. So I still read it as the #186 class, but on the evidence it is not proven unrelated.

Correction to the comment above: "nor anything they import" goes too far. Failure 2's test imports `src/start_a_member/start_a_member.ts`, and that path can reach the crew texts this PR changes (`texts/modes/solo.md`, a 1-line change). The PR does not change start_a_member.ts itself, only its node-test. The failure is a JSON.parse of a half-written request-log line, a read racing a write, not an assertion on the text. So I still read it as the #186 class, but on the evidence it is not proven unrelated.
Re-run CI for run 5102 (gate coverage): test races, not code
All checks were successful
CI / structural floor (pull_request) Successful in 27s
CI / Martha's names are its own (pull_request) Successful in 25s
CI / gate coverage (pull_request) Successful in 17m51s
CI / no import cycle (pull_request) Successful in 28s
CI / the engine drift check bites (pull_request) Successful in 21s
CI / the posted text check bites (pull_request) Successful in 13s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 13s
CI / workflows are valid (pull_request) Successful in 13s
CI / the host drift check bites (pull_request) Successful in 1m25s
CI / the pictures change only with the version (pull_request) Successful in 19s
CI / no test the base passed goes missing (pull_request) Successful in 39s
CI / every check runs in a job (pull_request) Successful in 16s
CI / every job has a timeout (pull_request) Successful in 18s
CI / no literal restates a defined value (pull_request) Successful in 1m15s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 34s
CI / the clean-install proof removes its container (pull_request) Successful in 22m47s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 19s
CI / installer (pull_request) Successful in 2m14s
CI / the relay loads in the recorded host (pull_request) Successful in 16m4s
CI / nothing private (pull_request) Has been skipped
dependency advisories / node in . (pull_request) Successful in 8s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 13s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 9s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 3s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 5s
f5f6b8cc38
Attempt 1 of 5102 (task 17025, host00-martha-bwrap) went red on two cases
that passed in pass 1 on the same commit:
- keep_a_test_run_in_one_temporary_root.node-test.ts:340 (martha#70 case):
  the check runs before the kill lands
- start_an_engine_member.node-test.ts:687: JSON.parse of a half-written
  request log (:204 via untilTheEngineHeardPrompts :567)
Same tree as 6c47d206; recorded on PR 211.
Author
Member

Attempt 2 (empty re-run commit f5f6b8cc, Mars's ruling), run 5238 (ci.yml): RED on 2 jobs. Neither is #222 or #223. Both ran on the rented build00 box.

  1. gate coverage (task 17474, build00-martha-bwrap), step "the suite under a long TMPDIR reached through a link": 1 failure in 5535.
    prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts:141 "a file stuck in a sync loop ends when its run is sent SIGTERM, and what it started ends with it (martha#195)":
    AssertionError: the run ended by SIGTERM exits with its base plus the signal's number, with null !== 143.
    The SIGINT and SIGHUP siblings passed, and the same test passed in the first pass of this job. A late kill/reap race, the same family as #222 but not the same test.
  2. the clean-install proof removes its container (task 17417, build00-instance), --self-test, case a-read-without-the-numbering:
    did not say: ^FAIL member builder: the member did not read the outsider's README$. The builder's screen is empty, and the case failed 03:35:27, reported 03:55:35 (a ~20 min gap). There's no docker error, and the container came up on attempt 1.

Attempt 1 (5102, 6c47d206, host00) was red on #222/#223 instead. The tree is the same.
Not re-run: under Raf's rule (martha#43 c5551) only a KNOWN flake gets a job re-run, and these two are new. Asking Mars.

**Attempt 2 (empty re-run commit f5f6b8cc, Mars's ruling), run 5238 (ci.yml): RED on 2 jobs. Neither is #222 or #223.** Both ran on the rented build00 box. 1. **gate coverage** (task 17474, build00-martha-bwrap), step "the suite under a long TMPDIR reached through a link": 1 failure in 5535. `prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts:141` "a file stuck in a sync loop ends when its run is sent SIGTERM, and what it started ends with it (martha#195)": `AssertionError: the run ended by SIGTERM exits with its base plus the signal's number`, with `null !== 143`. The SIGINT and SIGHUP siblings passed, and the same test passed in the first pass of this job. A late kill/reap race, the same family as #222 but not the same test. 2. **the clean-install proof removes its container** (task 17417, build00-instance), `--self-test`, case `a-read-without-the-numbering`: `did not say: ^FAIL member builder: the member did not read the outsider's README$`. The builder's screen is empty, and the case failed 03:35:27, reported 03:55:35 (a ~20 min gap). There's no docker error, and the container came up on attempt 1. Attempt 1 (5102, 6c47d206, host00) was red on #222/#223 instead. The tree is the same. Not re-run: under Raf's rule (martha#43 c5551) only a KNOWN flake gets a job re-run, and these two are new. Asking Mars.
Author
Member

Mars's ruling: both reds are known. The SIGTERM null !== 143 is the #195 race (fix in PR 213, noted c5569), and a-read-without-the-numbering is #226's family (noted c5571). Re-ran ONLY those two jobs of run 5238 by API at 04:52Z (Raf's rule, martha#43 c5551): job 21908 gate coverage and job 21916 the clean-install proof, both 204. No new commit.

Mars's ruling: both reds are known. The SIGTERM `null !== 143` is the #195 race (fix in PR 213, noted c5569), and `a-read-without-the-numbering` is #226's family (noted c5571). Re-ran ONLY those two jobs of run 5238 by API at 04:52Z (Raf's rule, martha#43 c5551): job 21908 gate coverage and job 21916 the clean-install proof, both 204. No new commit.
Author
Member

The two re-run jobs are green: 21908 gate coverage (task 17776, host00-martha-bwrap) and 21916 the clean-install proof (task 17703, build00-instance). Runs 5236-5239 are all success at f5f6b8cc. Handed to Mars for the land.

The two re-run jobs are green: 21908 gate coverage (task 17776, host00-martha-bwrap) and 21916 the clean-install proof (task 17703, build00-instance). Runs 5236-5239 are all success at f5f6b8cc. Handed to Mars for the land.
terra manually merged commit 77f17686ad into main 2026-11-26 05:43:14 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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!211
No description provided.