Before clearing Prefs.BlueprintID and logging out, capture the
current Status.Self.BlueprintConfig and display it after the logout
completes so the operator can see what configuration the node is
releasing. Best-effort: if the Status fetch fails or the projection
hasn't arrived yet, fall back to the short "Detached from blueprint
bp:<id> and logged out." line. Leave is reversible; we do not block
on a Status fetch.
Extracts two pure helpers (snapshotProjection, renderLeaveMessage)
so the display branches are unit-testable without a live daemon.
Updates #cleanup
Signed-off-by: Kabir Sikand <[email protected]>