This file contains mandatory rules for AI agents (Copilot, Claude, Cursor, etc.) working on this repository. Any violation is a CI-breaking mistake!
- Never workaround the compiler, make an effort to solve errors in an idiomatic way:
- Avoid
asInstanceOfdowncasting, unless there's no other way (e.g., untagged union types in Scala 3). @nowarnannotations, or other ways for supressing warnings/errors, are not permitted without the user's consent.- We fix warnings, we don't ignore them.
- Avoid
- Use package imports, instead of fully qualified names.
- Make an effort to write idiomatic, yet performant Scala code.