ID:WORK-063Status:done
Density Dimension
Priority:highComplexity:moderateMilestone:v0.9.0
No incremental history — criteria tracking started on Apr 17.
Add a density dimension to rune configs and the identity transform. Runes declare a defaultDensity and the transform emits data-density on the rune's root element. Density controls spacing and detail level: full shows everything, compact truncates descriptions and hides secondary metadata, minimal shows only title and primary metadata.
Density is set automatically by context (dedicated page → full, grid cell → compact, list view → minimal) and can be overridden by the author via a density attribute.
RuneConfig in packages/transform/src/types.ts gains defaultDensity?: 'full' | 'compact' | 'minimal'data-density on the rune's root elementdensity="compact" attribute on the rune tagdefaultDensity per SPEC-025 Table 4defaultDensity to RuneConfig interfacedata-density from: author attribute override → context-based override → config default → 'full'