Pure decision tree — separated from I/O so the whole branch tree is unit-testable (it's the
riskiest logic: a wrong branch prunes a LIVE registry entry). Only a registry-OWNED source
(registry/current/flag-space/local-recorded) is ever pruned. A non-registry source —
flag-server/local-space, a raw --creds connection, or flag-space-override (a --space
whose --server overrides the recorded broker) — is NEVER pruned: the probed endpoint is
operator-supplied, so a failure there is the user's to diagnose, not a stale-registry signal.
Pure decision tree — separated from I/O so the whole branch tree is unit-testable (it's the riskiest logic: a wrong branch prunes a LIVE registry entry). Only a registry-OWNED source (
registry/current/flag-space/local-recorded) is ever pruned. A non-registry source —flag-server/local-space, a raw--credsconnection, orflag-space-override(a--spacewhose--serveroverrides the recorded broker) — is NEVER pruned: the probed endpoint is operator-supplied, so a failure there is the user's to diagnose, not a stale-registry signal.