Batch 1: martha#155, martha#241, martha#255 #279

Manually merged
terra merged 12 commits from terra/batch1c-155-241-255 into main 2026-11-27 00:40:01 +00:00
Member

Batch landing (crew_land_batch) on main b478e03f of martha-ai/martha#155 (PR 250 @3467b257, PASS r=4), martha-ai/martha#241 (PR 271 @ecb4de35, PASS r=2), martha-ai/martha#255 (PR 272 @90fa6717, PASS r=2). Replaces PR 273 (its #155 head failed lint). Refs #155, Refs #241, Refs #255.

Batch landing (crew_land_batch) on main b478e03f of martha-ai/martha#155 (PR 250 @3467b257, PASS r=4), martha-ai/martha#241 (PR 271 @ecb4de35, PASS r=2), martha-ai/martha#255 (PR 272 @90fa6717, PASS r=2). Replaces PR 273 (its #155 head failed lint). Refs #155, Refs #241, Refs #255.
`martha start` gated on isatty(0) alone, so a start whose standard input and
standard error were the terminal but whose standard output was a pipe passed the
gate. A host answers interactively or not on its standard output, so that gate
let through a member that ran in print mode with no input and ended at once.

A start now carries whether its own standard output is a terminal, read where the
one MemberStartRequest is built, and is refused before a host is run, in one line
that names the stream and says how to start the member instead.

The refusal is the Claude Code host's alone (the Supervisor's ruling on martha#155,
2026-11-26): an engine member started the same way keeps its engine, no member of
an engine host dies at once on a pipe, and refusing those starts would stop the
crew that launches engine members unattended. A test pins that a piped engine
start still starts.

Tests: a start whose output is no terminal starts nothing and names the stream
(mutant: the standard-output check dropped, which dies on it); martha start on a
terminal whose output is piped refuses before any host is run and exits non-zero;
an engine member whose output is piped still starts.
martha#155: the refusal names the stream once, under the line every start refusal opens with
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 (container) (pull_request) Has been skipped
CI / nothing private (pull_request) Has been skipped
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
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 / 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
c4 model / c4-model (pull_request) Has been cancelled
c4 model / c4-model-1 (pull_request) Has been cancelled
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
69d2cae1bb
#240 reworked started() in start_an_engine_member.node-test.ts to add a member
parameter and a startedAs() split; this branch had added standard_output_is_terminal
to the same signature. Resolved by keeping both: started() takes member = MEMBER and
standard_output_is_terminal = true, passes both to startedAs(), which carries the flag
into the request. The engine test that pipes its output passes the flag in the 7th slot.
The owner's allow rules for a checkout are carried to the engine member: a call the approved list names runs unasked, every other call is still asked. One squash of the reviewed branch (tree of 9b9cae1f) onto main b478e03f.
A declared token_file may be read into a request header, never sent to the terminal. One squash of the reviewed branch (tree of 64246708) onto the martha#241 squash.
run_the_martha_command.ts was one line over max-lines (1105), and readyToStart one if and one
&& over its complexity cap. Drop one blank line from the first, and move the Claude-Code-only
output refusal into theStartOrTheOutputRefusal so both score within their caps, with no
behaviour change.
Land martha-ai/martha#255 (PASS r=2)
All checks were successful
dependency advisories / node in . (container) (push) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (push) Has been skipped
dependency advisories / node in installer (container) (push) Has been skipped
c4 model / c4-model-1 (push) Successful in 3s
c4 model / c4-model (push) Successful in 0s
CI / links resolve, workflows are valid (push) Successful in 6s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (push) Successful in 12s
dependency advisories / node in . (push) Successful in 14s
dependency advisories / node in installer (push) Successful in 14s
dependency advisories / advisories (push) Successful in 0s
heavy / installer (push) Successful in 2m25s
standalone / standalone Martha runs alone (ubuntu-latest) (push) Successful in 34s
suite / the ring reaches the owner on the live run's tmux (push) Successful in 16s
CI / checks (push) Successful in 4m5s
heavy / the relay loads in the recorded host (push) Successful in 15m45s
suite / gate coverage (push) Successful in 19m13s
heavy / the clean-install proof removes its container (push) Successful in 20m36s
5d3c4813e3
Collaborator

CI coordinator: round r=1: dispatched ci.yml on 5d3c4813e3, run 5752 (base b478e03f6d).

CI coordinator: round r=1: dispatched ci.yml on 5d3c4813e35df599b1953164077a91fa24c94d0c, run 5752 (base b478e03f6d713a06a82060e0271c77a392aad723).
Collaborator

CI coordinator: round r=1: dispatched suite.yml on 5d3c4813e3, run 5753 (base b478e03f6d).

CI coordinator: round r=1: dispatched suite.yml on 5d3c4813e35df599b1953164077a91fa24c94d0c, run 5753 (base b478e03f6d713a06a82060e0271c77a392aad723).
Collaborator

CI coordinator: round r=1: dispatched c4-model.yml on 5d3c4813e3, run 5754 (base b478e03f6d).

CI coordinator: round r=1: dispatched c4-model.yml on 5d3c4813e35df599b1953164077a91fa24c94d0c, run 5754 (base b478e03f6d713a06a82060e0271c77a392aad723).
Collaborator

CI coordinator: round r=1: dispatched standalone.yml on 5d3c4813e3, run 5755 (base b478e03f6d).

CI coordinator: round r=1: dispatched standalone.yml on 5d3c4813e35df599b1953164077a91fa24c94d0c, run 5755 (base b478e03f6d713a06a82060e0271c77a392aad723).
terra manually merged commit 5d3c4813e3 into main 2026-11-27 00:40:01 +00:00
Sign in to join this conversation.
No reviewers
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!279
No description provided.