WORK-100
ID:WORK-100Status:done

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.

Priority:highComplexity:simpleMilestone:v1.0.0Source:SPEC-032

Criteria completion

Criteria completion: 5 of 5 (100%) checked; history from Apr 2 to Apr 30%25%50%75%100%Apr 2Apr 3
Branches 3
History 5
  1. e900a90
    Created (done)by bjornolofandersson
  2. f262d7b
    Content editedby Claude
  3. f0a845a
    • ☑ 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)
    by Claude
  4. a20f532
    statusreadydone
    by Claude
  5. 5c72bef
    Created (ready)by Claude
    Add work items WORK-099 through WORK-104 for legacy Model removal

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)