From 3a6b80e3f4a34447e3bf43664883db42040bccb2 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Tue, 2 Jun 2026 16:16:25 -0400 Subject: [PATCH] =?UTF-8?q?zebra-spaces:=20drop=20cohost-succession=20soft?= =?UTF-8?q?=20warning=20=E2=80=94=20room=20dies=20on=20host-grace=20expiry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Matches signal 0d5d6fa. Cohost cannot extend the room (no chime authority), so space-closing always means 'this is going to end' — removed the will_close=false branch. --- web/zebra-spaces.html | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/web/zebra-spaces.html b/web/zebra-spaces.html index 89897c1..50ca770 100644 --- a/web/zebra-spaces.html +++ b/web/zebra-spaces.html @@ -2925,17 +2925,12 @@ async function handleSignal(raw){ } break; case 'space-closing': - /* server arms this for the full grace window every time the host - * leaves. will_close=true means the room actually ends if nobody - * reclaims; will_close=false means a cohost will succeed the host - * at expiry so the room stays open either way. */ - if (m.will_close === false){ - logLine('', 'host away — cohost will succeed in '+m.grace_seconds+'s if host doesn\'t return'); - setStatus('host away — cohost succession in '+m.grace_seconds+'s', 'warn'); - } else { - logLine('err','space closing in '+m.grace_seconds+'s — '+m.reason); - setStatus('host left — space closing in '+m.grace_seconds+'s', 'err'); - } + /* host left — 2h deadman is running. Only the host can chime to + * extend; cohosts can moderate the room during the absence but + * cannot keep the room alive. Room WILL close at grace expiry + * unless the host reclaims. */ + logLine('err','space closing in '+m.grace_seconds+'s — '+m.reason); + setStatus('host left — space closing in '+m.grace_seconds+'s', 'err'); break; case 'error': logLine('err','signal: '+m.message); @@ -3622,8 +3617,8 @@ logLine('', 'ready — pick a handle, type a rendezvous code, enter the space');