martha#181: an engine member gets its mesh server when the crew declares a mesh #210

Manually merged
terra merged 4 commits from uranus/181-engine-mesh-server into main 2026-11-26 03:19:36 +00:00
Member

Purpose (feature): an engine (Goose) member reaches the crew's mesh as a Claude Code member does, by the same recorded-bytes and environment rules. Refs martha#181 (threat model comment 5162, plan comment 5180).

What changes

  • derive_the_config_of_a_goose_launch: the root names the crew's tool server and, when given, the mesh server after it; the read-back takes the exact server list, in order. A mapping's empty value is written "" (bare is YAML null).
  • New slice give_an_engine_member_its_mesh_server (declared a host adapter, like install_the_mesh_server_for_claude_code): a one-entry pin of the newest recorded @macula-io/mcp through placeRecordedMeshServers, written as the engine's stdio entry. No env_keys. A name in disallowed_env is left out only where the launch environment already gives the server that value (PATH); any other is refused by name.
  • launch_a_goose_member: optional mesh_server, built from the environment the launch hands its engine; a refusal starts nothing and leaves nothing.
  • start_an_engine_member / host table: theMeshOfAnEngineStart: no realm and no station declared → none, no key read, root byte-identical; else mesh settings, plus a team member's key and node id. Session-store read-back expects the extensions the root named.
  • the_engines_places: wordless_answers only for a team member (node id known). Solo: every mesh answer is taken in.
  • Docs: docs/the-declaration.md says the engine member's mesh, and that a solo member's server makes a fresh key per launch. C4 box + row.

Correction to the threat model, T3: wordless_answers absent is the safe side. A mesh answer is a tool server's answer (from_a_tool_server), taken in on the mesh tool's row, so the hold is that row, tested here. wordless_answers only relaxes it, and is given only where the node id is known.

