refactor(cli): drop CLAUDEMESH_SESSION_PRESENCE flag

per-session presence is small and uncomplicated enough that a rollback
flag isn't load-bearing. backwards compat is already covered at the
protocol layer — older brokers reply unknown_message_type to
session_hello and the SessionBrokerClient marks itself closed for that
mesh, which is the same outcome the flag would have given. removing
the flag, the helper, and the conditional from the registry hook.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-05-04 13:12:11 +01:00
parent f7d7d391c9
commit 6d981976c0
4 changed files with 16 additions and 29 deletions

View File

@@ -277,8 +277,7 @@ identity (deferred for security review).
signature checks; daemon adds a slim `SessionBrokerClient` and
registry lifecycle hooks. Also fixes a latent 1.29.0 TDZ bug where
`claudemesh launch`'s IPC session-token registration was silently
failing every run. Flag-gated for one cycle, default ON in this
release; set `CLAUDEMESH_SESSION_PRESENCE=0` for rollback. Spec at
failing every run. Spec at
`.artifacts/specs/2026-05-04-per-session-presence.md`.
What's left for true v2.0.0 (next sessions):