Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 683 Bytes

File metadata and controls

15 lines (11 loc) · 683 Bytes

Agent Instructions for Monix

This file contains mandatory rules for AI agents (Copilot, Claude, Cursor, etc.) working on this repository. Any violation is a CI-breaking mistake!


Code rules

  • Never workaround the compiler, make an effort to solve errors in an idiomatic way:
    • Avoid asInstanceOf downcasting, unless there's no other way (e.g., untagged union types in Scala 3).
    • @nowarn annotations, or other ways for supressing warnings/errors, are not permitted without the user's consent.
      • We fix warnings, we don't ignore them.
  • Use package imports, instead of fully qualified names.
  • Make an effort to write idiomatic, yet performant Scala code.