martha#176: re-record 0.51.6 for the answer shapes, ring keys and petnames, from one round on the DEV realm #177

Manually merged
terra merged 4 commits from pluto/176-re-record-0516 into main 2026-11-25 13:25:54 +00:00
Member

Purpose

martha#176: the four recordings that pin the mesh server's own answers are taken again from 0.51.6, the one version martha installs, so the gates a member's shell stands on are proved against the server that member runs.

What this change is

One round, once by hand, against the one tarball macula-pub serves for @macula-io/mcp 0.51.6 (npm pack from the forge registry: 4513 own files, 124 bundled deps):

  • npm run record:mesh-answers -- <the tgz> macula-mcp, with MARTHA_RECORDING_STATION naming station-de-nuremberg.macula.io:4433@00a9b414... and the named run on https://realm.beam-campus.net. It wrote recorded_mesh_answer_shapes.json (0.51.6: 25 leaves for mesh_hello, 3 for mesh_goodbye, the eight defaults, both states, the four policy labels) and recorded_petnames.json (0.51.6 in server_versions; the seven pairs are unchanged, so 0.51.6 derives the same petnames).

    • The bare run's own default station is now station-de-falkenstein.macula.io:4433 where 0.51.0's recording had station-de-frankfurt.macula.io:4433; everything else about the two states is what the old recording held. That is the recording doing its job: it pins the seed the server itself answers with.
  • npm run record:ring-results -- <the tgz> macula-mcp wrote recorded_ring_result_keys.json for 0.51.6. Its key sets are identical to 0.51.2's, and its not_an_acknowledgement sentence is unchanged.

  • 0.51.0 and 0.51.2 retire from those three recordings in this same commit, since 0.51.6 is the only version a member may install (#168).

A defect the round found

record_ring_results read every path in the server's own directory that ends in .js, and a bundled dependency ships a directory called node_modules/ipaddr.js, so the sentence scan died EISDIR before anything was recorded. Only a file is read now, the same rule the install module reads a server's own files by (ownCodeOf).

Not retaken, and why

recorded_host_ring_answers.json is the host's tool.call wrapper, captured through a hook on a real Claude Code host with a second agent on the station. Retaking it needs a nested host session (spend), and what it is read for did not move: 0.51.6's ring keys are identical to the keys that file pins. Its server field still names 0.51.2, and this round says so rather than letting it read as retaken. The Supervisor has the deviation.

Gates

  • npm run typecheck: clean; npm run check:private -- --range origin/main..HEAD: nothing private; npm run check:restated-values: no literal restates a defined value.
  • The four gate files that read the recordings: 124/124 (prove_a_mesh_answer_is_wordless, read_a_ring_results_sender, check_every_path_is_gated, name_a_node_by_its_petname, and the ring recorder's own new one).
  • The three further files that consume them: 201 pass, 1 skipped, 0 fail (every_attesting_row_records_a_sender, every_shell_gate_row_is_recorded, launch_a_claude_code_member).
  • The suite, stage 3 of npm test with its own words, bounded to four files at a time and nice 10 on the crew's host against this tip: 5421 tests, 5383 pass, 0 fail, 38 skipped.
  • The forge's own gate coverage job has not yet been scheduled on this tip (the runs were still queued when this was written). On the first tip it did run, and its one red was a single clean-install command test that killed itself at its own 50 second bound; the job that carries that test in a sibling job has since been cancelled mid-flight on two tips, which is filed as a method gap rather than fixed here.

Round 2

The review's four items are in: the petnames _why names 0.51.6, the petname header and the display-names doc name 0.51.6, and the ring recorder's sentence scan moved to its own rule so a test can reach it. That test plants a tree with a directory named ipaddr.js beside a real .js file and a tree with the directory and no sentence; with the isFile() guard dropped both go red on the EISDIR. Two of my own checks then caught the test itself (a restated constant, and a tree removed without the bounded retry), both fixed in this branch.

What the round admitted, and the read-back

Four servers started, each registering one citizen entry in mcl-citizens: six entries in all (the first ring attempt registered its two before it died on the defect above). No realm membership was issued: the recorder sets neither MACULA_MCP_AUTOJOIN_REALM nor a bind, and the recording itself reports citizenship.registered: true with realm.joined: false, so there is nothing for the DEV realm's admin desk to revoke. mcl-citizens serves no revoke and no deregister: an entry is presence, kept at most twenty minutes and renewed only while the server runs, so the six age out after the round stops. The round's comment carries the read-back of the directory after that bound.

Refs #176.

## Purpose martha#176: the four recordings that pin the mesh server's own answers are taken again from 0.51.6, the one version martha installs, so the gates a member's shell stands on are proved against the server that member runs. ## What this change is One round, once by hand, against the one tarball macula-pub serves for `@macula-io/mcp` 0.51.6 (`npm pack` from the forge registry: 4513 own files, 124 bundled deps): - `npm run record:mesh-answers -- <the tgz> macula-mcp`, with `MARTHA_RECORDING_STATION` naming `station-de-nuremberg.macula.io:4433@00a9b414...` and the named run on `https://realm.beam-campus.net`. It wrote `recorded_mesh_answer_shapes.json` (0.51.6: 25 leaves for `mesh_hello`, 3 for `mesh_goodbye`, the eight defaults, both states, the four policy labels) and `recorded_petnames.json` (0.51.6 in `server_versions`; the seven pairs are unchanged, so 0.51.6 derives the same petnames). - The bare run's own default station is now `station-de-falkenstein.macula.io:4433` where 0.51.0's recording had `station-de-frankfurt.macula.io:4433`; everything else about the two states is what the old recording held. That is the recording doing its job: it pins the seed the server itself answers with. - `npm run record:ring-results -- <the tgz> macula-mcp` wrote `recorded_ring_result_keys.json` for 0.51.6. Its key sets are **identical** to 0.51.2's, and its `not_an_acknowledgement` sentence is unchanged. - 0.51.0 and 0.51.2 retire from those three recordings in this same commit, since 0.51.6 is the only version a member may install (#168). ## A defect the round found `record_ring_results` read every path in the server's own directory that ends in `.js`, and a bundled dependency ships a **directory** called `node_modules/ipaddr.js`, so the sentence scan died `EISDIR` before anything was recorded. Only a file is read now, the same rule the install module reads a server's own files by (`ownCodeOf`). ## Not retaken, and why `recorded_host_ring_answers.json` is the host's `tool.call` wrapper, captured through a hook on a real Claude Code host with a second agent on the station. Retaking it needs a nested host session (spend), and what it is read for did not move: 0.51.6's ring keys are identical to the keys that file pins. Its `server` field still names 0.51.2, and this round says so rather than letting it read as retaken. The Supervisor has the deviation. ## Gates - `npm run typecheck`: clean; `npm run check:private -- --range origin/main..HEAD`: nothing private; `npm run check:restated-values`: no literal restates a defined value. - The four gate files that read the recordings: 124/124 (`prove_a_mesh_answer_is_wordless`, `read_a_ring_results_sender`, `check_every_path_is_gated`, `name_a_node_by_its_petname`, and the ring recorder's own new one). - The three further files that consume them: 201 pass, 1 skipped, 0 fail (`every_attesting_row_records_a_sender`, `every_shell_gate_row_is_recorded`, `launch_a_claude_code_member`). - The suite, stage 3 of `npm test` with its own words, bounded to four files at a time and nice 10 on the crew's host against this tip: 5421 tests, 5383 pass, 0 fail, 38 skipped. - The forge's own `gate coverage` job has not yet been scheduled on this tip (the runs were still queued when this was written). On the first tip it did run, and its one red was a single clean-install command test that killed itself at its own 50 second bound; the job that carries that test in a sibling job has since been cancelled mid-flight on two tips, which is filed as a method gap rather than fixed here. ## Round 2 The review's four items are in: the petnames `_why` names 0.51.6, the petname header and the display-names doc name 0.51.6, and the ring recorder's sentence scan moved to its own rule so a test can reach it. That test plants a tree with a directory named `ipaddr.js` beside a real `.js` file and a tree with the directory and no sentence; with the `isFile()` guard dropped both go red on the EISDIR. Two of my own checks then caught the test itself (a restated constant, and a tree removed without the bounded retry), both fixed in this branch. ## What the round admitted, and the read-back Four servers started, each registering one citizen entry in mcl-citizens: six entries in all (the first ring attempt registered its two before it died on the defect above). No realm membership was issued: the recorder sets neither `MACULA_MCP_AUTOJOIN_REALM` nor a bind, and the recording itself reports `citizenship.registered: true` with `realm.joined: false`, so there is nothing for the DEV realm's admin desk to revoke. mcl-citizens serves no revoke and no deregister: an entry is presence, kept at most twenty minutes and renewed only while the server runs, so the six age out after the round stops. The round's comment carries the read-back of the directory after that bound. Refs #176.
martha#176: re-record 0.51.6 for the answer shapes, ring keys and petnames, from one round on the DEV realm
Some checks failed
CI / the host drift check bites (pull_request) Successful in 1m3s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 8s
CI / no test the base passed goes missing (pull_request) Successful in 42s
CI / every check runs in a job (pull_request) Successful in 17s
CI / Martha's names are its own (pull_request) Successful in 1m39s
CI / nothing private (pull_request) Has been skipped
CI / workflows are valid (pull_request) Successful in 9s
CI / the pictures change only with the version (pull_request) Successful in 14s
CI / no literal restates a defined value (pull_request) Successful in 56s
CI / every job has a timeout (pull_request) Successful in 17s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 25s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 20s
CI / installer (pull_request) Successful in 2m20s
CI / the relay loads in the recorded host (pull_request) Successful in 19m32s
CI / the clean-install proof removes its container (pull_request) Successful in 20m6s
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 9s
c4 model / c4-model-1 (pull_request) Successful in 3s
c4 model / c4-model (pull_request) Successful in 0s
dependency advisories / node in . (pull_request) Successful in 12s
dependency advisories / advisories (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 4s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 18s
CI / gate coverage (pull_request) Failing after 12m28s
CI / structural floor (pull_request) Successful in 21s
CI / no import cycle (pull_request) Successful in 20s
CI / the engine drift check bites (pull_request) Successful in 18s
CI / the posted text check bites (pull_request) Successful in 7s
a648fedc4b
The two recording tools ran once by hand against the one tarball macula-pub serves for
@macula-io/mcp 0.51.6: record:mesh-answers wrote the answer shapes and the petnames (its
named run on realm.beam-campus.net with station-de-nuremberg named), and
record:ring-results wrote the ring result keys. 0.51.0 and 0.51.2 retire from those
three recordings in this same commit, since 0.51.6 is the only version a member may
install and no gate should read behaviour recorded from a version nobody runs.

The round found a defect in the ring recorder: it read every path ending in .js inside
the server's own directory, and a bundled dependency ships a DIRECTORY called
ipaddr.js, so the sentence scan died EISDIR before anything was recorded. Only a file is
read now, the same rule the install module reads a server's own files by.

recorded_host_ring_answers.json is deliberately not retaken: it is the host's tool.call
wrapper, captured through a hook on a real Claude Code host, and 0.51.6's ring keys are
identical to the keys that file pins, so nothing it is read for changed. Its server
field still names 0.51.2, and the issue says so rather than letting it read as retaken.

Refs #176.
martha#176 r=1: fold the review: 0.51.6 in the text that still named retired versions, and a test for the EISDIR fix
Some checks failed
c4 model / c4-model-1 (pull_request) Successful in 4s
CI / links resolve (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
dependency advisories / node in installer (pull_request) Successful in 18s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 18s
dependency advisories / node in . (pull_request) Successful in 19s
dependency advisories / advisories (pull_request) Successful in 0s
CI / structural floor (pull_request) Successful in 25s
CI / Martha's names are its own (pull_request) Successful in 25s
CI / no import cycle (pull_request) Successful in 24s
CI / the posted text check bites (pull_request) Successful in 8s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 10s
CI / workflows are valid (pull_request) Successful in 10s
CI / nothing private (pull_request) Has been skipped
CI / the engine drift check bites (pull_request) Successful in 36s
CI / the relay loads in the recorded host (pull_request) Failing after 7m20s
CI / gate coverage (pull_request) Has been cancelled
CI / the pictures change only with the version (pull_request) Successful in 20s
CI / no test the base passed goes missing (pull_request) Successful in 42s
CI / the clean-install proof removes its container (pull_request) Has been cancelled
CI / the host drift check bites (pull_request) Successful in 1m18s
CI / every check runs in a job (pull_request) Successful in 12s
CI / every job has a timeout (pull_request) Successful in 19s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 27s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 19s
CI / no literal restates a defined value (pull_request) Failing after 1m9s
CI / installer (pull_request) Successful in 2m9s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
3ec75263d8
The review's four items, all in this one commit on top of the round.

The petnames recording's `_why` said the seven pairs were read from 0.51.0 and 0.51.2 while
`server_versions` is 0.51.6; the recorder carries `_why` over, so it is a hand edit. The petname
module's header and the display-names doc in the answer-shape rule now name 0.51.6, the version
their recording pins; the display-names sentence also keeps what the earlier versions did, as
history, because the pass-through branch it explains is still computed.

The sentence the ring recorder reads out of the installed server moves to its own rule,
the_sentence_about_an_unread_answer.ts, only so a test can reach it: importing the recorder
would run its usage line and exit. The reading itself is unchanged, a file only, never a
directory. Its test plants a tree with a directory named `ipaddr.js` beside a real `.js` file
and a tree with the directory and no sentence at all: with the isFile() guard dropped, both go
red on the EISDIR the round found.

Refs #176.
martha#176 r=1: the new test imports the two path constants instead of writing them
Some checks failed
CI / the pictures change only with the version (pull_request) Successful in 12s
CI / no test the base passed goes missing (pull_request) Successful in 38s
dependency advisories / node in . (pull_request) Successful in 8s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 7s
dependency advisories / node in . (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 (container) (pull_request) Has been skipped
c4 model / c4-model-1 (pull_request) Successful in 3s
CI / no literal restates a defined value (pull_request) Successful in 50s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 4s
CI / every job has a timeout (pull_request) Successful in 9s
dependency advisories / node in installer (pull_request) Successful in 14s
dependency advisories / advisories (pull_request) Successful in 0s
CI / every check runs in a job (pull_request) Successful in 54s
CI / no import cycle (pull_request) Successful in 20s
CI / Martha's names are its own (pull_request) Successful in 21s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 26s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 16s
CI / structural floor (pull_request) Successful in 30s
CI / the engine drift check bites (pull_request) Successful in 18s
CI / the posted text check bites (pull_request) Successful in 15s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 14s
CI / installer (pull_request) Successful in 2m36s
CI / workflows are valid (pull_request) Successful in 12s
CI / nothing private (pull_request) Has been skipped
CI / the host drift check bites (pull_request) Successful in 58s
CI / the relay loads in the recorded host (pull_request) Successful in 15m47s
CI / the clean-install proof removes its container (pull_request) Failing after 17m10s
CI / gate coverage (pull_request) Has been cancelled
adb1ed94dc
"no literal restates a defined value" failed on the test the previous commit added: 'node_modules'
and 'package.json' restate exactly_the_lock.ts's DEPENDENCIES and MANIFEST, at four sites. Imported,
the check is clean and the test still bites: a directory named like code beside a real file is
scanned, and a tree with no sentence is refused by name (2/2).

Refs #176.
martha#176 r=2: the new test removes its tree with removeTheTree, not rmSync
All checks were successful
dependency advisories / node in . (pull_request) Successful in 11s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 12s
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
c4 model / c4-model-1 (pull_request) Successful in 5s
CI / structural floor (pull_request) Successful in 27s
CI / Martha's names are its own (pull_request) Successful in 28s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 6s
CI / no import cycle (pull_request) Successful in 29s
CI / the host drift check bites (pull_request) Successful in 1m8s
CI / the engine drift check bites (pull_request) Successful in 53s
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 15s
CI / workflows are valid (pull_request) Successful in 13s
CI / installer (pull_request) Successful in 2m12s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 32s
CI / the pictures change only with the version (pull_request) Successful in 20s
CI / every check runs in a job (pull_request) Successful in 16s
CI / every job has a timeout (pull_request) Successful in 15s
CI / no literal restates a defined value (pull_request) Successful in 1m2s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 30s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 16s
CI / the relay loads in the recorded host (pull_request) Successful in 15m34s
CI / the clean-install proof removes its container (pull_request) Successful in 20m27s
CI / gate coverage (pull_request) Successful in 17m7s
26c2a44a47
The suite's own check caught it, by name: "no test file in the suite removes a tree without the
bounded retry (martha#272)", pointing at both rmSync calls in the test added for the EISDIR fix.
removeTheTree retries while something is still writing in the tree. The affected files are green
with it: 14/14 across the test and that check, check:restated-values clean, typecheck clean.

Refs #176.
terra manually merged commit bbd0e14e48 into main 2026-11-25 13:25:54 +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!177
No description provided.