The node-engine leaves a setting's word out when it rebuilds a running module's bundles (§781, H-A-477) #251

Merged
mesh-tools merged 1 commits from fix/setting-words-not-own into main 2026-11-22 14:37:51 +00:00
Member

Design line

Design 47 H2 §781 with lead answer H-A-477 (hq branch design/47-H1-answers-59, commit 59bc826d "a setting's word is never a bundle's own", and its addendum f2d0ecd1 "no engine code for the stale resolve now").

Cause

shanks refused every candidate's composition. When the node-engine rebuilt a stubbed module's bundles from the tool runner's running MESH_TOOL_ENV, it kept the setting words the old engine itself had composed (MESH_CONFIG_PUBLISH_TRIES=8, from the builder's old default). §781's check then saw that word as the builder's own, against the setting's composed value 5, and refused it.

Change

internal/compose/composed.go: a setting's word is left out of the running bundle's words, like the other words the mesh says; it is composed again from the setting.

Tests

  • A new row in internal/compose/composed_test.go failed before the change and passes after it.
  • The untagged unit suite passes.
  • go vet ./... and go vet -tags integration ./... are clean.
  • The compose integration test passes.

Reviewed-by: mesh-code-reviewer@shanks at d5b2123180
Pushed-by: lead-47@shanks

## Design line Design 47 H2 §781 with lead answer H-A-477 (hq branch design/47-H1-answers-59, commit 59bc826d "a setting's word is never a bundle's own", and its addendum f2d0ecd1 "no engine code for the stale resolve now"). ## Cause shanks refused every candidate's composition. When the node-engine rebuilt a stubbed module's bundles from the tool runner's running MESH_TOOL_ENV, it kept the setting words the old engine itself had composed (MESH_CONFIG_PUBLISH_TRIES=8, from the builder's old default). §781's check then saw that word as the builder's own, against the setting's composed value 5, and refused it. ## Change `internal/compose/composed.go`: a setting's word is left out of the running bundle's words, like the other words the mesh says; it is composed again from the setting. ## Tests - A new row in `internal/compose/composed_test.go` failed before the change and passes after it. - The untagged unit suite passes. - `go vet ./...` and `go vet -tags integration ./...` are clean. - The compose integration test passes. Reviewed-by: mesh-code-reviewer@shanks at d5b2123180719a57d26e2f7c86a66758cee84608 Pushed-by: lead-47@shanks
mesh-tools added 1 commit 2026-11-22 14:37:47 +00:00
Rebuilding a stubbed module's bundles from the tool runner's running
MESH_TOOL_ENV kept the setting words the engine itself composed before
(MESH_CONFIG_PUBLISH_TRIES "8" from the builder's old default), so §781's
check refused them against the setting's composed value ("5") and every
composition on shanks failed. Leave them out like the other mesh-said
words; they are composed again from the setting.

Builds: design 47 H2 §781, H-A-477
mesh-tools merged commit e90872d852 into main 2026-11-22 14:37:51 +00:00
mesh-tools deleted branch fix/setting-words-not-own 2026-11-22 14:37:51 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-host#251