Commit Graph
700 Commits
Author SHA1 Message Date
Raven ScottandCursor 78bc48ae22 feat(guild-sync): Phase 637 sparse ACK batch, stage roles, gossip lanes
Batch sparse Hypercore pulls behind ACK gate with per-channel cursors and
eager core open; priority gossip outbox lanes; stageRoles GUILD_SYNC slice;
member churn delta, visible-only reactions, search index version bump, and
delta forum palettes plus inactive core key filtering.

Co-authored-by: Cursor <[email protected]>
2026-06-01 19:32:52 -04:00
Raven ScottandCursor 8f313933f8 feat(guild-sync): Phase 636 read receipts, thread archive, member page debounce
Add readReceiptVector export/ingest with LWW merge clamped to message tail,
threadArchiveSlice and forumTagPalettes on GUILD_SYNC bundles, voice occupancy
ingest, debounced MEMBER_PAGE auto-chain, RTT-scaled zlib threshold, and push
peer round-robin metadata on guildSyncHealth.

Co-authored-by: Cursor <[email protected]>
2026-06-01 19:25:32 -04:00
Raven ScottandCursor 52ad05ddd7 feat(sync): Phase 634 attachment pulls, bandwidth QoS, and HyperDB-safe guild bundles
Schedule Hyperdrive attachment prefetches after GUILD_SYNC ingest, defer oversized
bundle pushes under a per-second byte cap, coerce uint fields for HyperDB, export
delta reaction tombstones and pin slices, and reconcile contacts presence into
guild vectors with guild.sync.presence spans.

Co-authored-by: Cursor <[email protected]>
2026-06-01 19:01:00 -04:00
Raven ScottandCursor 7874e6fa5c feat(guild-sync): reaction CRDT, presence vector mesh, Hyperbee index core (v0.8.605)
_mergeReactionGossip with tombstone map; presenceVector in GUILD_SYNC bundles;
vectorSeq on presence gossip; dedicated msg-index Hyperbee core; sparse rate
limit and ACK defer; guild.sync.reactions span.

Co-authored-by: Cursor <[email protected]>
2026-06-01 18:45:27 -04:00
Raven ScottandCursor bef5965595 feat(guild-sync): sparse Hypercore pull, reactions, delta slices (v0.8.604)
_trySparseSyncFromBundle with guild.sync.sparse span; reaction bundle
export/ingest; presence vector on health; delta search/automod/audit
slices; meshHostFallbackKeys and coalesced mod push; attachReplication
on peer join.

Co-authored-by: Cursor <[email protected]>
2026-06-01 18:24:45 -04:00
Raven ScottandCursor 881bc0b62e feat(sync): ACK halt, gossip outbox, and swarm wire helpers (v0.8.603)
Track per-peer GUILD_SYNC_ACK watermarks and stop owner burst pushes when
joiners catch up. Queue guild gossip when the mesh has zero peers and flush
on peer join. Add member/message LWW on GUILD_SYNC ingest, mod fallback sync
push, optional zlib bundles, sync health progress/bytes, and diagnostics export.

Co-authored-by: Cursor <[email protected]>
2026-06-01 18:08:25 -04:00
Raven ScottandCursor 8447204162 feat(sync): delta GUILD_SYNC bundles and guild-replicator integration
Filter bundles by joiner syncWatermark, gossip GUILD_SYNC_ACK after ingest,
append outbound messages to Hypercore via pearcord-guild-replicator, and
export channelCoreKeys in GUILD_SYNC payloads when cores exist.

Co-authored-by: Cursor <[email protected]>
2026-06-01 17:54:13 -04:00
Raven ScottandCursor c80b36fe06 Improve guild join sync recovery and mesh health diagnostics.
Add GUILD_SYNC_REQUEST handling, meshHostPublicKey persistence, bootstrap/loadGuild recovery schedulers, discovery listing refresh on recreate, and view.guildSyncHealth for agentctl.

Co-authored-by: Cursor <[email protected]>
2026-06-01 17:27:14 -04:00
Raven ScottandCursor 8dd7b71578 Re-announce discovery listings after guild delete and recreate.
Burst DIRECTORY_LISTING and revoke gossip when peers are already connected, refresh owned listings after create, and invalidate explore cache on delete.

