The PolyType attribute on Filter registers TileAffinityMatchesFilter under the discriminator "TileAffinityMatches" (no Filter suffix). CompileEffect was writing "TileAffinityMatchesFilter" which caused a JsonException on deserialization when game.activate_ability tried to parse the ability JSON. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>