Repository navigation
feat: add a composite live Discord inbox - #8
Merged
Peyton-Spencer merged 7 commits intoAug 30, 2026
Merged
Conversation
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Peyton-Spencer
force-pushed
the
feat/discord-live-inbox
branch
2 times, most recently
from
August 29, 2026 06:25
74ffc47 to
1ef6080
Compare
This was referenced Aug 29, 2026
Peyton-Spencer
force-pushed
the
feat/discord-live-inbox
branch
3 times, most recently
from
August 29, 2026 19:12
bf028fb to
74b8adb
Compare
Peyton-Spencer
force-pushed
the
feat/discord-live-inbox
branch
3 times, most recently
from
August 29, 2026 21:18
e5f2d51 to
33ef2ef
Compare
Peyton-Spencer
force-pushed
the
feat/discord-live-inbox
branch
from
August 29, 2026 21:48
6c5cfa1 to
26c538a
Compare
Peyton-Spencer
force-pushed
the
feat/discord-live-inbox
branch
from
August 29, 2026 22:08
6b78d9f to
486420b
Compare
Peyton-Spencer
marked this pull request as ready for review
August 30, 2026 18:50
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.
Summary
Presents Discord as one logical local account backed by two complementary sources:
This deliberately preserves the working archive path instead of betting the inbox on one transport.
Changes
DiscordCompositeAdapterwith protocol-first routing and archive fallbackCurrent sync behavior
The integrated UI refreshes visible conversations/messages on bounded polling intervals. Gateway subscription plumbing exists in the sidecar boundary, but the renderer is not yet driven by true push events; this PR does not claim otherwise.
Validation
Stack
Layer 3 of 6 in Stack pingdotgg#13, based on #7 (
feat/discord-accessibility-replies).Note
Add composite live Discord inbox with archive fallback and snapshot support
makeDiscordCompositeAdapterin DiscordCompositeAdapter.ts to unify the live local protocol and Discrawl archive under a single account; reads prefer live data with archive enrichment, and writes route through the live protocol.snapshotcommand in main.swift and IPC transport to extract live messages via the macOS Accessibility tree, allowing the inbox UI in InboxPage.tsx to overlay verified live messages on top of archived history.useVisiblePollingto auto-refresh accounts and conversations while visible.ChannelRegistryrewires Discord registration fromDISCRAWL_ACCOUNT_IDtoDISCORD_ACCOUNT_ID, which may affect existing references to the old account ID;matchingComposersin the Swift helper now searches deeper and may match previously missed composers.Macroscope summarized 486420b.