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
changeset-release/main View source

Criteria completion

No incremental history — criteria tracking started on Apr 19.

Branches 3
History 6
  1. f2b3512
    Content editedby Claude
    Add {ID}-{slug}.md filename convention + migrate filenames subcommand
  2. 59ded4a
    Content editedby Claude
    Implement SPEC-037 plan package hardening: all 7 work items
  3. f262d7b
    Content editedby Claude
    Backfill source attributes on all 123 work items
  4. f0a845a
    Content editedby Claude
    chore(plan): check off acceptance criteria for 14 completed v1.0.0 work
  5. a20f532
    Content editedby Claude
    Mark all SPEC-032 work items as done (WORK-099 through WORK-104)
  6. 5c72bef
    Created (done)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)