[Phase 1.3] Define Card Domain Types & Effect AST Schema in chaotic_core #4
Labels
No labels
area:backend-infra
area:ci
area:client
area:core
area:data
area:server
P0
P1
P2
status:backlog
status:in-progress
status:ready
status:review
type:chore
type:feature
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
john4064/Chaotic#4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Define strongly-typed card definitions, metadata locks, quarantine status, and the modular Effect AST inside
crates/chaotic_core/src/(aligned withdocs/CHAOTIC_RULES_AND_LORE.mdand strict 400-line file budgets).Metadata
crates/chaotic_core/src/{lib.rs,card.rs,ast.rs,stat.rs}.rs<= 400 lines, test.rs<= 600 lines,mod.rs< 80 lines (AGENTS.mdSection 2.3)Acceptance Criteria
card.rs,ast.rs,stat.rs, keepinglib.rsconcise) so every file stays well under 400 lines.CardId,CardSet,Rarity,Tribe(OverWorld,UnderWorld,Mipedian,Danian,Marrillian,Tribeless,Generic),Element,Discipline, andCreatureSubtype.MugicCasterFilter(Genericvs.Tribal(Tribe)) from CreatureTribeless(single-Creature full counter payment).LocationCard::initiativeviaInitiativeCriteria(Discipline, Element/Count, Tribe, or custom condition) andAttackCheck(Check,Fail,Challenge) withbuild_points,base_damage, and elemental damages.base_name(Rule of 2 / cross-subtitleUniquegrouping),is_unique,is_legendary,loyal_tribe,raw_printed_text,raw_text_sha256, andImplementationStatus(Verifiedvs.UnverifiedQuarantine).EffectHook,TriggerCondition,ActivationCost,TargetFilter,AtomicEffect,ContinuousModifier) covering Dawn of Perim keywords.