From 7a2b29afe99e843b9149b610dd2923709c0b5e77 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 21 Mar 2026 17:31:17 +0000 Subject: [PATCH] Update AGENTS.md: fix Flutter version and test/lint documentation Co-authored-by: Dara Adedeji --- AGENTS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 0c8ff483..188cbb5a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,10 +12,10 @@ A Flutter desktop app for creating interactive Valorant game strategies. See `RE ### Key caveats -- **FVM is required.** Flutter is pinned to `3.38.4` via `.fvmrc`. Always prefix Flutter/Dart commands with `fvm` (e.g. `fvm flutter run`, `fvm dart run`). +- **FVM is required.** Flutter is pinned to `3.41.1` via `.fvmrc`. Always prefix Flutter/Dart commands with `fvm` (e.g. `fvm flutter run`, `fvm dart run`). - **`xdg-user-dirs` must be initialized.** The `path_provider` plugin needs XDG user directories. Run `sudo apt-get install -y xdg-user-dirs && xdg-user-dirs-update` if the app crashes with `MissingPlatformDirectoryException`. - **Linux build deps.** `clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-14-dev` must be installed for Linux desktop builds. - **Code generation.** After changing Hive models, Riverpod providers, or JSON-serializable classes, regenerate with: `fvm flutter pub run build_runner build --delete-conflicting-outputs`. -- **No automated tests exist** in this codebase. `flutter test` will find nothing. -- **Lint.** `fvm flutter analyze` — expect ~70 pre-existing warnings/infos (unused imports, deprecated APIs). No errors. +- **Tests.** `fvm flutter test` — 24 test files exist. Expect ~147 passes and ~6 pre-existing failures. +- **Lint.** `fvm flutter analyze` — expect a handful of pre-existing info-level diagnostics (`prefer_const_constructors`). No errors. - **Build.** `fvm flutter build linux --debug` produces the binary at `build/linux/x64/debug/bundle/icarus`.