Phase 824: sync-guild-mesh-triple-sync-burst IPC

Fan out requestGuildSyncBurst with push-halt clear and guild-sync-ready
after triple mesh topology emit for host and both guests.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-04 00:34:57 -04:00
co-authored by Cursor
parent 1ac560cbb9
commit 8f4333578e
2 changed files with 24 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 824 (v0.8.791):** `sync-guild-mesh-triple-sync-burst` recovery IPC. Bundle: `npm run test:ci-phase824`.
**Phase 823 (v0.8.790):** `sync-guild-mesh-triple-push-halt-clear` recovery IPC. Bundle: `npm run test:ci-phase823`.
**Phase 822 (v0.8.789):** `sync-guild-mesh-triple-topology` light IPC. Bundle: `npm run test:ci-phase822`.
+22
View File
@@ -1342,6 +1342,28 @@ 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-sync-burst') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
const gid = platform.guild.guild.id
platform.emit('guild-mesh-topology', {
guildId: gid,
meshPeerCount: platform.guild?.peers?.size ?? 0,
manualRecovery: true
})
if (typeof platform.clearGuildSyncPushHalt === 'function') {
platform.clearGuildSyncPushHalt(gid)
}
if (typeof platform.requestGuildSyncBurst === 'function') {
platform.requestGuildSyncBurst({ clearPushHalt: true })
} else if (typeof platform.requestGuildSyncFanout === 'function') {
platform.requestGuildSyncFanout()
}
platform.emit('guild-sync-health')
platform.emit('guild-sync-ready', { guildId: gid, syncBurst: 1 })
}
pushState({ structural: true, light: false, source: 'sync-guild-mesh-triple-sync-burst' })
return true
}
if (t === 'sync-guild-mesh-triple-push-halt-clear') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
const gid = platform.guild.guild.id