WORK-529
ID:WORK-529Status:ready

Correct section roles — core and marketing runes

Three runes whose sections map is missing a role their layout clearly has. Card is the case that surfaced the whole problem:

Priority:highComplexity:moderateMilestone:v0.31.0Source:SPEC-125
claude/transform-package-refactor-7mxi8a View source

Criteria completion

Criteria completion: 0 of 7 (0%) checked; tracking started on Sep 6, no incremental history yet0%25%50%75%100%Sep 6Sep 6

Tracking started Sep 6 — check back for trends.

Branches 1
claude/transform-package-refactor-7mxi8a current ready
main ready
History 1
  1. 127194f
    Created (ready)by bjornolofandersson

Acceptance Criteria

  • Each of the three runes is individually assessed: is the missing role an oversight, or is the slot deliberately not a semantic section?
  • Corrections are applied only where the role genuinely belongs; a decision not to add one is recorded with its reasoning
  • Each correction has a test asserting the new data-section and, for a body role, that reading/dropcap now land on it
  • The rendered-output change for each rune is enumerated in the resolution — this is not output-neutral
  • refrakt contracts is regenerated; the unavailable entries for the affected runes disappear, and nothing else in the contract moves
  • A changeset records the visible change for theme authors
  • npm run build, the full repo suite, and refrakt contracts --check pass

Approach

Adding a role adds data-section, which Lumina styles directly in styles/dimensions/sections.css and styles/dimensions/density.css. Existing sites will render these runes differently without doing anything, so each addition needs its own justification — "the slot exists" is necessary but not sufficient.

Check the rendered result visually, not only in tests: a card body picking up the shared [data-section="body"] rules is the intended outcome, but it should be confirmed rather than assumed.

Blocked by

  • WORK-528

References

  • SPEC-125 — Phase 1, Direction 1
  • SPEC-108 — reading register and dropcap