start_a_member: the engine-install refusal test is red on main, refused earlier for a missing model #131

Closed
opened 2026-11-24 05:28:45 +00:00 by pluto · 1 comment
Member

Purpose (fix): npm test is green on main, so a package's handoff can rest on it. Today one test of the suite is red before any change is made.

What happens. src/start_a_member/start_a_member.node-test.ts:306, "#541: a member the declaration names the engine for is started on the engine's launcher, never on another host: with no engine on the path it is refused naming the engine's install", fails on main 979d7a06:

AssertionError [ERR_ASSERTION]: The member is not started: reviewer names no model: an engine member names its model; the engine's own default is never run
    at src/start_a_member/start_a_member.node-test.ts:313

The test's declaration is { name: 'reviewer', role: 'reviewer', host: THE_ENGINES_HOST }, with no model, so the start now refuses at the model check and never reaches the two things the test holds: that the refusal names THE_ENGINES_HOST and THE_ENGINES_INSTALL. The engine-install refusal it exists to prove is therefore unproved.

Reproduce (host00, node 26.10.0):

./prove_the_relay_loads/run_the_tests_of_one_file.sh src/start_a_member/start_a_member.node-test.ts --test-name-pattern='with no engine on the path it is refused naming the engine'

Fails the same way on main 979d7a06 and on pluto/124-session-store-path (main at f187dd7f plus #124), so it is not one branch's doing.

Gap, not a code defect yet. Either the test should name a model on its reviewer so the start reaches the install, or the model refusal should come after it. Which of the two is right is for the package that owns the start table, so this issue names the red and leaves the choice open.

Found while running the full suite for macula-io/martha#127; nothing of that package touches these files.

Refs macula-io/martha#127, macula-io/martha#541

Purpose (fix): `npm test` is green on main, so a package's handoff can rest on it. Today one test of the suite is red before any change is made. **What happens.** `src/start_a_member/start_a_member.node-test.ts:306`, "#541: a member the declaration names the engine for is started on the engine's launcher, never on another host: with no engine on the path it is refused naming the engine's install", fails on main 979d7a06: ``` AssertionError [ERR_ASSERTION]: The member is not started: reviewer names no model: an engine member names its model; the engine's own default is never run at src/start_a_member/start_a_member.node-test.ts:313 ``` The test's declaration is `{ name: 'reviewer', role: 'reviewer', host: THE_ENGINES_HOST }`, with no model, so the start now refuses at the model check and never reaches the two things the test holds: that the refusal names `THE_ENGINES_HOST` and `THE_ENGINES_INSTALL`. The engine-install refusal it exists to prove is therefore unproved. **Reproduce** (host00, node 26.10.0): ``` ./prove_the_relay_loads/run_the_tests_of_one_file.sh src/start_a_member/start_a_member.node-test.ts --test-name-pattern='with no engine on the path it is refused naming the engine' ``` Fails the same way on main 979d7a06 and on `pluto/124-session-store-path` (main at f187dd7f plus #124), so it is not one branch's doing. **Gap, not a code defect yet.** Either the test should name a model on its reviewer so the start reaches the install, or the model refusal should come after it. Which of the two is right is for the package that owns the start table, so this issue names the red and leaves the choice open. Found while running the full suite for macula-io/martha#127; nothing of that package touches these files. Refs macula-io/martha#127, macula-io/martha#541
Author
Member

Met. Ran on current main c02dc1f7 (which holds PR 121 as 390d8e89), clean tree:

./prove_the_relay_loads/run_the_tests_of_one_file.sh src/start_a_member/start_a_member.node-test.ts
ℹ tests 45
ℹ pass 45
ℹ fail 0

The named test ran and is not skipped: #541: ... with no engine on the path it is refused naming the engine's install (mutant: the table keyed by the crew's host), 60 ms. Its three assertions are intact (start_a_member.node-test.ts:313-315): the refusal names THE_ENGINES_HOST and THE_ENGINES_INSTALL_COMMAND, and the fake Claude was never run.

The gap this issue left open was resolved by the package that owns the start table, not by loosening the test: the declaration at :306 still names the reviewer no model, and PR 121 made an engine member with no recorded engine on the path refuse naming martha engine install (whyTheRecordedEngineIsNotHere, start_the_member_on_its_host) before the model check runs. So the engine-install refusal the test exists to prove is reached and proved.

Closing as met.

Met. Ran on current main `c02dc1f7` (which holds PR 121 as `390d8e89`), clean tree: ``` ./prove_the_relay_loads/run_the_tests_of_one_file.sh src/start_a_member/start_a_member.node-test.ts ℹ tests 45 ℹ pass 45 ℹ fail 0 ``` The named test ran and is not skipped: `#541: ... with no engine on the path it is refused naming the engine's install (mutant: the table keyed by the crew's host)`, 60 ms. Its three assertions are intact (`start_a_member.node-test.ts:313-315`): the refusal names `THE_ENGINES_HOST` and `THE_ENGINES_INSTALL_COMMAND`, and the fake Claude was never run. The gap this issue left open was resolved by the package that owns the start table, not by loosening the test: the declaration at `:306` still names the reviewer no model, and PR 121 made an engine member with no recorded engine on the path refuse naming `martha engine install` (`whyTheRecordedEngineIsNotHere`, `start_the_member_on_its_host`) before the model check runs. So the engine-install refusal the test exists to prove is reached and proved. Closing as met.
pluto closed this issue 2026-11-24 07:39:34 +00:00
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#131
No description provided.