pub fn refresh_legacy_ambient_capabilities() -> boolExpand description
Re-read the legacy-bridge flag from the process environment and update the cached value, returning the fresh result.
Only needed by code that mutates HARN_LEGACY_AMBIENT_CAPABILITIES inside
the running process — in practice, tests. Call it after every
set_var/remove_var of the flag so later reads observe the change.