Raven Scott and Cursor
f818f54f06
feat(phase967): guild mesh churn stats extract + peer join/leave keys (v0.8.934)
...
Non-breaking refactor — Phase 967 of the Guild Mesh Production Hardening Track.
New module:
- guild-mesh-churn-stats-build.js: centralises all churn event payload construction.
Exports key registries (meshChurnLogBaseFieldKeys, meshChurnPeerJoinLeaveFieldKeys,
meshChurnStaleEvictFieldKeys, meshChurnPushPeerSlotFieldKeys, meshChurnGossipFlushFieldKeys),
corresponding listers, and five snapshot builders (buildMeshChurnPeerJoinSnapshot,
buildMeshChurnPeerLeaveSnapshot, buildMeshChurnStaleEvictSnapshot,
buildMeshChurnPushPeerSlotSnapshot, buildMeshChurnGossipFlushSnapshot).
Call-site wiring (zero behavior change):
- platform-guild-wire-mixin.js: peer-join and peer-leave logs delegate to builders
- platform-guild-mesh-peer-mixin.js: stale-peer-evict log delegates to builder
- platform-guild-gossip-outbox-mixin.js: gossip-outbox-flush logs delegate to builder
- platform-guild-sync-export-mixin.js: push-peer-slot log delegates to builder
All public APIs, event payloads, and observable behavior are identical to before.
Co-authored-by: Cursor <[email protected] >
2026-06-05 03:29:22 -04:00
Raven Scott
6107484c45
Extract offline recovery stats builders for Phase 966.
...
Adds guild-mesh-offline-recovery-stats-build and delegates zero-peer stats, mesh auto-heal slice, and offline-recovery span construction through it; replication diagnostics keys now uses the shared auto-heal builder. No external behavior changes.
2026-06-05 03:23:39 -04:00
Raven Scott
4c407182d8
Extract sync health rail stats builders for Phase 965.
...
Adds guild-mesh-sync-health-stats-build and routes getGuildSyncHealth, mesh stability sync-health fields, and guild sync diagnostics slice construction through it without changing external platform behavior.
2026-06-05 03:19:44 -04:00
Raven Scott
9a977b9b01
Extract partition-heal stats/embed builders for Phase 964.
...
Adds a dedicated guild-mesh-partition-heal-stats-build module and routes partition-heal stability and diagnostics embed fields through it without changing external platform behavior.
2026-06-05 03:15:34 -04:00
Raven Scott and Cursor
ac9ad9f917
refactor(platform): extract guild mesh member page stats build (Phase 963)
...
Non-breaking modularization: guild-mesh-member-page-stats-build.js centralizes
member page stats and roster sync progress snapshots plus key registries.
getMemberRosterSyncProgress and getMeshStabilityStats delegate with identical
output.
Co-authored-by: Cursor <[email protected] >
2026-06-05 03:08:12 -04:00
Raven Scott and Cursor
4e5b31e732
refactor(platform): extract guild mesh sparse ACK stats build (Phase 962)
...
Non-breaking modularization: guild-mesh-sparse-ack-stats-build.js centralizes
sparse ACK cursor snapshot, diagnostics key pairs, and guild sync/replication
slices. Stability stats and diagnostics exports delegate with identical output.
Co-authored-by: Cursor <[email protected] >
2026-06-05 03:00:10 -04:00
Raven Scott and Cursor
18724c8227
refactor(platform): extract guild mesh topic pool snapshot builder (Phase 961)
...
Non-breaking modularization: guild-mesh-topic-pool-snapshot.js centralizes
stable topic pool snapshot extraction and field key registry. Stability stats and
replication diagnostics now share the same builder with identical output.
Co-authored-by: Cursor <[email protected] >
2026-06-05 02:50:27 -04:00
Raven Scott and Cursor
5c8d9c21fa
refactor(platform): extract mesh replication diagnostics payload keys (Phase 960)
...
Non-breaking modularization: guild-mesh-replication-diagnostics-keys.js
centralizes export field registries, channel row builders, and diagnostics
snapshot assembly. Mesh replication export paths now delegate to builders with
identical external output.
Co-authored-by: Cursor <[email protected] >
2026-06-05 02:29:58 -04:00
Raven Scott and Cursor
c7dcda3318
refactor(platform): extract guild mesh peer quality snapshot (Phase 959)
...
Non-breaking modularization: guild-mesh-peer-quality-snapshot.js centralizes
ranked peer quality rows, 6 view field keys, and 12-peer cap. Mesh view mixin
delegates _meshPeerQualityForView to builder with identical output.
Co-authored-by: Cursor <[email protected] >
2026-06-05 02:25:24 -04:00
Raven Scott and Cursor
8f64574cd4
refactor(platform): extract guild mesh bandwidth stats build (Phase 958)
...
Non-breaking modularization: guild-mesh-bandwidth-stats-build.js centralizes
bandwidth window snapshot, cap effective/total key pairs, and guild sync
diagnostics slice. getMeshStabilityStats and exportGuildSyncDiagnostics
delegate to builders with identical output.
Co-authored-by: Cursor <[email protected] >
2026-06-05 02:22:34 -04:00
Raven Scott and Cursor
d70925d4fc
Phase 957: gossip outbox stats build extract (v0.8.924)
...
Add guild-mesh-gossip-outbox-stats-build with lane alert thresholds,
outbox stats resolve, and replication diagnostics gossip slice. Gossip
view and partition-heal mixins delegate without behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 23:13:43 -04:00
Raven Scott and Cursor
eb5f18fba5
Phase 956: guild mesh stability stats build extract (v0.8.923)
...
Add buildMeshStabilityStatsSnapshot with 29 canonical field keys and
guild-mesh-production-track-index for phases 956–980. getMeshStabilityStats
delegates to builder with identical output. Non-breaking refactor only.
Co-authored-by: Cursor <[email protected] >
2026-06-04 23:09:41 -04:00
Raven Scott and Cursor
154bea722f
Phase 955: export mesh track closure audit module (v0.8.922)
...
Add gossip-rpc-export-mesh-track-closure with line-count guard, barrel API
freeze marker, and phase 931–954 regression list. Barrel exports track
closure. Non-breaking; export mesh observable behavior unchanged.
Co-authored-by: Cursor <[email protected] >
2026-06-04 23:05:37 -04:00
Raven Scott and Cursor
05c0bdc302
Phase 954: export mesh registry validate e2e harness (v0.8.921)
...
Add runExportMeshFetchRegistryValidateE2e() chaining entries, alignment,
and coverage validation. Registry-index and barrel export the module.
Non-breaking refactor only; observable export mesh behavior unchanged.
Co-authored-by: Cursor <[email protected] >
2026-06-04 23:02:40 -04:00
Raven Scott and Cursor
7afbb3dc5f
refactor(export-mesh): add validate fields-unique facade (Phase 953)
...
Consolidate exportMeshFetchRegistryStringFields and assertUniqueExportMeshRegistryValue
in validate-fields-unique; entry scope modules import facade. Zero behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 23:00:09 -04:00
Raven Scott and Cursor
7e4e97cdc4
refactor(export-mesh): extract bind handler map (Phase 952)
...
Add gossip-rpc-export-mesh-bind-handlers.js with mixin and gossip-wire
handler maps; thin bind wire re-exports handlers. Zero behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:57:12 -04:00
Raven Scott and Cursor
ea56f8c780
refactor(export-mesh): extract scope-lists derive registry (Phase 951)
...
Add scope-lists-derive with cached spread; scope-lists and alias-map share
bound derive fns. Zero behavior change on scope list aliases.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:54:53 -04:00
Raven Scott and Cursor
b07361f143
refactor(export-mesh): split validators into audit/digest slices (Phase 950)
...
Add validators-audit and validators-digest modules; thin validators root
re-export facade. Registry audit/digest specs import slices directly. Zero
behavior change on mesh row validation.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:52:11 -04:00
Raven Scott and Cursor
4946ed21af
refactor(export-mesh): extract registry snapshot payload keys (Phase 949)
...
Add gossip-rpc-export-mesh-registry-snapshot-keys.js for diagnostics payload
key mapping; registry-snapshot delegates to pick helper. Zero behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:50:42 -04:00
Raven Scott and Cursor
3b396add54
refactor(export-mesh): extract lookup-entry-bind factory (Phase 948)
...
Split name-lookup bind factory into gossip-rpc-export-mesh-registry-lookup-entry-bind-factory.js;
thin entry-bind to resolve-only; lazy-require name scope in lookup-map. Zero behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:49:00 -04:00
Raven Scott and Cursor
4945a588a8
refactor(platform): extract mixin-fetch-once RPC leg builder (Phase 947)
...
Add gossip-rpc-export-mesh-mixin-fetch-once-rpc with buildGuildExportMeshFetchOnceRpcLeg
for try/ingest/formatRpcHit. Mixin-fetch-once composes rpc leg and gossip-wait chain.
Export mesh and mixin barrels spread new module. No observable fetch-once behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:45:12 -04:00
Raven Scott and Cursor
625ee72bfc
refactor(platform): split export mesh barrel into index modules (Phase 946)
...
Add gossip-rpc-export-mesh-attempt-index and gossip-rpc-export-mesh-registry-index
to group barrel requires. Thin gossip-rpc-export-mesh.js spreads index modules only.
Public export surface unchanged; barrel under 60 lines.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:43:47 -04:00
Raven Scott and Cursor
0173b10d3f
refactor(platform): export mesh view snapshot field registry (Phase 945)
...
Centralize export mesh RPC view snapshot keys in view-snapshot-fields.
gossip-rpc-view-snapshot picks fields via pickExportMeshViewSnapshotFields;
registry diagnostics payload builder maps input keys through field registry.
Barrel spreads view-snapshot-fields. No observable view snapshot changes.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:41:54 -04:00
Raven Scott and Cursor
07dbc8a7ca
refactor(platform): extract export mesh gossip RPC pull dispatch (Phase 944)
...
Add gossip-rpc-export-mesh-pull-dispatch with config-key guards and lazy
orchestrator require to avoid circular deps. Route targeted export pulls
through dispatch from platform-gossip-rpc-config-pull-mixin. Validate-pull-keys
asserts registry/gossip pull config alignment. No observable behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:40:10 -04:00
Raven Scott and Cursor
081dd6f537
refactor(platform): split export mesh fetch mixin bootstrap (Phase 943)
...
Add gossip-rpc-export-mesh-mixin-bootstrap and platform-export-mesh-fetch-bootstrap
wiring registry shim to buildPlatformExportMeshFetchMixins. Thin platform-export-mesh-fetch-mixin
re-exports bootstrap. Barrel spreads mixin-bootstrap. No observable mixin method changes.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:33:08 -04:00
Raven Scott and Cursor
93a0bf3f84
refactor(platform): extract row audit/digest mesh local getters (Phase 942)
...
Split getAuditExportArchiveMeshLocalRow and getAutomationDigestSnapshotMeshLocalRow
into row-audit-mesh and row-digest-mesh modules. Registry specs import mesh helpers;
row-audit/row-digest thin-reexport RPC try/ingest. Barrel spreads new modules.
No observable behavior change on export mesh paths.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:30:53 -04:00
Raven Scott and Cursor
6bcb308362
refactor(export-mesh): validate-alignment wrapper + validate facade (Phase 941)
...
Extract validateExportMeshFetchRegistryAlignment scope wrapper; add
registry-validate-facade; validate-alignment thin-reexports FromScope.
Validate-alignment-scope unchanged. No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:19:14 -04:00
Raven Scott and Cursor
22da1aace0
refactor(export-mesh): lookup facade + scope list alias-map (Phase 940)
...
Add buildExportMeshFetchRegistryLookupFacade consolidating lookup spreads;
extract buildExportMeshFetchRegistryScopeListAliasMap for scope list aliases.
Registry-lookup and scope-lists-aliases thin-compose. No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:16:01 -04:00
Raven Scott and Cursor
30f66af117
refactor(export-mesh): named-lists + registry pull-keys facade (Phase 939)
...
Extract exportMeshFetchNamedMixinMap and list helpers to registry-named-lists;
add registry-pull-keys facade for listExportMeshPullConfigKeys from scope.
Registry-named and diagnostics-inputs-named thin-compose. No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:14:30 -04:00
Raven Scott and Cursor
f75726c25d
refactor(export-mesh): extract registry audit/digest entry specs (Phase 938)
...
Add buildAuditExportArchiveMeshFetchEntrySpec and
buildAutomationDigestSnapshotMeshFetchEntrySpec modules; thin registry-audit
and registry-digest compose via buildExportMeshFetchRegistryEntry. No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:12:58 -04:00
Raven Scott and Cursor
a37b4a66a1
refactor(export-mesh): attempt-scope + retry-policy extract (Phase 937)
...
Centralize withExportMeshFetchAttemptFromScope and resolveExportMeshFetchRetryPolicy;
thin attempt/retry facades; fetch-once composes scope + policy. No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:11:36 -04:00
Raven Scott and Cursor
7bbc4168a9
refactor(export-mesh): extract gossip-wait options builder (Phase 936)
...
Centralize buildGuildExportMeshGossipWaitOptions in a dedicated module;
gossip-wait-build composes entry-bound callbacks; mixin-fetch-once imports
options instead of inlining wait config. No observable behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:09:18 -04:00
Raven Scott and Cursor
a40ea74e29
refactor(platform): Phase 935 export mesh format local helpers + validators facade
...
Extract audit archive local hit to format-audit-local; digest row and local
hit formatters to format-digest-local; format audit/digest roots re-export;
validators becomes thin facade over digest-local. No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:06:56 -04:00
Raven Scott and Cursor
b7f7ebebea
refactor(platform): Phase 934 export mesh entry fields + clone split
...
Centralize entry field groups and buildExportMeshFetchRegistryEntryFromSpec
in entry-fields; move cloneExportMeshFetchRegistryEntry to entry-clone; entry
root thin-wires factory and scope lookup. No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:03:42 -04:00
Raven Scott and Cursor
d54de315cf
refactor(platform): Phase 933 export mesh diagnostics-inputs + snapshot-entry
...
Move named mixin map and list helpers to diagnostics-inputs-named; extract
buildExportMeshFetchRegistryEntrySnapshot to snapshot-entry; snapshot and
named re-export unchanged surfaces; diagnostics-inputs imports named slice only.
No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 22:01:07 -04:00
Raven Scott and Cursor
2f14fa6882
refactor(platform): Phase 932 export mesh lists keys + entry-field split
...
Extract listExportMeshFetchRegistryKeys to lists-keys and entry-field or
pull-config derive helpers to lists-entry-field; lists becomes a thin facade;
scope-lists imports entry-field and mixin-keys directly. No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 21:59:41 -04:00
Raven Scott and Cursor
47ea35dfe4
refactor(platform): Phase 931 export mesh lookup-bind exports split
...
Extract lookup-bind-exports module with lazy entry scope resolver and
eager bindExports; thin lookup-bind facade; lookup-map adopts scope-bound
entry-field, mixin-method, and field-shortcut resolvers. No behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 21:56:48 -04:00
Raven Scott and Cursor
6c6e8b2ecf
refactor(platform): Phase 930 export mesh mixin + lookup-entry split
...
Non-breaking modularization of export mesh mixin builders and entry lookup:
- Extract resolve-waiter, fetch-from-mesh, and fetch-once per-method builders
- Layer mixin-entry, mixin-registry, and mixin-platform assembly modules
- mixin becomes thin facade with unchanged public API
- Split lookup-entry into resolve vs bind helper modules
- lookup-entry becomes thin re-export
Zero observable behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 21:41:08 -04:00
Raven Scott and Cursor
c45a29b07d
refactor(platform): Phase 929 export mesh lookup-name + lists split
...
Non-breaking modularization of export mesh registry name resolution:
- Extract scope-bound entry-field and mixin-method name lookup builders
- Extract field shortcuts factory for pull config + waiters key lookups
- lookup-name becomes thin facade with unchanged public API
- Extract lists-find and lists-mixin-keys helpers from registry lists
- lists re-exports full surface unchanged
Zero observable behavior change.
Co-authored-by: Cursor <[email protected] >
2026-06-04 21:39:04 -04:00
Raven Scott and Cursor
b259be16e5
refactor(platform): Phase 928 export mesh validate entry split
...
Non-breaking modularization of export mesh registry entry validation:
- Extract per-entry field validation to validate-entry-fields-scope
- Extract uniqueness set tracking to validate-entry-uniqueness-scope
- validate-entries becomes orchestrator only
- Extract alignment-entries-scope bundling entries + pull config keys
- validate-alignment-scope becomes entries+coverage facade only
Zero observable behavior change; public barrel APIs preserved.
Co-authored-by: Cursor <[email protected] >
2026-06-04 21:37:34 -04:00
Raven Scott and Cursor
10865f7b49
refactor(platform): Phase 927 export mesh diagnostics payload scope + coverage split
...
Non-breaking modularization of export mesh registry diagnostics and validation:
- Extract buildExportMeshFetchRegistryDiagnosticsPayloadFromScope to diagnostics-payload-scope
- Thin diagnostics-build to snapshot-only re-export
- Split validate-coverage into pull-config, named-mixin, and scope-list-counts scope modules
- Barrel exports unchanged externally; zero observable behavior change
Co-authored-by: Cursor <[email protected] >
2026-06-04 21:35:33 -04:00
Raven Scott
3944b63a5e
chore: sync multi-repo dev layout
2026-06-04 21:32:42 -04:00
Raven Scott
1a49f85bbc
chore: sync multi-repo dev layout
2026-06-04 21:20:57 -04:00
Raven Scott
1b95732e68
Phase 923: export mesh validate alignment scope extract + diagnostics snapshot re-export + lookup facade (v0.8.890)
...
Non-breaking refactor only — validate-alignment-scope extracts alignment-from-scope logic; validate-alignment becomes scope-wrapper only; diagnostics-snapshot re-exports snapshot builder; lookup facade imports diagnostics-snapshot. Protomux-rpc v1 default unchanged; fleet v2 cutover still deferred per user authorization. CI: test:ci-phase923 with live audit archive RPC.
2026-06-04 21:11:48 -04:00
Raven Scott
6347fc9f64
Phase 922: export mesh diagnostics build extract + validate pull keys helper (v0.8.889)
...
Non-breaking refactor only — diagnostics-build module centralizes payload/snapshot builders; listExportMeshFetchRegistryValidatePullConfigKeys extracts pull config key list for validation; diagnostics becomes thin re-export; validate-alignment drops direct gossip-rpc-pull-config import. CI: test:ci-phase922 with live digest snapshot RPC.
2026-06-04 21:07:05 -04:00
Raven Scott
9c5220a4a4
Phase 921: export mesh validate alignment extract + diagnostics inputs extract + validate coverage facade (v0.8.888)
...
Non-breaking refactor only — validate-alignment module centralizes alignment orchestration; validateExportMeshFetchRegistryCoverageFromScope facade deduplicates coverage calls; buildExportMeshFetchRegistryDiagnosticsInputsFromScope extracts diagnostics input builder; validate becomes thin re-export. CI: test:ci-phase921 with live audit archive RPC.
2026-06-04 21:04:32 -04:00
Raven Scott
6803937701
Phase 920: export mesh validate coverage + diagnostics/entry scope adoption (v0.8.887)
...
Non-breaking refactor only — validate-coverage module extracts pull config, named mixin, and scope list count validation; validate and diagnostics adopt withExportMeshFetchRegistryScope(); entry scope clone uses lazy scope wrapper to avoid registry→audit→entry circular dep. CI: test:ci-phase920 with live digest snapshot RPC.
2026-06-04 21:02:08 -04:00
Raven Scott
5bea861060
Phase 919: export mesh scope list builder + lookup name scope resolver + validate entries extract (v0.8.886)
...
Non-breaking refactor only — buildExportMeshFetchRegistryScopeListFn deduplicates scope-lists helpers; buildExportMeshFetchRegistryNameLookupFromScope centralizes name lookup scope access; validateExportMeshFetchRegistryEntriesFromScope extracts entry validation loop. exportMeshPullConfigKeys constant preserved (eager scope init blocked by circular dep). CI: test:ci-phase919 with live audit archive RPC.
2026-06-04 20:58:19 -04:00
Raven Scott
5f652c894b
Phase 918: export mesh scope list aliases + diagnostics payload scope + validate pull scope (v0.8.885)
...
Non-breaking refactor — exportMeshFetchRegistryScopeListAliases centralizes
public scope list aliases; buildExportMeshFetchRegistryDiagnosticsPayloadFromScope()
extracts diagnostics payload builder; buildExportMeshFetchRegistryLookupBindExports()
factory deduplicates bind exports; validate uses listExportMeshPullConfigKeysFromScope()
and drops registry import. Default gossip v1 unchanged; fleet v2 cutover still deferred.
Verification: test:ci-phase918, boot gate, pearcord.log scan.
2026-06-04 20:48:39 -04:00
Raven Scott
08a6f7846c
Phase 917: export mesh entry name lookup map + pull config scope list (v0.8.884)
...
Non-breaking refactor — buildExportMeshFetchRegistryEntryNameLookupMap()
centralizes entry name lookup map; lookup-bind uses map builder; lookup
facade spreads lookup-name + lookup-bind; listExportMeshPullConfigKeysFromScope()
derives pull keys from scope; registry delegates pull key list to scope helper.
Default gossip v1 unchanged; fleet v2 cutover still deferred.
Verification: test:ci-phase917, boot gate, pearcord.log scan.
2026-06-04 20:38:08 -04:00