-
Notifications
You must be signed in to change notification settings - Fork 0
message-worker: replicate thread subscriptions via outbox/inbox federation #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
52109e2
docs: spec for message-worker thread subscription outbox events
claude d0decfd
docs: implementation plan chunk 1 (tasks 1-3 — model+mention scaffold…
claude f98f6fa
docs: implementation plan chunk 2 (tasks 4-5 — publish helper + owner…
claude 4d06909
docs: implementation plan chunk 3 (tasks 6-7 — wire publish in reply …
claude 834ae3c
docs: implementation plan chunk 4 (tasks 8-9 — mention publish + main…
claude 088a21b
docs: implementation plan chunk 5a (task 10 — inbox-worker dispatch)
claude d839405
docs: implementation plan chunk 5b (task 11 — Mongo UpsertThreadSubsc…
claude d8e3f30
docs: implementation plan chunk 5c (task 12 — inbox-worker integratio…
claude af07716
docs: implementation plan chunk 5d (self-review + handoff)
claude 3106993
model: add OutboxThreadSubscriptionUpserted event type constant
claude 644ee81
model+mention: add SiteID to Participant, propagate from Resolve
claude 3537507
message-worker: plumb siteID and PublishFunc into Handler
claude 244aa1e
message-worker: add publishThreadSubOutboxIfRemote helper
claude 71db87d
message-worker: ThreadSubscription.SiteID = owner site; lookup parent…
claude 7e017c2
message-worker: emit outbox event on first-reply ThreadSubscription i…
claude 6058b59
message-worker: wrap first-reply outbox publish errors with role context
claude 118aec6
message-worker: emit outbox event on subsequent-reply ThreadSubscript…
claude d98abf7
message-worker: emit outbox event on mention-marked ThreadSubscriptions
claude c1efd78
inbox-worker: dispatch thread_subscription_upserted to UpsertThreadSu…
claude fc6ee18
inbox-worker: Mongo UpsertThreadSubscription with monotonic hasMentio…
claude 65a0f22
inbox-worker: integration tests for UpsertThreadSubscription monotoni…
claude e414041
message-worker: add same-site subsequent-reply test case for symmetry
claude 371a142
test+docs: subsequent-reply parent-not-found case + $max-on-bool comment
claude 0d53aa0
test: post-rebase fixups for upstream Publisher removal and userAccou…
claude 56f99c2
ThreadSubscription.SiteID stays as room site; route by owner site sep…
claude 0c33b23
docs: align spec/plan with post-review SiteID semantic
claude 0cfddda
message-worker: fix outbox dedup-ID collision + don't drop parent sub…
claude 2cfc181
docs: address CodeRabbit doc nits — code-fence langs, \$max example, …
claude 06cd97f
style: wrap publish-closure errors + assert on json.Marshal in integr…
claude 15f233b
inbox-worker: collection name → thread_subscriptions; inline outbox d…
claude 55ab474
docs+log: spec collection name; clarify lookupOwnerSiteID warn message
claude 4838110
test: fixup upstream NewHandler call site after rebase
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2,158 changes: 2,158 additions & 0 deletions
2,158
docs/superpowers/plans/2026-04-28-message-worker-thread-subscription-outbox.md
Large diffs are not rendered by default.
Oops, something went wrong.
392 changes: 392 additions & 0 deletions
392
...uperpowers/specs/2026-04-28-message-worker-thread-subscription-outbox-design.md
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.