+
    jHàj°  ã                  óZ   € R t ^ RIHt ^ RIt]P                  ! R4      tR R ltR R ltR# )zZHost-gateway cleanup after a confirmed stop: the rendezvous record and the memoized probe.)ÚannotationsNzhermes_cli.gatewayc               ó   € V ^8„  d   QhRR/# )é   ÚreturnÚbool© )Úformats   "ÚC/home/ubuntu/.hermes/hermes-agent/hermes_cli/gateway_host_record.pyÚ__annotate__r
   	   s   € ÷ ñ  4ñ ó    c                 óv   €  ^ RI Hp Hp V! V 4      #   \         d    \        P                  RRR7        R# i ; i)zYDrop the host rendezvous record once its owner is provably gone (after a confirmed stop).©ÚROLE_GATEWAYÚdiscard_dead_recordzHost record retraction failedT©Úexc_infoF)Úgateway.host_rendezvousr   r   Ú	ExceptionÚloggerÚdebugr   s     r	   Ú_discard_dead_host_recordr   	   s8   € ðßMá" <Ó0Ð0øÜô Ü�‰Ð4¸tˆÔDÚðús   ‚ ’"8·8c               ó   € V ^8„  d   QhRR/# )r   r   ÚNoner   )r   s   "r	   r
   r
      s   € ÷ Nñ N Dñ Nr   c                 ót   €  ^ RI Hp  V ! 4        R#   \         d    \        P	                  RRR7        R# i ; i)a?  Drop the memoized host-gateway probe after a stop, before the restart starts a new one.

The probe is cached for ``HOST_GATEWAY_CACHE_TTL_S`` and a stop finishes well inside it, so the
in-process ``run_gateway`` read "PID <stopped> serves this profile", printed "nothing to start"
and exited 0 with no gateway running.
©Úinvalidate_host_gateway_cachez&Host gateway probe invalidation failedTr   N)Úgateway.host_attachr   r   r   r   r   s    r	   Ú_forget_host_gateway_prober      s3   € ðNÝEá%Ö'øÜô NÜ�‰Ð=Èˆ×MðNús   ‚ ‘"7¶7)Ú__doc__Ú
__future__r   ÚloggingÚ	getLoggerr   r   r   r   r   r	   Ú<module>r"      s*   ðÙ `Ý "ã à	×	Ò	Ð/Ó	0€õ÷Nr   