Co-authored-by: Cursor <[email protected]>
2026-06-01 16:47:03 -04:00
Raven ScottandCursor cb6f6fb0e1 Fix explore join guild mesh, owner profile, and presence sync.
Wire joiners to the host via invite/listing public keys, seed owner profiles from portable invites, await roster bootstrap, and gossip profiles/presence after peers connect.

Co-authored-by: Cursor <[email protected]>
2026-06-01 16:37:55 -04:00
Raven ScottandCursor 2eb47baaab Fix Explore list sync by refreshing mesh on open and shortening cache.
Invalidate listing cache on discovery peer join, mesh-refresh when Explore opens, use a shorter live cache TTL, and run invite join bootstrap in the background so discovery IPC is not blocked.

Co-authored-by: Cursor <[email protected]>
2026-06-01 16:30:28 -04:00
Raven ScottandCursor 2eb77085fe Bootstrap guild sessions after explore/invite join with mesh sync retries.
Defer member gossip until mesh join, burst GUILD_SYNC pushes on peer connect, and seed roster/history waits so members appear immediately from invites.

Co-authored-by: Cursor <[email protected]>
2026-06-01 16:07:52 -04:00
Raven ScottandCursor 580ea5a478 fix(discovery): show new public guilds on remote Explore immediately
Invalidate cached Explore listings when DIRECTORY_LISTING arrives, publish
new guilds to the discovery mesh after create, and re-sync on peer connect.

Co-authored-by: Cursor <[email protected]>
2026-06-01 15:41:53 -04:00
Raven ScottandCursor 428dfa5804 fix(guild): auto-remove deleted servers for all members and offline peers
Fan out deletes on discovery mesh, persist tombstones, reconcile on startup,
and refresh the server rail when a non-active guild is removed.

Co-authored-by: Cursor <[email protected]>
2026-06-01 15:33:11 -04:00
Raven ScottandCursor d3803b68f3 feat(guild): owner deleteGuild with mesh gossip and local purge
Co-authored-by: Cursor <[email protected]>
2026-06-01 15:22:51 -04:00
Raven Scott 3e36cee5c0 feat(search): Phase 627 search hub depth (v0.8.590)
Extend search hub/panel live regions with active channel context and mesh
notes; tighten search-errors reaction bleed exclusion; refresh composer
search hints for hub and panel; platform guild.search.cache/mesh spans
include activeChannelId; agentctl and phase627 smoke bundle.
2026-06-01 15:05:27 -04:00
Raven ScottandCursor 62e89a5df0 fix(mesh): contacts profile ingest, presence burst, and accept-side names
Ingest profiles on contact accept and contacts user gossip; rebroadcast presence with profile fields after mesh join.

Co-authored-by: Cursor <[email protected]>
2026-05-25 01:18:51 -04:00
Raven ScottandCursor 1235c82607 fix(dm): guard sendDmChannelInvite when contacts module is older
Fall back to dm.gossipDmChannelUpsert so open-dm works without a stale
pearcord-contacts copy missing sendDmChannelInvite.

Co-authored-by: Cursor <[email protected]>
2026-05-25 00:42:55 -04:00
Raven ScottandCursor fb73037855 fix(p2p): sync usernames via presence gossip and profile burst retries
Embed username/displayName on presence updates (already syncing reliably),
ingest profiles from presence on peers, and retry USER_UPSERT gossip when
mesh connections open. Also gossip profile after invite join.

Co-authored-by: Cursor <[email protected]>
2026-05-25 00:33:17 -04:00
Raven ScottandCursor 3dd2001605 fix(guild): guard gossipUserUpsert when guild module is older
Avoid crashing guild.open when node_modules pearcord-guild predates
USER_UPSERT gossip support.

Co-authored-by: Cursor <[email protected]>
2026-05-25 00:21:23 -04:00
Raven ScottandCursor bfcc944847 fix(p2p): author profiles on messages, DM users map, and download export
Gossip profile on every send, bundle author and attachmentMetas on messages,
build DM usersById from contacts, and export attachments via download-cache
before IPC to avoid stuck downloads.

