A host accepts an explicitly-empty declaration (hq 127) #29

Merged
jschoubben merged 1 commits from feat/an-explicit-empty-declaration into main 2026-09-26 21:39:56 +00:00
Owner

The host's empty-resources guard refused every empty body as a likely mistake, with no way to signal emptiness was meant — so the control plane could never tell a node to drop its last resource (surfaced dropping ace's stale broker opening). The envelope gains owns_nothing: with it, an empty declaration is applied and the node drops what the mesh owned; without it, empty is still refused, so a truncated or mis-composed body can't silently strip a machine. Pairs with the controller PR that sets the flag. One test, both directions.

The host's empty-resources guard refused every empty body as a likely mistake, with no way to signal emptiness was meant — so the control plane could never tell a node to drop its last resource (surfaced dropping ace's stale broker opening). The envelope gains `owns_nothing`: with it, an empty declaration is applied and the node drops what the mesh owned; without it, empty is still refused, so a truncated or mis-composed body can't silently strip a machine. Pairs with the controller PR that sets the flag. One test, both directions.
jschoubben added 1 commit 2026-09-26 21:39:51 +00:00
The empty-resources guard refused every empty body as a likely mistake,
with no way to say emptiness was meant — so the control plane could
never tell a node to drop its last resource. The envelope gains
owns_nothing: with it, an empty declaration is applied (the node drops
what the mesh owned); without it, empty is still refused, so a
truncated or mis-composed body cannot silently strip a machine. One
test, both directions.
jschoubben merged commit 32d7234637 into main 2026-09-26 21:39:56 +00:00
jschoubben deleted branch feat/an-explicit-empty-declaration 2026-09-26 21:39:57 +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-host#29