Repository navigation
Add reply subscriptions with bounded classification and agent notifications - #4
Merged
Merged
Conversation
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.
Agents can subscribe to responses about sent WhatsApp messages, including ordinary unquoted group replies. The service classifies incoming batches against the original request and sends pointer-only Postbag notices to the waiting agent. Unrelated group chatter stays quiet.
Flow: approve and send → subscribe using accepted draft IDs or outgoing message IDs → read relevant replies when notified → receive a fixed-deadline outcome. Already-stored replies are included, so fast responses arriving before subscription creation are recovered. Expired-anchor registrations are rejected. Catch-up starts at the first in-window revision, with no quiet delay on irrelevant history pages. There is no prepared-watch state or acknowledgment call.
watch_replies,get_replies, andcancel_watch, with durable revisions and repeatable cursor reads.Setup: docs/replies.md. Push requires the Postbag extension in parasxos/postbag#31; a pinned fork install is documented. Pull does not require Postbag.
Validation:
Limits: classification can misjudge relevance; audit reads retain unrelated/unclassified candidates. CLI isolation depends on installed flags and is not an OS security boundary. Only messages delivered by WhatsApp are available.