A crew that declares a mesh starts each Claude Code member on the recorded mesh server (martha#324) #335
Loading…
Reference in a new issue
No description provided.
Delete branch "neptunus/324-mesh-in-own-mcp-json"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #324 (follows #191). Based on main
7daf547b. Ruling: option (b), Supervisor 2026-12-01.When the crew declares a mesh (a realm or a station), the launch adds the newest recorded
@macula-io/mcppin to its own snapshot copy of the servers file, and that copy is what the member is started with. The existing placement then starts it from the recorded tree and hands itMACULA_MESH_STATIONSandMACULA_MESH_REALMS, as for an owner's own pin..mcp.jsonis never touched.maculaalso wins, whatever it installs. In both cases nothing is added..mcp.jsonat all gets the snapshot copy named with--mcp-config.mesh_settings, and nothing is added. Before, it handed{}, which has the same effect downstream.aCrewDeclaresAMesh(inthe_crews_workspace.ts) is now the one rule for "declares a mesh". The engine member's start (#181) and the Claude Code start both use it.configure_the_crew.ts.Tests (
launch_a_claude_code_member.node-test.ts, "#324", real launches on the fake host; the recorded tree comes from the loopback fake registry, so no outside host is reached):macula, placed from the newest recorded tree with the crew's stations and realm key. The owner's file is byte-identical afterwards..mcp.json: the member getsmaculaonly, and no file is written into the checkout.macula: it is used as written.start_the_member_on_its_host.node-test.ts#158: a crew with no mesh now hands its launch nomesh_settings.Mutants, each run and each failing a test:
macula-key guard dropped--mcp-configswitch added for a checkout with no filereadyLaunchdroppedmesh_settingsto a crew that declares no mesh