Skip to content

Enforce O.C.C. attribute requirements and related-skill category rules (currently inert data) #26

Description

@StreamDemon

P2 from the 2026-07-03 review (docs/reviews/2026-07-03-rules-layer-review.md, PR #19).

Transcribed but unenforced anywhere in the engine:

  • Attribute requirements: LLW requires I.Q. 10 / P.E. 12 (attributeRequirements in ley-line-walker.json) — a character failing them derives a clean sheet.
  • O.C.C.-related skill rules: counts (7 + 2@3 + 1@6,9,12), category minimums, and the 17 category restrictions are free text the engine can't check — a LLW with Gymnastics or 12 related skills derives cleanly. Related: the catalog currently has exactly one Science skill (math-basic) vs the LLW's "min 2 Science" pick rule, so the rule is unsatisfiable until more skills are transcribed.

Overlaps with the builder wizard (#9) and O.C.C.-skill auto-assembly (#11) — decide there whether enforcement lives in the engine (a validateCharacter function) or the builder. Structured encoding of the category rules is the prerequisite either way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:rulesRules engine (@riftforge/rules)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions