ID:WORK-080Status:done
Refactor Realm and Faction Transforms to Use Shared Utilities
Priority:highComplexity:moderateSource:SPEC-028
No incremental history — criteria tracking started on Apr 21.
Realm and Faction share ~90% identical transform code (scene image extraction, description rendering, layout meta tags, content building, createComponentRenderable structure). Refactor both to use the shared utilities from WORK-076 and WORK-077, align their section structure to the standard 3-section pattern, and fix Faction's missing mediaSlots config.
buildLayoutMetas() from WORK-076buildLayoutMetas() from WORK-076extractMediaImage() from WORK-077 (replacing ~15-line inline unwrap loops)mediaSlots: { scene: 'cover' } and corresponding sections entry for scene: 'media'mediaSlots and sections config