Pop-only inbox API, self-send gate, assignee 'self' -> 'user' - #94
Open
rr0hit wants to merge 1 commit into
Open
Conversation
- flow inbox pop is the ONLY consumption API: ack and due subcommands removed, along with the whole escalation apparatus (next_notify_at / attempts columns for fresh installs, DueBusMessages, BumpNotifyAttempt, AckMessageByID). Popping answers, delivers, and clears; agents and notifier scripts just loop it. Ack-on-reply (the UserPromptSubmit hook) and wait metrics remain — that is behavior, not API surface. - No sender can message its own address: a bound session is rejected addressing its own inbox, and the human their own queue. - Reserved assignee renamed self -> user (agents misread 'message self' as talking to themselves). Existing rows migrated idempotently on open; the one-shot post->broadcast kind migration is deleted (no released DB ever needed it). - Usage, skill §4.18, and references/messaging.md rewritten to match. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PFGNJQo5xNBBrT7rZMuUTu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up simplification to #93 per design review:
flow inbox popis the only consumption API.ackandduesubcommands removed, escalation machinery (notify schedule, backoff, attempts) deleted — reminder cadence is the user's notifier script's business (loop/cronflow inbox --as user --json). Ack-on-reply and wait metrics are unchanged (hook behavior, not API).self→user: agents misreadmessage selfas talking to themselves. Existing rows migrate idempotently on open. The one-shot post→broadcast kind migration is deleted (no released DB needed it).🤖 Generated with Claude Code
https://claude.ai/code/session_01PFGNJQo5xNBBrT7rZMuUTu