Batch 3: #972, #1033, #1028, #1035 (macula-io/martha#1048), not to be merged here: lands by fast-forward #12

Closed
terra wants to merge 53 commits from terra/batch3-forge into main
Member

Integration branch for one CI run on the exact tip. Stacked on batch 2 (terra/batch2-forge 749d1e6f, PR 4), then --no-ff merges in order: #972 at 731e7ac9, #1033 at adc7ade0, #1028 at cda762a0, #1035 at 87862e11 (relay_copy.ts: both RELAY_FILES entries kept). #1042 stacks on top once its merge of 87862e11 is read. Lands by fast-forward of main.

Integration branch for one CI run on the exact tip. Stacked on batch 2 (terra/batch2-forge 749d1e6f, PR 4), then --no-ff merges in order: #972 at 731e7ac9, #1033 at adc7ade0, #1028 at cda762a0, #1035 at 87862e11 (relay_copy.ts: both RELAY_FILES entries kept). #1042 stacks on top once its merge of 87862e11 is read. Lands by fast-forward of main.
Gap 10 of martha#957, the two halves nothing else holds: owner_ok and the branch-only form. The third half,
discard_ignored, is #915's (PR 917).

- A new act, finish_a_members_worktree, joins ACTS: the team table grants it to the supervisor, and a solo crew's
  grant is the owner alone, so no member closes another's there. A member closes its own without it.
- worktree_finish takes repo+slug (a live worktree) or repo+branch (a branch whose worktree is already gone), never
  both and never neither, plus package. Another member's branch or worktree needs owner_ok=1 from a role the table
  grants the act, and the refusal names the owner and the grant.
- The branch form: who may call first, then the default branch is never removed, a live worktree holding the branch
  is named for the path form, the origin's copy goes only when the default branch holds its tip, and the clone's
  copy under the same proof — a branch kept on one side is never deleted from the other.

