handleEligibleBodies, pkg/api/handlers_api.go:987-995 in v2.0.130:
sameVenue = n.Venue == head.Venue
sameOwner := n.Owner != "" && n.Owner == head.Owner
if !sameVenue && !sameOwner {
continue
}
It is an OR. A head sees every body that shares its venue or its owner. Venue is therefore not an isolation boundary whenever the owner matches, which across this fleet it almost always does.
HEADS BODIES
peppy-dumpling-32 rupelmonde cosmic-pretzel-98 cloud-seven
ipad-head-map-35 cloud-seven boom-pickle-38 rupelmonde
ipad-head-map-37 cloud-seven
ipad-head-map-39 cloud-seven
Every one of these, heads and bodies alike, has owner=visit.flanders. So all four heads see both bodies, and the rupelmonde head can discover and be handed a stream port on the cloud-seven body, and vice versa.
Venue has been treated as a hard visibility filter in planning and in operational notes. It is not one. Two consequences, one already observed:
The OR is plausibly deliberate, as a cross-venue fallback so a venue whose body is down can borrow another. The sort function supports that reading: same-venue bodies are ranked before cross-venue ones, with the comment "quickroute before cross-venue fallback". If so, the defect is in the documentation and the planning assumption rather than in the code, and the fix is to write down that venue is a PREFERENCE and owner is the real boundary.
That is the decision this issue asks for: is cross-venue fallback intended, and if it is, what is the actual isolation boundary meant to be? An owner is currently a very wide one.
Found while investigating #831. Nothing changed.
Owner ruling, 2026-10-18: cross-venue body use IS intended when the owner matches. A head may use a body at another venue provided they share an owner.
So the code is correct and this is a documentation defect. The OR in
handlers_api.go:991is deliberate, and the sort'squickroute before cross-venue fallbackcomment is the accurate description of the design: venue is a PREFERENCE, owner is the isolation boundary.What needs correcting is the written assumption, in two places at least:
This also settles a question on #831. Heads listing several bodies at once is the DESIGNED behaviour, not an edge case, so taking a slot claim while merely listing bodies is structurally wrong rather than incidentally wrong. Every head in bxl1 shares
owner=visit.flanders, so every head lists every body in the district, and with two multi-slot bodies present the claim overwrite in #831 fires on every listing.Closing as not-a-bug. The documentation correction is the remaining work and belongs with whoever owns the body-selection notes.