hive-ag3nt: scrub stale #658/#419 attribution cookies (#716 batch 2)

This commit is contained in:
iris 2026-05-31 16:41:11 +02:00 committed by mara
commit 017786564a
4 changed files with 22 additions and 22 deletions

View file

@ -693,8 +693,8 @@ impl Bus {
/// - `"rate_limited"` writes `{state_dir}/hyperhive-rate-limited`
/// (cleared by any other status).
/// - `"needs_login_idle"` writes `{state_dir}/hyperhive-needs-login`
/// so a 401-triggered re-auth flag persists across harness restart
/// (#419). The web UI's `/login` POST handler clears it via
/// so a 401-triggered re-auth flag persists across harness restart.
/// The web UI's `/login` POST handler clears it via
/// `clear_needs_login_sentinel` once the operator re-auths.
/// - `"online"` clears both sentinels — the agent is healthy again.
pub fn emit_status(&self, status: impl Into<String>) {