Why
Proof 03 can form MIAU IS YOU AND WIN, but the engine currently checks victory only when two different entities overlap, so a same entity carrying both properties never wins. This fix restores the intended first-release meaning of WIN while making contact-effect precedence explicit and testable.
What Changes
- Treat a settled entity with both
YOUandWINas a victory when the turn resolves. - Preserve the existing precedence for
SINKandDEFEAT: destruction prevents that entity from winning in the same contact resolution. - Add engine fixtures for same-entity win, separate-entity win, sink/defeat precedence, undo/reset, and proof 03 regression coverage.
- Add browser acceptance for the proof 03 win card and settled move result.
Capabilities
New Capabilities
None.
Modified Capabilities
rule-engine: define same-entityYOU+WINvictory and its contact-effect precedence.
Impact
The change affects src/, engine fixtures, proof 03 browser coverage, and the settled event's won result consumed by the existing stage. It does not add vocabulary, change pack formats, or alter the stage scene contract.