Skip to content

Claim registry CLI half: handlerId threading + watch claim lifecycle#8

Open
johnkueh wants to merge 1 commit into
feat/comments-watch-livefrom
feat/comments-claims
Open

Claim registry CLI half: handlerId threading + watch claim lifecycle#8
johnkueh wants to merge 1 commit into
feat/comments-watch-livefrom
feat/comments-claims

Conversation

@johnkueh

Copy link
Copy Markdown
Contributor

What changed

  • Touch ops (comments.working/reply, canvas.push) carry an optional handlerId: DRAFTY_HANDLER_ID env → session:<CLAUDE_CODE_SESSION_ID>@<host> → omitted (server stamps cli:anon) — always-live v2 plan §3/§4 (S3)
  • A slug watch claims its canvas on connect via canvas.heartbeat, renews every 60s while the stream is up, clears on clean exit (SIGINT / --for expiry)
  • --live claims nothing — the doorbell is not a claim (§4 narrow eager-claim)
  • Heartbeat failures warn once and never kill the watch; HELP + SKILL.md document attended-claim semantics

Scope

Proof

Touch ops (comments.working/reply, canvas.push) carry an optional
handlerId — DRAFTY_HANDLER_ID env, else session:<id>@<host>, else
omitted (server stamps cli:anon). A slug watch claims its canvas on
connect via canvas.heartbeat, renews every 60s while the stream is up,
and clears on clean exit; --live claims nothing (the doorbell is not a
claim). Heartbeat failures never kill the watch.

Claude-Session: https://claude.ai/code/session_019C8vEfDNGdkAh7MK5My65Y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant