diff --git a/AGENTS.md b/AGENTS.md index d13b81c..56cd1ab 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,7 +6,7 @@ This document contains instructions and documentation references for AI assistan # AGENTS.md > **Start every session by reading this file.** -> This file outlines the operational protocols, coding standards, and architectural decisions for this FastAPI project. +> This file outlines the operational protocols, coding standards, and architectural decisions for this Flutter project. ## 1. Agent Operational Protocols @@ -39,6 +39,13 @@ This document contains instructions and documentation references for AI assistan * `refactor: split monolith dependency file` * **Atomic Commits:** Keep commits small. One logical change = one commit. +### ๐Ÿงช Testing Requirements +* **Always add tests for new code before committing.** No exceptions. +* Tests should cover the happy path and key edge cases. +* Run `flutter test` before committing to ensure all tests pass. +* For widgets: use widget tests. For business logic: use unit tests. +* Code coverage should not decrease with new commits. + ### ๐Ÿ“ Changelog Maintenance * **Update `CHANGELOG.md`** with every user-facing change. * Format: `## [Unreleased] - YYYY-MM-DD` followed by `### Added`, `### Changed`, or `### Fixed`. \ No newline at end of file