Eight Cursor rules that make AI write production-grade Scala — immutability first, Option/Either/Try over null and exceptions, for-comprehensions for monadic composition, sealed traits + case classes for exhaustive ADTs, type classes over inheritance,…