Why
PHP Edit Media metabox and JS Media Library sidebar both format cimo meta (filesize, mime labels, bulk vs upload savings) with duplicated logic.
This is not product law - the PRD/contract already define the surfaces and meta shape.
Opportunity
Deepen attachment intelligence so formatting/heuristics live behind one seam both PHP and JS (or a shared derived representation) can consume.
References
docs/prd/attachment-intelligence.md
src/admin/CONTRACT.md
src/admin/class-meta-box.php
src/admin/js/media-manager/sidebar-info.js
Out of scope
Changing user-visible product promises or the metadata queue contract unless a PRD update is intentional.
Why
PHP Edit Media metabox and JS Media Library sidebar both format
cimometa (filesize, mime labels, bulk vs upload savings) with duplicated logic.This is not product law - the PRD/contract already define the surfaces and meta shape.
Opportunity
Deepen attachment intelligence so formatting/heuristics live behind one seam both PHP and JS (or a shared derived representation) can consume.
References
docs/prd/attachment-intelligence.mdsrc/admin/CONTRACT.mdsrc/admin/class-meta-box.phpsrc/admin/js/media-manager/sidebar-info.jsOut of scope
Changing user-visible product promises or the metadata queue contract unless a PRD update is intentional.