Phase 822: sync-guild-mesh-triple-topology light IPC (v0.8.789).

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-04 00:19:50 -04:00
co-authored by Cursor
parent 008364c146
commit e682746ca7
2 changed files with 23 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
**Phase 822 (v0.8.789):** `sync-guild-mesh-triple-topology` light IPC. Bundle: `npm run test:ci-phase822`.
**Phase 821 (v0.8.788):** `sync-guild-mesh-triple-ack-watermark` recovery IPC. Bundle: `npm run test:ci-phase821`.
**Phase 820 (v0.8.787):** `sync-guild-mesh-triple-roster-complete` recovery IPC. Bundle: `npm run test:ci-phase820`.
+21
View File
@@ -1342,6 +1342,27 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState({ structural: true, light: false, source: 'sync-guild-mesh-triple-messages' })
return true
}
if (t === 'sync-guild-mesh-triple-topology') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
const gid = platform.guild.guild.id
const peerN = platform.guild?.peers?.size ?? 0
platform.emit('guild-mesh-topology', {
guildId: gid,
meshPeerCount: peerN,
manualRecovery: true
})
if (typeof platform.clearGuildSyncPushHalt === 'function') {
platform.clearGuildSyncPushHalt(gid)
}
platform.emit('guild-sync-health')
platform.emit('guild-sync-ready', { guildId: gid, topology: 1 })
if (typeof platform.requestGuildSyncFanout === 'function') {
platform.requestGuildSyncFanout()
}
}
pushState({ light: true, source: 'sync-guild-mesh-triple-topology' })
return true
}
if (t === 'sync-guild-mesh-triple-ack-watermark') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
const gid = platform.guild.guild.id