The controller marks a deliberately-empty declaration owns_nothing (hq 127) #78

Merged
jschoubben merged 1 commits from feat/controller-marks-owns-nothing into main 2026-09-26 21:40:18 +00:00
Owner

Controller half of the explicit-empty contract (mesh-host #29 is the host half). When a node's declaration composes to zero resources — which #77 now sends rather than skips — Body() sets owns_nothing: true, so the host applies it and the node drops what it last held instead of refusing. A declaration with resources never carries the marker. Completes #127: controller sends empty (#77) → marks it deliberate (this) → host accepts it (mesh-host #29) → the stale resource is dropped.

Controller half of the explicit-empty contract (mesh-host #29 is the host half). When a node's declaration composes to zero resources — which #77 now sends rather than skips — `Body()` sets `owns_nothing: true`, so the host applies it and the node drops what it last held instead of refusing. A declaration with resources never carries the marker. Completes #127: controller sends empty (#77) → marks it deliberate (this) → host accepts it (mesh-host #29) → the stale resource is dropped.
jschoubben added 1 commit 2026-09-26 21:40:12 +00:00
The host refuses an empty body unless told the emptiness is meant
(mesh-host#29). When a node's declaration composes to no resources —
which #77 now sends rather than skips — Body() sets owns_nothing, so
the node applies it and drops what it last held. A declaration with
resources never carries the marker. One test.
jschoubben merged commit f21a84c510 into main 2026-09-26 21:40:18 +00:00
jschoubben deleted branch feat/controller-marks-owns-nothing 2026-09-26 21:40:18 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-controller#78