2026-01-11 09:10:19 +01:00
|
|
|
AGENTS instructions
|
|
|
|
|
===================
|
|
|
|
|
|
|
|
|
|
The main developer documentation is [Contributor's guide](contributing-docs/README.md).
|
|
|
|
|
|
|
|
|
|
- [Development environment](contributing-docs/02_development_environment.md)
|
|
|
|
|
|
|
|
|
|
Compiling with sbt
|
|
|
|
|
------------------
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
sbt compile
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Pull reuqest guideline
|
|
|
|
|
----------------------
|
|
|
|
|
|
2026-01-11 21:08:20 +01:00
|
|
|
- Follow the PR guidance in [contributing-docs/01_pull_request.md](contributing-docs/01_pull_request.md).
|
2026-01-11 09:10:19 +01:00
|
|
|
- In the commit message, include "Generated-by" tag for Gen-AI tools.
|
|
|
|
|
|
|
|
|
|
Coding style
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
sbt scalafmtAll
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
- Follow [Coding style and best practices](contributing-docs/03_coding_style.md)
|
|
|
|
|
- Avoid inline comments!
|
|
|
|
|
|
|
|
|
|
Tests
|
|
|
|
|
-----
|
|
|
|
|
|
|
|
|
|
Always add tests. For changes with small scopes prefer HedgeHog for Scala.
|
|
|
|
|
For changes that require coordination with file changes and tasks, use scripted test.
|
|
|
|
|
|
2026-01-11 21:08:20 +01:00
|
|
|
- [contributing-docs/04_unit_tests.md](contributing-docs/04_unit_tests.md)
|
|
|
|
|
- [contributing-docs/05_scripted_tests.md](contributing-docs/05_scripted_tests.md)
|
|
|
|
|
- [contributing-docs/06_manual_tests.md](contributing-docs/06_manual_tests.md)
|
2026-01-11 09:10:19 +01:00
|
|
|
|
|
|
|
|
Binary compatibility
|
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
|
|
sbt MUST maintain backward binary compatibility across minor releases.
|
|
|
|
|
This means removing public method signature MUST be avoided.
|
|
|
|
|
|
|
|
|
|
Use mima to check:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
sbt mimaReportBinaryIssues
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Copyright
|
|
|
|
|
---------
|
|
|
|
|
|
|
|
|
|
- NEVER reproduce copyrighted material.
|