Commit Graph

2 Commits

Author SHA1 Message Date
Jaime Wren db5ff55bd2 Address comments in the PR 2026-08-25 11:22:03 -07:00
Jaime Wren 238dfdce18 feat(rules): add flutter-app-runtime rule for proactive hot reload
https://github.com/dart-lang/ai/issues/498

Add proactive Flutter hot reload rules (flutter-app-runtime.md and
flutter-app-runtime.mdc) to automate the hot reload and runtime error
verification loop when editing Dart and Flutter files.
Problem:
The sub-second Stateful Hot Reload cycle is the cornerstone of the
Flutter development experience. However, during AI-driven workflows:
- Out-of-Sync Execution: Agents modify source code on disk but fail to
  update the active session, leaving the simulator/device screen stale.
- Friction in Context Switching: Users must exit the chat interface to
  manually initiate a reload via the CLI ('r') or IDE tooling.
- Latent Feedback on Regressions: Build failures and layout issues
  (e.g., RenderFlex overflows) are only revealed after manual
  intervention, leading to fragmented multi-turn debugging sessions.
2026-08-25 11:22:03 -07:00