martha.json: mesh.realm accepts the realm's name (io.macula.<slug>) and an optional station #158

Open
opened 2026-11-24 21:54:33 +00:00 by supervisor · 1 comment
Owner

Purpose (feature): a hosted-realm customer declares their crew's realm in martha.json by the name the portal shows them (io.macula.), and martha up resolves it to the realm key, so nobody copies a 64-hex key by hand.

DECIDED 2026-11-24 "agreed" (Raf), on the Supervisor's proposal: one realm per martha.json (a second realm or sub-realm is a second crew); mesh.realm accepts the name or the 64-hex key; an optional station to connect through (default stations otherwise); subscription, seats, payment and licence stay out of martha.json (portal and realm own them; the realm enforces seats at join). Filed for after the pilot (week priority: Martha pilot to v0.4.0).

Done-when:

  • mesh.realm takes either the 64-hex key (as today) or a realm name; a name is resolved once at martha up and the key it resolved to is printed.
  • An unresolvable name stops martha up by name, before any member starts.
  • Optional mesh.station (host); absent, today's default stations.
  • No subscription/seat/licence field is added.
  • The declaration check and its tests cover both forms; docs show the hosted form.

Refs macula-io/macula-portal#14

Purpose (feature): a hosted-realm customer declares their crew's realm in martha.json by the name the portal shows them (io.macula.<slug>), and `martha up` resolves it to the realm key, so nobody copies a 64-hex key by hand. DECIDED 2026-11-24 "agreed" (Raf), on the Supervisor's proposal: one realm per martha.json (a second realm or sub-realm is a second crew); mesh.realm accepts the name or the 64-hex key; an optional station to connect through (default stations otherwise); subscription, seats, payment and licence stay out of martha.json (portal and realm own them; the realm enforces seats at join). Filed for after the pilot (week priority: Martha pilot to v0.4.0). Done-when: - mesh.realm takes either the 64-hex key (as today) or a realm name; a name is resolved once at `martha up` and the key it resolved to is printed. - An unresolvable name stops `martha up` by name, before any member starts. - Optional mesh.station (host); absent, today's default stations. - No subscription/seat/licence field is added. - The declaration check and its tests cover both forms; docs show the hosted form. Refs macula-io/macula-portal#14
Author
Owner

Change to this issue: DECIDED 2026-11-24 "i'm not sure if station should be optional, frankly, unless it is part of the mcp config already, right?" (Raf). It is not part of the mcp config: the owner's macula entry carries no env, and Martha does not set MACULA_MESH_STATIONS today (only its proofs name it), so a member's server uses the station list built into @macula-io/mcp. Under DECIDED 2026-11-20 "martha up against this file should contain all info required", the station list is REQUIRED:

  • mesh.stations (one or more hosts) is required whenever mesh is declared; the first-run default declaration writes the current stations.
  • martha up hands it to every member's mesh server as MACULA_MESH_STATIONS (Claude Code and engine members alike); a declaration without it stops martha up by name.
  • The optional mesh.station line in the Done-when above is replaced by this.
Change to this issue: DECIDED 2026-11-24 "i'm not sure if station should be optional, frankly, unless it is part of the mcp config already, right?" (Raf). It is not part of the mcp config: the owner's macula entry carries no env, and Martha does not set MACULA_MESH_STATIONS today (only its proofs name it), so a member's server uses the station list built into @macula-io/mcp. Under DECIDED 2026-11-20 "martha up against this file should contain all info required", the station list is REQUIRED: - mesh.stations (one or more hosts) is required whenever mesh is declared; the first-run default declaration writes the current stations. - `martha up` hands it to every member's mesh server as MACULA_MESH_STATIONS (Claude Code and engine members alike); a declaration without it stops `martha up` by name. - The optional mesh.station line in the Done-when above is replaced by this.
Sign in to join this conversation.
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#158
No description provided.