WORK-674
ID:WORK-674Status:ready

A composition's narrative field is checked at definition load

ADR-047 lets a rune declare one narrative field that accepts only the editorial runes textblock and mediatext, and says the field is never published as structured data. As amended, the field is inferred from its match, and both rules are checked.

Priority:lowComplexity:simpleMilestone:v0.46.0Source:ADR-047
claude/value-primitives-and-grid View source

Criteria completion

Criteria completion: 0 of 6 (0%) checked; tracking started on Oct 29, no incremental history yet0%25%50%75%100%Oct 29Nov 4

Tracking started Oct 29 — check back for trends.

Branches 3
History 3
  1. 807a48b
    Created (ready)by bjornolofandersson
  2. 0ec343f
    Content editedby Claude
    plan: draft v0.45.0 and v0.46.0; WORK-660 joins v0.44.0
  3. 8c20651
    Content editedby Claude
    plan: accept ADR-047 with checkable narrative-field rules; WORK-674, WOR

Acceptance Criteria

  • A content-model field whose match names editorial runes (tag:textblock, tag:mediatext) and nothing else is recognised as the narrative field
  • A definition declaring more than one narrative field is rejected at load, naming the fields
  • A definition whose schema table maps a narrative field is rejected at load, naming the field and the property
  • A field that mixes editorial runes with other matches is not a narrative field and is not checked as one
  • reference and inspect show which field is the narrative field
  • A fixture composition with a story field renders the story between two template parts, publishes no part of it in JSON-LD, and raises no slot-role warning (ADR-046)

References

  • ADR-047: decisions 1 and 2, as amended.