aec8a58611
_attested_pids_from kept any `isinstance(p, int)` item, so `[true]`, `[0]` and `[-1]` each survived as a "PID" and made attested_gateway_died([]) read True — a malformed marker could override Desktop gateway-lifecycle ownership and spawn a duplicate gateway (#110020 review). PIDs are now `type(p) is int and p > 0`, and one malformed item fails the whole list closed: the writer never emits such values, so a partially-bad list is not trustworthy either.