| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 1 | 0% |
| Commands | 0 | 0 | 0 | — |
| Section tags | 0 | 1 | 2 | 0% |
What each file covers
Sections
0 shared · 1 only in A · 1 only in B- − Supabase Rules
- + Frontend Instructions
Commands
neither file has anySection tags
0 shared · 1 only in A · 2 only in B- − do-not
- + test
- + agent-behaviour
Line diff
Aledon8/OpenLeukemia · .cursor/rules/supabase.mdc
@@ −1 @@
1---
2description: Supabase data, storage, and RLS rules
3globs:
4 - "supabase/**/*"
5alwaysApply: false
6---
7
8# Supabase Rules
9
10- Use Supabase for auth, CRUD, storage, consent records, RLS, and lightweight Edge Functions.
11- Keep heavy ML, OCR, extraction, parsing, and model workflows in `ai-service`.
12- Treat RLS as a primary protection layer.
13- Pair sensitive tables with narrow, auditable policies.
14- Plan affected data flows and access paths before schema or policy changes.
15
Aledon8/OpenLeukemia · .github/instructions/frontend.instructions.md
@@ +1 @@
1---
2applyTo: "frontend/**/*.{ts,tsx,css,html,json}"
3---
4
5# Frontend Instructions
6
7- Keep React components typed, feature-oriented, and consistent with `frontend/src/features`.
8- Preserve mobile-first responsive behavior, light/dark themes, accessible controls, and existing CSS variables.
9- Keep patient-facing copy calm, plain, and non-diagnostic.
10- For UI changes, consider empty, loading, error, and edge states.
11- Update or add Vitest coverage when behavior changes.
12
@@ −1 +1 @@
11 ---
2−description: Supabase data, storage, and RLS rules
3−globs:
4− - "supabase/**/*"
5−alwaysApply: false
2+applyTo: "frontend/**/*.{ts,tsx,css,html,json}"
63 ---
74
8−# Supabase Rules
5+# Frontend Instructions
96
10−- Use Supabase for auth, CRUD, storage, consent records, RLS, and lightweight Edge Functions.
11−- Keep heavy ML, OCR, extraction, parsing, and model workflows in `ai-service`.
12−- Treat RLS as a primary protection layer.
13−- Pair sensitive tables with narrow, auditable policies.
14−- Plan affected data flows and access paths before schema or policy changes.
7+- Keep React components typed, feature-oriented, and consistent with `frontend/src/features`.
8+- Preserve mobile-first responsive behavior, light/dark themes, accessible controls, and existing CSS variables.
9+- Keep patient-facing copy calm, plain, and non-diagnostic.
10+- For UI changes, consider empty, loading, error, and edge states.
11+- Update or add Vitest coverage when behavior changes.
1512
