Pull wakes through mail_wakes instead of posting to Matrix #25

Merged
svc-agent-writer merged 2 commits from docs/adr-0003-pull-wake into main 2026-10-31 04:15:34 +00:00

Amends ADR 0003 (still proposed). §7 changes from a Matrix post to a pull. The wake rule writes a queue in the store, and the new read tool mail_wakes(cursor) returns it. A scheduled Grok Automation polls it. A sub-item allows an optional nudge adapter that carries no content. Each adapter (Matrix, email) needs its own amendment.

Why: MCP only carries calls inward, Grok has no documented webhook, and a Matrix post needs a new bot user and token per instance. The pull adds no credential, and no message id, class or score leaves through a nudge channel.

README and CLAUDE.md roadmap lines follow. #22 is re-scoped to match.

🤖 Generated with Claude Code

Amends ADR 0003 (still proposed). §7 changes from a Matrix post to a pull. The wake rule writes a queue in the store, and the new read tool `mail_wakes(cursor)` returns it. A scheduled Grok Automation polls it. A sub-item allows an optional nudge adapter that carries no content. Each adapter (Matrix, email) needs its own amendment. Why: MCP only carries calls inward, Grok has no documented webhook, and a Matrix post needs a new bot user and token per instance. The pull adds no credential, and no message id, class or score leaves through a nudge channel. README and CLAUDE.md roadmap lines follow. #22 is re-scoped to match. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MCP cannot start a client conversation and Grok has no documented
webhook, so a wake queue read by a scheduled Grok Automation works with
any client and adds no credential. A content-free nudge adapter stays
optional, each one behind its own amendment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
piers force-pushed docs/adr-0003-pull-wake from 0c7164e5a7 to cedcb59369 2026-10-31 04:03:29 +00:00 Compare
A Grok Automation starts each run fresh, so it cannot hold a cursor.
A named consumer cursor, advanced by an explicit ack, gives it
at-least-once delivery.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.