refactor(platform): Phase 755 embed/voicenote/attachment heal mixins (v0.8.731)

Extract stale embed cache heal, failed voicenote draft retry, and orphaned
attachment relink into three prototype mixins (manifest 111 rows, runtime registry
51). Non-breaking: identical partition extended heal embed/voice/attachment paths;
platform class ~31205 lines (~96 net drop).

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 12:06:26 -04:00
co-authored by Cursor
parent f3e2583dde
commit e1c3f27641
7 changed files with 135 additions and 101 deletions
+4 -1
View File
@@ -4,7 +4,7 @@
* Ordered PearcordPlatform prototype mixin registration (Phase 730).
* Preserves assign order from index.js / apply-platform-mixins (Phase 727).
*/
const PLATFORM_MIXIN_ASSIGNMENT_COUNT = 108
const PLATFORM_MIXIN_ASSIGNMENT_COUNT = 111
const PLATFORM_MIXIN_ASSIGNMENTS = [
{ module: './polls-scheduling', export: 'pollSchedulingMixin' },
@@ -114,6 +114,9 @@ const PLATFORM_MIXIN_ASSIGNMENTS = [
{ module: './platform-forum-filter-mixin', export: 'platformForumFilterMixin' },
{ module: './platform-partition-reaction-sticker-heal-mixin', export: 'platformPartitionReactionStickerHealMixin' },
{ module: './platform-partition-roster-heal-mixin', export: 'platformPartitionRosterHealMixin' },
{ module: './platform-partition-embed-heal-mixin', export: 'platformPartitionEmbedHealMixin' },
{ module: './platform-partition-voicenote-heal-mixin', export: 'platformPartitionVoicenoteHealMixin' },
{ module: './platform-partition-attachment-heal-mixin', export: 'platformPartitionAttachmentHealMixin' },
{ module: './platform-diagnostics-mixin', export: 'platformDiagnosticsMixin' }
]