Open for review: version = newest recorded (RECORDED_MESH_SERVERS.at(-1), today 0.51.6), as startOfARecordedBin takes. Timeout 3600 s (the mesh's longest wait), Martha's own value.

Proof: one pid-namespace run at a time. Command, counts and mutants are in the HANDOFF.

🤖 Generated with Claude Code

Purpose (feature): an engine (Goose) member reaches the crew's mesh as a Claude Code member does, by the same recorded-bytes and environment rules. Refs martha#181 (threat model comment 5162, plan comment 5180). **What changes** - `derive_the_config_of_a_goose_launch`: the root names the crew's tool server and, when given, the mesh server after it; the read-back takes the exact server list, in order. A mapping's empty value is written `""` (bare is YAML null). - New slice `give_an_engine_member_its_mesh_server` (declared a host adapter, like `install_the_mesh_server_for_claude_code`): a one-entry pin of the newest recorded `@macula-io/mcp` through `placeRecordedMeshServers`, written as the engine's stdio entry. No `env_keys`. A name in `disallowed_env` is left out only where the launch environment already gives the server that value (PATH); any other is refused by name. - `launch_a_goose_member`: optional `mesh_server`, built from the environment the launch hands its engine; a refusal starts nothing and leaves nothing. - `start_an_engine_member` / host table: `theMeshOfAnEngineStart`: no realm and no station declared → none, no key read, root byte-identical; else mesh settings, plus a team member's key and node id. Session-store read-back expects the extensions the root named. - `the_engines_places`: `wordless_answers` only for a team member (node id known). Solo: every mesh answer is taken in. - Docs: `docs/the-declaration.md` says the engine member's mesh, and that a solo member's server makes a fresh key per launch. C4 box + row. **Correction to the threat model, T3:** `wordless_answers` absent is the safe side. A mesh answer is a tool server's answer (`from_a_tool_server`), taken in on the mesh tool's row, so the hold is that row, tested here. `wordless_answers` only relaxes it, and is given only where the node id is known. **Open for review:** version = newest recorded (`RECORDED_MESH_SERVERS.at(-1)`, today 0.51.6), as `startOfARecordedBin` takes. Timeout 3600 s (the mesh's longest wait), Martha's own value. Proof: one pid-namespace run at a time. Command, counts and mutants are in the HANDOFF. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
martha#181: an engine member gets its mesh server when the crew declares a mesh
All checks were successful
dependency advisories / node in . (pull_request) Successful in 13s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 15s
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 6s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 6s
CI / structural floor (pull_request) Successful in 29s
CI / Martha's names are its own (pull_request) Successful in 29s
CI / no import cycle (pull_request) Successful in 29s
CI / the host drift check bites (pull_request) Successful in 1m7s
CI / the engine drift check bites (pull_request) Successful in 34s
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 14s
CI / workflows are valid (pull_request) Successful in 12s
CI / installer (pull_request) Successful in 2m15s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 39s
CI / the pictures change only with the version (pull_request) Successful in 20s
CI / no literal restates a defined value (pull_request) Successful in 1m4s
CI / every check runs in a job (pull_request) Successful in 14s
CI / every job has a timeout (pull_request) Successful in 16s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 35s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 19s
CI / gate coverage (pull_request) Successful in 17m11s
CI / the relay loads in the recorded host (pull_request) Successful in 15m41s
CI / the clean-install proof removes its container (pull_request) Successful in 19m58s
fbb1e6ee7e
A Goose launch's config root names the crew's tool server and, when the crew
declares a mesh, the recorded @macula-io/mcp server after it. The new slice
give_an_engine_member_its_mesh_server places the newest recorded version through
placeRecordedMeshServers (proved tree, confined start, allow-list environment,
crew mesh settings, a team member's key pinned last) and writes it as the
engine's stdio entry: no env_keys; a name the engine drops is left out only where
the launch environment already gives that value (PATH), else refused by name.

The root read-back takes the exact server list in order; the session store reads
back the extensions the root named. A mesh answer is taken in as a tool server's
answer on the mesh tool's row; wordless_answers only for a team member, whose node
id is known. No mesh declared: no key read, root byte-identical to before.

Refs martha#181 (threat model c5162, plan c5180)
martha#181 r2: the start's mesh wiring is tested, and the mesh server's name is said once
Some checks failed
dependency advisories / node in . (pull_request) Successful in 13s
dependency advisories / node in installer (pull_request) Successful in 12s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 13s
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 6s
CI / structural floor (pull_request) Successful in 27s
CI / Martha's names are its own (pull_request) Successful in 27s
CI / no import cycle (pull_request) Successful in 28s
CI / the host drift check bites (pull_request) Successful in 1m24s
CI / the engine drift check bites (pull_request) Successful in 48s
CI / the posted text check bites (pull_request) Successful in 11s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 15s
CI / workflows are valid (pull_request) Successful in 14s
CI / installer (pull_request) Successful in 2m15s
CI / nothing private (pull_request) Has been skipped
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 1m0s
CI / every check runs in a job (pull_request) Successful in 13s
CI / every job has a timeout (pull_request) Successful in 15s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 32s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 19s
CI / the relay loads in the recorded host (pull_request) Successful in 15m29s
CI / the clean-install proof removes its container (pull_request) Failing after 21m2s
CI / gate coverage (pull_request) Successful in 16m50s
4d785d8503
Fix 1 (Neptunus r1): theMeshServerOfAStart takes the mesh slice's builder as a
test's hand (default unchanged) and is exported with theWordlessAnswersOf; two
tests pin that a declared mesh hands the launch a mesh server built from the
crew's settings, the member's key, the tree root and the launch environment,
that no mesh hands none, and that only a team member's launch gives a reading.

Fix 2 (Mars ruled option a): THE_MESH_SERVERS_KEY is exported; the hook keeps its
literal, declared with A_HOOKS_MODULE_CANNOT_IMPORT, and its two tests import the
key so they pin it; launch_a_claude_code_member's test imports it; the other
sites are a test's own names, each declared as a coincidence of its slice.

Refs martha#181
Merge main bc8c2c25 into the engine member's mesh server (martha#181)
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 13s
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 5s
CI / links resolve (pull_request) Successful in 4s
c4 model / c4-model (pull_request) Successful in 0s
CI / Martha's names are its own (pull_request) Successful in 22s
CI / structural floor (pull_request) Successful in 29s
CI / no import cycle (pull_request) Successful in 27s
CI / the posted text check bites (pull_request) Successful in 8s
CI / the engine drift check bites (pull_request) Successful in 29s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 14s
CI / workflows are valid (pull_request) Successful in 14s
CI / the host drift check bites (pull_request) Successful in 1m27s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 39s
CI / the pictures change only with the version (pull_request) Successful in 19s
CI / installer (pull_request) Successful in 2m16s
CI / every check runs in a job (pull_request) Successful in 16s
CI / no literal restates a defined value (pull_request) Successful in 1m16s
CI / every job has a timeout (pull_request) Successful in 16s
engine drift / the recording says what the engine says (pull_request) Successful in 54s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 15s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 44s
host drift / the recording is of the host members run (pull_request) Successful in 2m10s
CI / the relay loads in the recorded host (pull_request) Successful in 15m0s
CI / the clean-install proof removes its container (pull_request) Successful in 21m2s
CI / gate coverage (pull_request) Failing after 23s
1004ca0e0a
Re-run CI for martha#181: run 5117 failed at checkout on the build00 runner (build00 DNS, not code)
All checks were successful
CI / structural floor (pull_request) Successful in 30s
CI / no import cycle (pull_request) Successful in 30s
CI / Martha's names are its own (pull_request) Successful in 35s
CI / the posted text check bites (pull_request) Successful in 14s
CI / the engine drift check bites (pull_request) Successful in 29s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 15s
CI / workflows are valid (pull_request) Successful in 17s
CI / nothing private (pull_request) Has been skipped
CI / the host drift check bites (pull_request) Successful in 1m46s
CI / no test the base passed goes missing (pull_request) Successful in 51s
CI / the pictures change only with the version (pull_request) Successful in 22s
CI / every check runs in a job (pull_request) Successful in 16s
CI / every job has a timeout (pull_request) Successful in 16s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 39s
CI / no literal restates a defined value (pull_request) Successful in 1m29s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 17s
CI / gate coverage (pull_request) Successful in 19m9s
CI / installer (pull_request) Successful in 3m2s
CI / the relay loads in the recorded host (pull_request) Successful in 15m58s
CI / the clean-install proof removes its container (pull_request) Successful in 20m21s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in . (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 / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 10s
c4 model / c4-model-1 (pull_request) Successful in 6s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 6s
dependency advisories / node in installer (pull_request) Successful in 15s
dependency advisories / advisories (pull_request) Successful in 0s
d7019e74cc
terra manually merged commit 965e3df801 into main 2026-11-26 03:19:36 +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!210
No description provided.