Skip to main content

keep_cli_claims

Function keep_cli_claims 

Source
pub fn keep_cli_claims() -> usize
Expand description

Keep CLI claims alive (lean-ctx #3): lean-ctx cloud tasks claim ends right after claiming, so nothing renewed its claim and an agent running a long gate lost it before submitting. The bus relay’s process renews a claim whose holder has ended at half-time while the claiming agent still works on this machine (registered, not finished, active within RENEW_IDLE), without becoming its holder; once the agent stops working the claim ends at its expiry in Cloud. Returns how many such claims it kept.