Skip to content

Dispatcher plumbing: canvas heartbeat/claim-status + slug→repo index#9

Open
johnkueh wants to merge 1 commit into
feat/comments-claimsfrom
feat/comments-s4-plumbing
Open

Dispatcher plumbing: canvas heartbeat/claim-status + slug→repo index#9
johnkueh wants to merge 1 commit into
feat/comments-claimsfrom
feat/comments-s4-plumbing

Conversation

@johnkueh

Copy link
Copy Markdown
Contributor

What changed

  • drafty canvas heartbeat <slug> [--handler-id <id>] [--clear] and drafty canvas claim-status <slug> [--json] — dispatcher plumbing over the claim registry (S4 of the always-live v2 plan)
  • Successful canvas.push from a git tree upserts ~/.drafty/canvases.json (slug → repo root, atomic tmp+rename, corrupt-file rebuild) — how the dispatcher maps a canvas to a cwd
  • HELP gains an advanced/plumbing section; SKILL.md documents the push side effect

Scope

  • Stacked on the S3 claims PR; needs the web canvas.claim-status op (in the web S5 PR); no version bump

Proof

canvas heartbeat <slug> [--handler-id] [--clear] and canvas
claim-status <slug> (handlerBy/handlerSeenAt + 5-min freshness) give
the zero-LLM dispatcher its read/write on the claim registry. Every
successful push from a git tree upserts ~/.drafty/canvases.json
(atomic tmp+rename) so the dispatcher can map a canvas to a repo cwd.
claim-status needs the canvas.claim-status op server-side — flagged
for the web hardening pass.

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