Commit Graph

1 Commits

Author SHA1 Message Date
david raistrick 80b454d087 tooling: audit-state.js expanded bug-finder (9 invariant classes)
Runs pure turn.js combat, audits per round:
- rotation integrity, HP bounds, isActive consistency, turnOrder dup,
  currentTurn valid, deathSave range, removeParticipant orphans,
  conditions, undo support

100-round run: 128 violations all BUG-1/BUG-2 family (4 symptoms).
Clean: HP, isActive, deathSave, conditions, removal.

Exploratory (Math.random), not unit test. Unit tests lock known bugs.
2026-06-29 16:21:54 -04:00