[Phase 2.7] Legal Action & Target Generator (generate_legal_intents) for UI & AI #25
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#25
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
Expose a deterministic
generate_legal_intents(&MatchState, PlayerId) -> Vec<MatchIntent>API so UI highlights, server anticheat validation, bot soak tests, and CodeMaster AI share one source of truth.Metadata
crates/chaotic_core/src/legal_intents.rs.rs<= 400 lines, test.rs<= 600 lines,mod.rs< 80 lines (AGENTS.mdSection 2.3)Acceptance Criteria
Range/Swift/Defender-aware), Attack strike choices, Mugic casts + valid single casters, Activated abilities, and Priority Pass intents.MatchIntentsucceeds when passed toapply_match_intent(roundtrip fuzz property).