Commit Graph
812 Commits
Author SHA1 Message Date
Raven ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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 ScottandCursor 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
Raven Scott 5613888f83 Phase 916: export mesh entry scope clone + entry lookup map builder + registry config scope (v0.8.883)
Non-breaking refactor — lookupExportMeshFetchRegistryEntryFromScope()
centralizes scope clone; buildExportMeshFetchRegistryEntryLookups() factory
deduplicates bind wiring; lookup-name consolidates named mixin name lookup;
exportMeshFetchConfig() uses scope clone. Default gossip v1 unchanged; fleet v2
cutover still deferred.

Verification: test:ci-phase916, boot gate, pearcord.log scan.
2026-06-04 20:35:50 -04:00
Raven Scott 42bbd4a810 Phase 915: export mesh entry lookup bind extract + validate scope adoption (v0.8.882)
Non-breaking refactor — gossip-rpc-export-mesh-registry-lookup-bind.js wires
entry + entry-by-name lookups; lookup module becomes thin re-export facade;
validate uses getExportMeshFetchRegistryScope() and scope-lists helpers
instead of direct registry/lookup imports. Default gossip v1 unchanged; fleet
v2 cutover still deferred.

Verification: test:ci-phase915, boot gate, pearcord.log scan.
2026-06-04 20:33:33 -04:00
Raven Scott 88f136b077 Phase 914: export mesh scope list helpers + diagnostics extract + entry lookup factory (v0.8.881)
Non-breaking refactor — scope-lists module centralizes scope-based list/snapshot
helpers; diagnostics module extracts diagnostics builder;
bindExportMeshFetchRegistryEntryLookupForNameLookup() factory deduplicates
entry-by-name lookups; pull/waiters name wrappers move to lookup-name module.
Default gossip v1 unchanged; fleet v2 cutover still deferred.

Verification: test:ci-phase914, boot gate, pearcord.log scan.
2026-06-04 20:29:52 -04:00
Raven Scott ad230e7af1 Phase 913: export mesh registry scope + mixin name lookup + entry bind (v0.8.880)
Non-breaking refactor — getExportMeshFetchRegistryScope() centralizes
registry+keys access; lookupExportMeshFetchRegistryNameByMixinMethod()
extends lookup-name module; bindExportMeshFetchRegistryEntryLookup()
deduplicates entry resolve chain. Default gossip v1 unchanged; fleet v2
cutover still deferred.

Verification: test:ci-phase913, boot gate, pearcord.log scan.
2026-06-04 20:27:39 -04:00
Raven Scott f97086a321 Phase 912: export mesh registry name field lookup + entry resolve chain (v0.8.879)
Non-breaking refactor — lookupExportMeshFetchRegistryNameByEntryField()
deduplicates pull/waiters name lookups; lookupExportMeshFetchRegistryEntryByResolvedName()
centralizes entry resolve chain; entryMatchesExportMeshFetchMixinMethod() uses
method key list. Default gossip v1 unchanged; fleet v2 cutover still deferred.

Verification: test:ci-phase912, boot gate, pearcord.log scan.
2026-06-04 20:23:18 -04:00
Raven Scott fdc9afa075 Phase 911: export mesh lookup entry resolve + mixin method keys (v0.8.878)
Non-breaking refactor — lookupExportMeshFetchRegistryEntryIfName()
deduplicates entry lookup chain; listExportMeshFetchMixinMethodKeysForEntry()
centralizes mixin method key lists; listExportMeshFetchNamedMixinRegistryNames()
extends named map module; diagnostics include exportMeshFetchNamedMixinRegistryNames.
Default gossip v1 unchanged; fleet v2 cutover still deferred.

Verification: test:ci-phase911, boot gate, pearcord.log scan.
2026-06-04 20:17:05 -04:00
Raven Scott ec0cfb8a75 Phase 910: export mesh pull config derive + mixin method lookup (v0.8.877)
Non-breaking refactor — exportMeshPullConfigKeys derived from registry entries;
cloneExportMeshFetchRegistryEntry() centralizes entry cloning;
findExportMeshFetchRegistryNameByMixinMethod() and
entryMatchesExportMeshFetchMixinMethod() extend lists module;
lookupExportMeshFetchRegistryEntryByNamedMixinExport() completes named mixin
lookup chain. Default gossip v1 unchanged; fleet v2 cutover still deferred.

Verification: test:ci-phase910 (2nd retry), boot gate, pearcord.log scan.
2026-06-04 20:13:47 -04:00