ID:WORK-068Status:donePriority:mediumComplexity:simpleMilestone:v0.9.0
Inspector Dimensions Audit
Summary
Add a --audit-dimensions flag to refrakt inspect that verifies universal theming dimension coverage: surface assignments, density theming, section anatomy theming, interactive state theming, and media slot theming. Flags community runes missing surface assignments and any dimension values without corresponding theme CSS.
Acceptance Criteria
refrakt inspect --audit-dimensionsshows surface assignments with rune counts and unassigned runes- Audit shows density coverage across all three levels
- Audit shows section anatomy coverage for all 6 section roles
- Audit shows interactive state coverage
- Audit shows media slot coverage for all 5 slot types
- Community runes with dimensions but no surface assignment are flagged
--jsonflag works with--audit-dimensions
Approach
Extend the inspector audit. Walk all rune configs collecting dimension declarations. Walk theme CSS collecting [data-density], [data-section], [data-state], [data-media] selectors. Cross-reference and report gaps.
References
- SPEC-025 (Universal Theming Dimensions — Inspector Audit)