Plan
ID:WORK-100Status:donePriority:highComplexity:simpleMilestone:v1.0.0

Migrate simple community runes from Model to createContentModelSchema

Migrate community package runes that use straightforward @group decorator patterns. These map directly to sequence or sections content models with no custom processChildren logic.

Runes

RunePackageFileContent model
featuremarketingrunes/marketing/src/tags/feature.tssequence
stepsmarketingrunes/marketing/src/tags/steps.tssequence
characterstorytellingrunes/storytelling/src/tags/character.tssections
factionstorytellingrunes/storytelling/src/tags/faction.tssections
plotstorytellingrunes/storytelling/src/tags/plot.tssections
realmstorytellingrunes/storytelling/src/tags/realm.tssections
castbusinessrunes/business/src/tags/cast.tssections
timelinebusinessrunes/business/src/tags/timeline.tssections
changelogdocsrunes/docs/src/tags/changelog.tssections
previewdesignrunes/design/src/tags/preview.tssequence

Acceptance Criteria

  • All 10 runes rewritten using createContentModelSchema
  • refrakt inspect <rune> --type=all output is identical before and after for each rune
  • All existing tests pass after each migration
  • No Model class import remains in any of the migrated files
  • Community package builds succeed (npm run build for each affected package)

Approach

Same per-rune process as WORK-099. Group by package to minimize context switching — do all marketing runes together, then storytelling, etc.

Dependencies

  • WORK-099 (builds confidence in the migration pattern on core runes first)

References

  • SPEC-032 (parent spec)

Relationships