Co-authored-by: Cursor <[email protected]>
2026-05-25 00:17:48 -04:00
Raven ScottandCursor 3dd4393487 fix(p2p): DM attachment sync, download mesh, and user profile refresh
Gossip attachment meta on DM send, wire DM attach-mesh provider, fetch
bytes from DM peers when not in a guild, expose usersById in view, and
emit user-profile after ingest for live member names.

Co-authored-by: Cursor <[email protected]>
2026-05-25 00:05:14 -04:00
Raven ScottandCursor 324fcb435b fix(p2p): sync profiles, presence, DMs, and contacts across mesh
Include users in guild sync, enrich member view with display names,
gossip presence and profiles on peer join, background DM listener with
contacts-based channel invites, and safer mesh teardown when switching
guild/DM mode.

Co-authored-by: Cursor <[email protected]>
2026-05-24 23:55:26 -04:00
Raven ScottandCursor 1ed14b1885 docs: Phase 626 reaction hub depth bundle reference
Co-authored-by: Cursor <[email protected]>
2026-05-24 20:10:29 -04:00
Raven ScottandCursor 6e954fe40d feat: thread.read span activeChannelId metadata (Phase 625)
Include activeChannelId and guildCount on thread.read span.end for hub depth
diagnostics aligned with thread.create and thread.archive.

Co-authored-by: Cursor <[email protected]>
2026-05-24 20:05:38 -04:00
Raven ScottandCursor 32abb45bc0 docs: Phase 624 expression hub depth platform notes (v0.8.587)
Co-authored-by: Cursor <[email protected]>
2026-05-24 19:52:19 -04:00
Raven ScottandCursor 6ffb8e7500 docs: Phase 623 stickers hub depth platform notes (v0.8.586)
Co-authored-by: Cursor <[email protected]>
2026-05-24 19:48:17 -04:00
Raven ScottandCursor a230cc35a8 docs(platform): Phase 622 emoji hub depth README entry
Document v0.8.585 emoji hub mesh copy, thread-excluded error filter,
and dual composer hint refresh; point to Phase 623 stickers next.

Co-authored-by: Cursor <[email protected]>
2026-05-24 19:30:44 -04:00
Raven ScottandCursor 50012ae912 docs(platform): Phase 621 automation hub depth README entry
Document v0.8.584 automation hub mesh copy, thread-excluded error filter,
and dual composer hint refresh; point to Phase 622 emoji next.

Co-authored-by: Cursor <[email protected]>
2026-05-24 19:25:36 -04:00
Raven ScottandCursor 22ae410037 docs(platform): Phase 620 bots hub depth README entry
Document v0.8.583 bots hub mesh copy, thread-excluded error filter,
and dual composer hint refresh; point to Phase 621 automation next.

Co-authored-by: Cursor <[email protected]>
2026-05-24 19:21:51 -04:00
Raven ScottandCursor b70702a02e docs(platform): Phase 619 slash hub depth README entry
Document v0.8.582 slash hub mesh copy, thread-excluded error filter,
and dual composer hint refresh; point to Phase 620 bots next.

Co-authored-by: Cursor <[email protected]>
2026-05-24 19:18:01 -04:00
Raven ScottandCursor 73cf02d4f0 docs(platform): Phase 618 webhooks hub depth README entry
Document v0.8.581 webhooks hub mesh copy, thread-excluded error filter,
and dual composer hint refresh; point to Phase 619 slash next.

Co-authored-by: Cursor <[email protected]>
2026-05-24 19:13:44 -04:00
Raven ScottandCursor 0593e2de02 docs(platform): Phase 617 compliance hub depth README entry
Document v0.8.580 compliance hub mesh copy, thread-excluded error filter,
and dual composer hint refresh; point to Phase 618 webhooks next.

Co-authored-by: Cursor <[email protected]>
2026-05-24 19:07:37 -04:00
Raven ScottandCursor c100fa2983 docs: Phase 616 audit hub depth README reference
Document v0.8.579 audit hub mesh note, thread error-filter exclusion,
and test:phase616-audit bundle cross-link.