Eight new cases in open_and_finish_a_worktree.node-test.ts, one in every_act_is_asked (the act's row and ledger line),
and the declaration's may table in four fixtures carries the new act.

Not yet done for this package: the docs (architecture box, the declaration doc's may table), the mutant pass, the
range checks, the full suite, the PR and the HANDOFF.
architecture/README.md's open_and_finish_a_worktree entry, the declaration's
may table and the publish gate's act table each name the branch form and
finish_a_members_worktree.
The title names what the supervisor holds, so it names the new act too; the
expectation is the table itself.

Drops-test: src/declare_crew/the_drafts_declaration.node-test.ts :: #931 (PR 939 ruling): a mode named team takes Martha's team table: the supervisor assigns, unparks, restarts and brings asks, reviewers hold reviews, the owner approves landings
The case built its expected path from the fixture's own temporary directory,
but git names a worktree by the path it resolved, and on a machine whose
temporary directory is a link to another — macOS's /var to /private/var —
those two differ. CI caught it on the macOS runner; both name the same
directory, and git's is the one the refusal carries.
martha's CI is Linux only. The stage that caught this is ci.yml's "the suite
under a long TMPDIR reached through a link" (martha#79), which runs the suite
a second time with TMPDIR a path through a symlink. Under that shape the path
this test made and the path git answers with differ, which is what the stage
exists to catch. Proved locally: under the same shape the un-resolved
assertion fails and the resolved one passes, 31/31.
Review r=1 found two required faults in the branch form:
- the origin's copy was deleted before the clone's copy was judged, so a clone copy holding commits the default branch lacks left half a finish, against "a branch kept on one side is never deleted from the other";
- the origin delete was an unleased push --delete, so a push landing after the ancestry check lost its commits.

Now the fetch comes first and a failed fetch refuses; both copies are judged before either is touched; the origin delete is leased on the tip the default branch was found to hold. The guards and the two-sides judgement move into their own helpers to keep finishTheBranch under the complexity cap.

Two tests: the clone copy ahead keeps both copies, and a push between check and delete leaves the branch on origin. Without the fix both fail; dropping the lease alone fails the second.
Main added `billing: null` to a member and the wake house rules; the branch added the FINISH_A_MEMBERS_WORKTREE grant
and the worktree finish's second form. Both are kept: the four fixtures carry main's member shape and the branch's
grant, and the architecture row carries main's `find_a_committed_conflict_marker` sentence beside the branch's two
worktree forms.
/crew-park parks the session it is typed in, or unparks it, on the owner's
own word: the actor is the member itself, so the declaration's table is not
asked, and the marker says who moved it. /crew-progress off answers the
member's own reports that reporting is off and clears the report already
taken from the row; on takes them again.

Both are the launcher's answers to an ask the mod posts; the mod registers
the two commands and prints the launcher's line. The row gains the field the
host's task list will land in (tasks), with the reader that names the open
task first, used by the next commit.

Refs #957
The row gains the host's own task list and the background work a session has in hand, and the turn's end settles the
row's state from what the member holds. A session's own tab keeps its facts in a_sessions_own_tab.ts, moved there
because the tools file has no room left under the per-file cap.

Still to do: the tests for the settle, the work in hand and the return when a switched package finishes; the CI on the
tip; items 8's reader is in place but untested.
martha#999 package 2b (gap 7 of martha#957). A shell line or a file write that left one of
the crew's briefs breaking the owner-items rule is answered with a note the member reads
after the tool's result, as crew-code's shellBriefNote and withNote do. The launcher's
answer to a ran tool carries it; the Claude Code relay returns it in context. crew-code's
briefRefusal is not ported: the Supervisor's ruling makes a brief write a note, never a
refusal.
# Conflicts:
#	src/answer_the_relay/answer_the_relay.ts
#	src/claude_code_relay/hooks/register.ts
#	src/claude_code_relay/hooks/relay_protocol.ts
Each timeout is sized from the job's own runs on 2026-11-20 (four or five green
runs per workflow), with its measurement written beside it: five minutes for a
job of seconds, and half again as much, rounded up to the next five, for the
long ones (gate coverage 40, the clean-install proof 30, the relay job 25,
release's suite 10, the posted-text check 10).

A job that calls a reusable workflow cannot carry one — GitHub refuses the file
— so the check asks it for none and fails by name if one is written; those
nine jobs' time is held by the called workflows' own jobs.
The owner's /crew-refresh auto | on [percent] | off | now, and the
status with no mode, port crew-code's command. The mode is kept per
member in the crew store's refresh place; a member the owner has not
set starts in the declaration's refresh_between_tasks, which keeps
Martha's own rule and margin.

auto refreshes after a finished task at AUTO_TASK_PERCENT
(= CLAIM_LIMIT_PERCENT, 70), on at its share (held to 5..95, default
40), both once grown AUTO_START_MARGIN_PERCENT (5) past where the
session began. The limit still hands over whatever the mode says.

Claude Code takes the command in the relay; a martha-engine tab takes
the same line through the decision /crew shares. Both reach the
launcher as one ask. now starts the refresh question at once on both
hosts. package answers with one error naming gap 22.

Refs #999, #957
check:marthas-names refuses a '/crew-<word>' literal as crew-code's
slash command family. The relay already registers 'crew-refresh' by
name, as it does 'crew-budget' (martha#990); the engine tab now reads
that one constant after the slash.

Refs #999
- read_a_members_mesh_key: the member's mesh_key, else <mesh.keys>/agent-<name>.key; a key that is missing, a link,
  not a file, another user's, open to others, or another declared member's (by real path) refuses the start by name.
  A solo crew reads none. Where a written path sits (~/, absolute, project) is resolved by the launch.
- the pin: a team member's mesh server entry carries MACULA_MCP_IDENTITY=<key> and an empty MACULA_MCP_AGENT, last,
  so an owner's exported identity never wins; the member's own environment carries neither.
- call_the_mesh_as_the_member: the relay's mesh call through the member's own server by the host's $.mcp.call,
  sealed only, an unsealed answer refused; proved on the recorded host.
- write_the_crews_roster: martha up keeps a team crew's roster (member -> node id) from each key, read offline by the
  recorded macula-mcp-node-id, owner-only and renamed into place; a member left out is told by name.

Refs #1016
# Conflicts:
#	architecture/README.md
#	src/a_crews_tools/the_refresh_flow_answers_the_session.node-test.ts
#	src/refresh_a_member/the_refresh_flow.ts
# Conflicts:
#	src/a_crews_tools/a_crews_tools.ts
#	src/answer_the_relay/answer_the_relay.ts
#	src/answer_the_relay/the_relay_holds_the_end_of_a_turn.node-test.ts
#	src/claude_code_relay/hooks/relay_protocol.ts
#	src/start_the_member_on_its_host/start_the_member_on_its_host.ts
# Conflicts:
#	src/start_an_engine_member/start_an_engine_member.ts
#	src/start_an_engine_member/the_engines_refresh.ts
A reader shows the task list's open task where the member's report is blank (see_the_crew), so /crew-progress off
cleared the report and the row went on showing the list, and the mod kept posting it. Off now drops the row's tasks
with the report, and a task list posted while off is answered with the off line and written nowhere, until on.
The new test fails on the old behaviour.
Four files clashed; both sides kept, and each resolution named:

- architecture/README.md: main's row for show_dashboard_beat/keep_the_ledger (a_week_of_the_ledger,
  martha#308) as main has it, and the range row carrying both 962's two forms and 915's
  discard_ignored and landing-by-content sentence.
- the_worktree_tools.ts: worktree_finish's schema is 962's (slug or branch, owner_ok, repo and
  package required) with 915's discard_ignored beside them.
- open_and_finish_a_worktree.ts: 962's two forms stand as they are, and 915's own work is inside
  them. theDiscardList is read in finishAWorktree for both forms; workNoOtherCopyHas is 915's
  body (ignored entries, the absent list, every untracked file named) over 962's path and branch;
  removeTheWorktree takes the object 962 passes and the discarded list 915 answers with. The
  branch form removes no directory, so it reads no discard list and calls none of 915's check.
- open_and_finish_a_worktree.node-test.ts: both suites whole and side by side, each test with its
  own fixture prefix; nothing of either side's tests was dropped (the merge base's titles are all
  still here, check:base-tests reads them).

One thing for the reader of this merge: the branch form still judges a landing by ancestry alone
(its theOriginCopy/whatTheDefaultLacksIn), while the live form uses 915's proof by content
(theDefaultBranchHolds, through originWord). That is each side unchanged, not a choice made here.
martha#973 is where the branch form gains its own proof, the owner's ask or the content of a
squashed landing.

typecheck, lint, and the whole test suite are green on this tip in a worktree of its own.
After a turn ends, the recorded host asks the model for a suggestion of the owner's
next words, and it offers that ask the whole tool list. The stand-in counted every
request that offers tools as one of the owner's turns, so the ask took a number: every
later turn was numbered one too high, the case typed its next turn against a reply the
host had not drawn as one, and the run waited out the 120 s silence budget. Two of
main's runs passed because the ask arrived after the turn's own request; when it
arrived first, the case stalled.

The ask is now answered with text and never numbered, as the host's title and summary
asks already were. A case posts one at the stand-in and holds it to both halves.

Refs #1037, #984
A pure move to keep a_crews_tools.ts under the 1105-line cap once main
brings gap 1's wake: the interface and its type imports go to
the_crews_tools_places.ts, and a_crews_tools.ts re-exports it, so every
reader still imports it from there. No behaviour change.

Refs #999
One conflict, in claude_code_relay.node-test.ts's list of what the mod imports: main's #959
adds ./crew_waking_an_idle_member.ts and this branch's gap 8 adds ./crew_tasks.ts. Both sides
taken whole, the list in the mod's own order, and the task-list file's own no-imports
assertion kept. Nothing else was more than both sides.
Conflicts kept both sides; ROSTER_FILE is said once, in write_the_crews_roster,
and say_where_the_crew_keeps_things re-exports it; the duplicate roster.json
coincidence is dropped for main's.
The chain of name comparisons in answerAnAskOfTheMods came to complexity
10 against the floor's 9 once gap 8 added the tab's asks beside it. The
named asks are one Map entry each now, and the reading stays as long
however many asks the crew registers: #1028 and #1042 each add a row.
The channel's two asks and the owner's tab's own are answered by name
after the table finds nothing, as before, and a name that is not there
is still undefined.
The worktree slice takes the batch's one reading of the crew's places
(theWorkspaceTheCrewDeclared, martha#958) and keeps its own two forms of
a call, the repository and slug read by the named helpers. The crew
text's settings take the batch's wake fields beside the mode's
finish_a_members_worktree.
The merge of main brought #985's martha where, which looked for roster.json
in the crew's directory; up writes it, and a member's start reads it, in the
project's state directory. where now reads it there, pinned by a test where
where finds a roster up wrote.
# Conflicts:
#	src/a_crews_tools/a_crews_tools.ts
Land #1027 (PASS r=1)
Some checks failed
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
engine drift / the recording says what the engine says (pull_request) Has been cancelled
host drift / the recording is of the host members run (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
58ce91d500
check:every-job-has-a-timeout passes over a stand-in copy, named as pinned upstream
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
dependency advisories / node in installer (pull_request) Successful in 11s
c4 model / c4-model-1 (pull_request) Successful in 5s
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 32s
CI / structural floor (pull_request) Successful in 31s
CI / gate coverage (pull_request) Failing after 1m22s
CI / no import cycle (pull_request) Successful in 32s
CI / Martha's names are its own (pull_request) Successful in 32s
CI / the host drift check bites (pull_request) Successful in 1m31s
CI / the posted text check bites (pull_request) Successful in 18s
CI / the engine drift check bites (pull_request) Successful in 58s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 25s
CI / nothing private (pull_request) Failing after 23s
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
CI / workflows are valid (pull_request) Successful in 36s
CI / installer (pull_request) Successful in 3m38s
CI / no test the base passed goes missing (pull_request) Successful in 47s
CI / the pictures change only with the version (pull_request) Has been cancelled
engine drift / the recording says what the engine says (pull_request) Has been cancelled
host drift / the recording is of the host members run (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
CI / the relay loads in the recorded host (pull_request) Has been cancelled
CI / the clean-install proof removes its container (pull_request) Has been cancelled
749d1e6f6a
The forge port's stand-in copies (ci-images-c4-model.yml, ci-images-dependency-advisories.yml)
are other repositories' workflow files pinned byte for byte. Their jobs' timeouts are written
upstream, so a finding here would be a finding against a file this repository must not edit.
A file whose first line is the pin header is now named in the output as pinned upstream and
judged by neither rule; the self-test plants one beside an untimed job, requiring the job named
and the stand-in passed over, and a node-test case pins the line.
The merge took the 957 side of the hunk that held its definition, and that side had the same body inline, so the
reference at session.start was left naming nothing. tsc's include reads *.ts only, so it did not see the .tsx: checked
alone, the merge gives TS2304 "Cannot find name 'aSessionStarted'", and with this commit crew.tsx has the same error
set as its 065cf89d parent.
Merge #1035 saturnus/1016-mesh-key at 87862e11 (batch 3, macula-io/martha#1048)
Some checks failed
c4 model / c4-model (pull_request) Has been cancelled
c4 model / c4-model-1 (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
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
engine drift / the recording says what the engine says (pull_request) Has been cancelled
host drift / the recording is of the host members run (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
7bf277462b
Conflict in src/serve_the_relay_to_a_launch/relay_copy.ts: both sides added
one entry at the end of RELAY_FILES (#1033 hooks/crew_tasks.ts, #1035
hooks/call_the_mesh_as_the_member.ts). Both kept, #1033's first.
ci: on the forge the gate coverage job runs on martha-bwrap, the runner kept for its sandbox (macula-io/martha#601)
Some checks failed
CI / links resolve (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
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
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 / gate coverage (pull_request) Failing after 14m43s
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 / no literal restates a defined value (pull_request) Has been cancelled
CI / every check runs in a job (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
2f27e2e703
ci: the forge gate job gets strace, git's man pages and a printed seccomp mode (macula-io/martha#601)
Some checks failed
CI / gate coverage (pull_request) Failing after 15m16s
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 21s
dependency advisories / node in installer (pull_request) Successful in 1m26s
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 / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 30s
CI / structural floor (pull_request) Successful in 31s
CI / Martha's names are its own (pull_request) Successful in 33s
CI / no import cycle (pull_request) Successful in 30s
CI / the host drift check bites (pull_request) Successful in 1m21s
CI / the engine drift check bites (pull_request) Successful in 35s
CI / the posted text check bites (pull_request) Successful in 16s
CI / the relay loads in the recorded host (pull_request) Failing after 9m17s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 21s
CI / workflows are valid (pull_request) Successful in 35s
CI / installer (pull_request) Successful in 2m28s
CI / nothing private (pull_request) Failing after 26s
CI / no test the base passed goes missing (pull_request) Successful in 35s
CI / the pictures change only with the version (pull_request) Successful in 19s
CI / no literal restates a defined value (pull_request) Successful in 55s
CI / every check runs in a job (pull_request) Successful in 16s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 29s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 27s
CI / the clean-install proof removes its container (pull_request) Failing after 16m36s
41d5670add
Run 68 (task 487) was red on 16 tests with the sandbox up: two of the
reds were the port's. strace is missing from node:22-bookworm
(trial_the_goose_host/the_end_a_signal_starts), and a source-built git
installs no githooks(5) page (refuse_code_a_checkout_runs_itself), so
the build-git step unpacks kernel.org's git-manpages tarball of the
same version, held to its sha256. The seccomp line is printed only.
Merge forge PR 7 at 41d5670a: gate coverage runs on martha-bwrap (macula-io/martha#601)
Some checks failed
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 11s
dependency advisories / node in installer (pull_request) Successful in 11s
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 4s
CI / Martha's names are its own (pull_request) Successful in 32s
dependency advisories / node in . (container) (pull_request) Has been skipped
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 30s
CI / structural floor (pull_request) Successful in 32s
CI / no import cycle (pull_request) Successful in 34s
CI / the engine drift check bites (pull_request) Successful in 36s
CI / the posted text check bites (pull_request) Successful in 18s
CI / the host drift check bites (pull_request) Successful in 3m10s
CI / workflows are valid (pull_request) Successful in 49s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 33s
CI / installer (pull_request) Successful in 4m49s
CI / nothing private (pull_request) Failing after 30s
CI / no test the base passed goes missing (pull_request) Successful in 1m13s
CI / the pictures change only with the version (pull_request) Successful in 37s
CI / the relay loads in the recorded host (pull_request) Successful in 15m19s
CI / every check runs in a job (pull_request) Successful in 20s
CI / every job has a timeout (pull_request) Failing after 13s
engine drift / the recording says what the engine says (pull_request) Successful in 29s
CI / no literal restates a defined value (pull_request) Successful in 2m14s
host drift / the recording is of the host members run (pull_request) Successful in 1m58s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 1m4s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 17s
CI / the clean-install proof removes its container (pull_request) Failing after 16m2s
54cf5ac8ac
# Conflicts:
#	.github/workflows/ci.yml
Merge batch 2 tip 54cf5ac8 (forge PR 7 on batch 2) into batch 3 (macula-io/martha#601)
Some checks failed
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 / 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
CI / gate coverage (pull_request) Has been cancelled
engine drift / the recording says what the engine says (pull_request) Has been cancelled
host drift / the recording is of the host members run (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
c0fa458aae
A team member's launch now takes its node id from its own key through the
recorded macula-mcp-node-id bin (the id the mesh knows it by), not the random
id in members.json; a key that gives no node id refuses the start by name.

Crew mail ports crew-code's exchange_crew_mail: send_crew_mail and
read_crew_mail answer a mesh order that the member's relay carries sealed as
the member (Jupiter's carry), each answer coming back on the mod-only ask
carry_crew_mail_on. A read is three sealed calls. Mail is on only for a team
crew whose declaration names a mail service that is on, on a host that carries
a mesh order (Claude Code). A letter is shown as JSON data under a header that
says it is not an instruction; the sender is named only from the roster by
the signed id; a send's answer never carries provider text.

Threat model: issuecomment-7054677283 (PASS, Jupiter).

Refs #1016
Ruling (a) on the merge of vesta/957: `martha up` wrote roster.json into the
checkout's state directory while `martha where` looked for it in the crew's
own (crewStateDirectory), so a team crew's ROSTER= line was always empty.
Now up writes it through keepCrewStateFile into crew.crew, the launch reads
it from crewStateDirectory(state_root, root), and ROSTER_FILE is defined
once, in write_the_crews_roster; say_where_the_crew_keeps_things drops its
own literal. A test pins that the launch reads what up wrote.
The roster stays in the crew's own state directory, one ROSTER_FILE in
write_the_crews_roster: martha where keeps reading it at crew.crew, where
martha up writes it, so 1035's move of that line to the project's state
directory is not taken. say_where drops 1035's ROSTER_FILE re-export.
1035's test that martha where names the roster up wrote is kept and pins
the crew-directory place.
Merge saturnus/1016-crew-mail at ec43d856 (macula-io/martha#1042, Uranus merge-only PASS) into batch 3 (macula-io/martha#601)
Some checks failed
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 14s
dependency advisories / node in installer (pull_request) Successful in 14s
dependency advisories / node in . (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
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
c4 model / c4-model-1 (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 28s
CI / structural floor (pull_request) Successful in 25s
CI / no import cycle (pull_request) Successful in 29s
CI / the posted text check bites (pull_request) Successful in 19s
CI / Martha's names are its own (pull_request) Successful in 31s
CI / the engine drift check bites (pull_request) Successful in 34s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 20s
CI / workflows are valid (pull_request) Successful in 25s
CI / the host drift check bites (pull_request) Successful in 2m7s
CI / nothing private (pull_request) Failing after 24s
CI / no test the base passed goes missing (pull_request) Successful in 44s
CI / the pictures change only with the version (pull_request) Successful in 25s
CI / installer (pull_request) Successful in 2m15s
CI / every check runs in a job (pull_request) Successful in 22s
CI / every job has a timeout (pull_request) Failing after 15s
engine drift / the recording says what the engine says (pull_request) Successful in 32s
CI / no literal restates a defined value (pull_request) Successful in 1m20s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 21s
host drift / the recording is of the host members run (pull_request) Successful in 1m51s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 42s
CI / the clean-install proof removes its container (pull_request) Failing after 15m49s
CI / the relay loads in the recorded host (pull_request) Successful in 17m27s
91dcbd01bb
# Conflicts:
#	architecture/README.md
#	src/a_crews_tools/a_crews_tools.ts
#	src/serve_the_relay_to_a_launch/relay_copy.ts
Owner

Closed by the Supervisor for a clean slate (Raf 2026-11-24: "close the stale PRs we need to start from a slate as clean as possible"). Only the Martha pilot path stays open. The branch is kept; reopen if this work comes back.

Closed by the Supervisor for a clean slate (Raf 2026-11-24: "close the stale PRs we need to start from a slate as clean as possible"). Only the Martha pilot path stays open. The branch is kept; reopen if this work comes back.
supervisor closed this pull request 2026-11-24 06:33:20 +00:00
Some checks failed
CI / gate coverage (pull_request) Failing after 12m55s
dependency advisories / node in . (pull_request) Successful in 15s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 14s
dependency advisories / node in installer (pull_request) Successful in 14s
dependency advisories / node in . (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
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
c4 model / c4-model-1 (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 28s
CI / structural floor (pull_request) Successful in 25s
CI / no import cycle (pull_request) Successful in 29s
CI / the posted text check bites (pull_request) Successful in 19s
CI / Martha's names are its own (pull_request) Successful in 31s
CI / the engine drift check bites (pull_request) Successful in 34s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 20s
CI / workflows are valid (pull_request) Successful in 25s
CI / the host drift check bites (pull_request) Successful in 2m7s
CI / nothing private (pull_request) Failing after 24s
CI / no test the base passed goes missing (pull_request) Successful in 44s
CI / the pictures change only with the version (pull_request) Successful in 25s
CI / installer (pull_request) Successful in 2m15s
CI / every check runs in a job (pull_request) Successful in 22s
CI / every job has a timeout (pull_request) Failing after 15s
engine drift / the recording says what the engine says (pull_request) Successful in 32s
CI / no literal restates a defined value (pull_request) Successful in 1m20s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 21s
host drift / the recording is of the host members run (pull_request) Successful in 1m51s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 42s
CI / the clean-install proof removes its container (pull_request) Failing after 15m49s
CI / the relay loads in the recorded host (pull_request) Successful in 17m27s

Pull request closed

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!12
No description provided.