Commit Graph
5 Commits
Author SHA1 Message Date
Raven ScottandCursor a5dba86570 refactor(platform): organize mixins into category directories
Move 136 prototype mixins under mixins/domain, json-export, and
runtime/* so the package root stays navigable. Manifest assign order
is unchanged; apply-platform-mixins and runtime registry paths updated.

Co-authored-by: Cursor <[email protected]>
2026-06-03 17:42:26 -04:00
Raven ScottandCursor 6d6d8bca00 refactor(platform): one-pass class decomposition into 25 mixins (Phase 756)
Move ~30k lines from platform-pearcord-platform-class.js into dedicated
platform-* mixins including view(), guild wire/sync, JSON export surface,
and domain APIs. Manifest grows to 136 rows with 76 runtime mixins; class
spine retains constructor, session lifecycle, openGuild, and close (~938 lines).

Co-authored-by: Cursor <[email protected]>
2026-06-03 13:11:56 -04:00
Raven ScottandCursor f455de2bfa fix(platform): static mixin requires for Pear bundler compatibility
Replace dynamic require() loop in apply-platform-mixins with generated
static requires (ORDERED_PLATFORM_MIXINS). Pear runtime resolves dynamic
paths to .bare addons with unsupported pear: protocol; static requires
fix pear run and staged release boot. Regenerate via
apps/pearcord/scripts/regenerate-apply-platform-mixins.py when manifest changes.

Co-authored-by: Cursor <[email protected]>
2026-06-03 12:24:28 -04:00
Raven ScottandCursor 59314420af refactor(platform): Phase 730 mixin manifest and gossip validation DRY
Introduce platform-mixin-assign-manifest.js (59 rows, same assign order) and
manifest-driven apply-platform-mixins loop. Add json-export-gossip-alignment-
validate.js, platform-ipc-contract.js; digest-json uses per-entry gossip keys.
No observable behavior or mesh semantics changes.

Co-authored-by: Cursor <[email protected]>
2026-06-03 10:05:49 -04:00
Raven ScottandCursor 29d61a9ec9 refactor: extract apply-platform-mixins.js from index.js
Move all 59 mixin Object.assign registrations into apply-platform-mixins.js
with identical order; index.js invokes applyPlatformMixins after export.
Refactor slash/oauth/invite/permission/worker json mixins to
createJsonExportHealDelegateMixin. index.js reduced by ~116 lines; behavior
unchanged.

Co-authored-by: Cursor <[email protected]>
2026-06-03 09:48:09 -04:00