| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 1 | 0% |
| Commands | 0 | 0 | 0 | — |
| Section tags | 0 | 2 | 1 | 0% |
What each file covers
Sections
0 shared · 1 only in A · 1 only in B- − Frontend Instructions
- + Supabase Rules
Commands
neither file has anySection tags
0 shared · 2 only in A · 1 only in B- − test
- − agent-behaviour
- + do-not
Line diff
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
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
@@ −1 +1 @@
11 ---
2−applyTo: "frontend/**/*.{ts,tsx,css,html,json}"
2+description: Supabase data, storage, and RLS rules
3+globs:
4+ - "supabase/**/*"
5+alwaysApply: false
36 ---
47
5−# Frontend Instructions
8+# Supabase Rules
69
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.
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.
1215