Co-authored-by: Cursor <[email protected]>
2026-05-24 18:59:39 -04:00
Raven ScottandCursor 88c569205e docs: Phase 615 moderation hub depth README reference
Document v0.8.578 moderation hub mesh note, thread error-filter exclusion,
and test:phase615-moderation bundle cross-link.

Co-authored-by: Cursor <[email protected]>
2026-05-24 18:54:08 -04:00
Raven ScottandCursor e16e74af27 feat(pins): add activeChannelId to pin.message/unpin span metadata
Phase 614 extends pin span ends with activeChannelId for hub depth
diagnostics alongside existing guildCount and pinCount fields.

Co-authored-by: Cursor <[email protected]>
2026-05-24 18:45:22 -04:00
Raven ScottandCursor 4bb73e1322 docs: note Phase 612–613 hub depth in README (v0.8.575–576)
Co-authored-by: Cursor <[email protected]>
2026-05-24 18:29:37 -04:00
Raven ScottandCursor 6df485f6fc feat(platform): thread create/archive span metadata (v0.8.574)
Add guildCount and activeChannelId to thread.create and
thread.archive span ends for Phase 611 observability.

Co-authored-by: Cursor <[email protected]>
2026-05-24 18:22:27 -04:00
Raven ScottandCursor f7e617a651 docs: Phase 610 expression hub span cross-check (v0.8.573)
Co-authored-by: Cursor <[email protected]>
2026-05-24 18:17:56 -04:00
Raven ScottandCursor 0811b9d7d5 docs: Phase 609 stickers hub span cross-check (v0.8.572)
Co-authored-by: Cursor <[email protected]>
2026-05-24 18:14:47 -04:00
Raven ScottandCursor ef477e24d3 docs: Phase 608 emoji hub span cross-check (v0.8.571)
Co-authored-by: Cursor <[email protected]>
2026-05-24 18:12:05 -04:00
Raven ScottandCursor 10267492c7 docs: Phase 607 automation hub span cross-check (v0.8.570)
Co-authored-by: Cursor <[email protected]>
2026-05-24 18:09:02 -04:00
Raven ScottandCursor 8c4a8f1421 docs: Phase 606 bots hub README note (v0.8.569)
Co-authored-by: Cursor <[email protected]>
2026-05-24 18:04:06 -04:00
Raven ScottandCursor 6e085e7acf docs: Phase 605 slash hub README note (v0.8.568)
Co-authored-by: Cursor <[email protected]>
2026-05-24 18:00:09 -04:00
Raven ScottandCursor 2877f6eb42 docs: Phase 604 webhooks hub README note (v0.8.567)
Co-authored-by: Cursor <[email protected]>
2026-05-24 17:56:29 -04:00
Raven ScottandCursor 03b50123d0 feat(platform): compliance.export span for Phase 603 (v0.8.566)
Mirror audit.export with compliance.export span metadata on
exportAuditLog for compliance hub observability.

Co-authored-by: Cursor <[email protected]>
2026-05-24 17:53:13 -04:00
Raven ScottandCursor e0305d2178 docs: note Phase 602 audit hub depth in platform README
Document v0.8.565 audit panel/hub live regions and phase602-audit bundle.

Co-authored-by: Cursor <[email protected]>
2026-05-24 17:43:18 -04:00
Raven ScottandCursor 7c48a08b5c docs: note Phase 601 moderation hub depth in platform README
Document v0.8.564 moderation panel/hub live regions and phase601-moderation
smoke bundle.

Co-authored-by: Cursor <[email protected]>
2026-05-24 17:38:19 -04:00
Raven ScottandCursor e3b6f09503 docs: note Phase 600 roles hub depth in platform README
Document v0.8.563 roles panel/hub live regions, role-errors filter,
and phase600-roles smoke bundle.

Co-authored-by: Cursor <[email protected]>
2026-05-24 17:33:43 -04:00
Raven ScottandCursor 7771ccf912 docs: note Phase 599 permissions hub depth in platform README
Document v0.8.562 permissions hub live region, permission-errors filter,
and phase599-permissions smoke bundle.

Co-authored-by: Cursor <[email protected]>
2026-05-24 17:28:59 -04:00