Compare commits

...
Author SHA1 Message Date
Thomas SharedInboxandClaude Sonnet 4.6 70661edbda docs: add dart format and import ordering requirements to AGENTS.md
Three open PRs failed CI because their Dart code was not formatted with
dart format and one had imports out of alphabetical order. Document both
requirements so future agents don't repeat the mistake.

Closes #384

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 00:46:34 +02:00
+2
View File
@@ -47,6 +47,8 @@ loop/code → loop/code-in-progress → loop/code-done
## Code conventions
- Avoid `else`, use "early return".
- Always run `dart format lib/ test/` before committing Dart code. CI enforces formatting with `dart format --set-exit-if-changed` and will fail if files are not formatted.
- Import directives must be sorted alphabetically within each section. CI enforces this via `dart analyze --fatal-infos`.
## Drift (DB)