You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ Self-check before finalizing:
25
25
26
26
- Follow existing project conventions before introducing new patterns.
27
27
- Prefer established libraries for standard concerns over custom implementations.
28
+
- Use canonical state, not ad-hoc component logic: before deriving behavior in components, check reducers/actions/selectors for an existing field and reuse it; if missing, add it once in the state layer (reducer/selector) and consume that everywhere.
28
29
- Do not use debug-level logging in production code paths.
29
30
- Keep test structure consistent with neighboring tests in the same folder.
30
31
- Match existing UI patterns and placement
@@ -72,4 +73,3 @@ Why: this environment exports `ELECTRON_RUN_AS_NODE=1` by default, which prevent
72
73
2. Re-run with env override:
73
74
-`ELECTRON_RUN_AS_NODE= npx cypress run --spec "<spec-path>"`
0 commit comments