WORK-477
ID:WORK-477Status:ready

Reading per-rune + layout/region defaults

Assign the per-rune and layout-region reading defaults so the right bodies read as prose/ui/fine with zero author markup. Per SPEC-108 §4 + Work breakdown 2.

Priority:mediumComplexity:simpleMilestone:v0.26.0Source:SPEC-108
claude/v0.26.0-milestone-2vuxi9 View source

Criteria completion

Criteria completion: 0 of 2 (0%) checked; tracking started on Jun 25, no incremental history yet0%25%50%75%100%Jun 25Jul 11

Tracking started Jun 25 — check back for trends.

Branches 3
History 1
  1. 17d2678
    Created (ready)by bjornolofandersson

Scope

  • Set defaultReading on editorial-body runes → prose (pullquote, lore, blockquote, textblock); UI runes → ui (or omit, since ui is the fallback) (card, nav, form); captions → fine.
  • Set the content-region reading default per layout: blog-articleprose; docs → omit (so it stays ui, or a docs-tuned register).
  • Verify the cascade end-to-end: a pullquote reads prose in any context; a card in a blog-article stays ui; bare article paragraphs in blog-article read prose.

Acceptance Criteria

  • Assignment resolves from layout/region default → per-rune defaultReading → author override; a blog-article content region defaults to prose and a docs region does not.
  • Editorial-body runes default to prose, UI runes to ui, captions to fine; a card inside a blog-article stays ui while the bare article body reads prose.

Dependencies

  • WORK-476 — needs defaultReading, the region default field, and the resolver.

References

  • Spec: SPEC-108 §4 (assignment is layout-aware). packages/transform/src/layouts.ts (blog-article, docs), per-rune configs.