| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 4 | 0% |
| Commands | 0 | 0 | 7 | 0% |
| Section tags | 0 | 1 | 4 | 0% |
What each file covers
Sections
0 shared · 1 only in A · 4 only in B- − Supabase Rules
- + GitHub Copilot Instructions
- + Always Follow
- + Stack And Commands
- + Workflow
Commands
0 shared · 0 only in A · 7 only in B- + npm run lint:frontend
- + npm run typecheck:frontend
- + npm test --workspace frontend
- + npm --workspace frontend run build
- + python -m ruff check .
- + python -m pytest
- + python -m mypy app
Section tags
0 shared · 1 only in A · 4 only in B- − do-not
- + test
- + lint-format
- + code-style
- + 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/copilot-instructions.md
@@ +1 @@
1# GitHub Copilot Instructions
2
3OpenLeukemia is a patient-centered leukemia data platform. It organizes medical data, tracks changes over time, extracts structured information from documents, and explains validated model outputs in plain language.
4
5## Always Follow
6
7- Preserve explicit consent, privacy-by-default behavior, and patient ownership of data.
8- Registration is not blanket consent.
9- AI output may summarize, extract, and explain; it must not diagnose, recommend treatment, or make urgent clinical judgments.
10- Treat LLM extraction as candidate data until validated or confirmed.
11- Prefer minimal, focused changes that match nearby code.
12- Do not introduce dependencies, API changes, schema changes, or consent-flow changes without clear need.
13- Add or update tests when behavior changes.
14- Run or recommend the relevant check after changes.
15
16## Stack And Commands
17
18- Frontend: React 19, TypeScript, Vite, Vitest, ESLint.
19- Platform: Supabase Auth, Postgres, Storage, RLS, Edge Functions.
20- AI service: Python 3.12, FastAPI, Pydantic, Uvicorn.
21- Frontend checks: `npm run lint:frontend`, `npm run typecheck:frontend`, `npm test --workspace frontend`, `npm --workspace frontend run build`.
22- AI-service checks from `ai-service/`: `python -m ruff check .`, `python -m pytest`, `python -m mypy app`.
23
24## Workflow
25
26- Read nearby files before editing and follow the existing pattern.
27- For multi-file or risky changes, identify touched files and verification steps before implementation.
28- Use artifacts as primary evidence: errors, logs, screenshots, issues, plans, and referenced files.
29- Verify work with tests, build, lint, typecheck, or visual comparison when practical.
30
@@ −1 +1 @@
1−---
2−description: Supabase data, storage, and RLS rules
3−globs:
4− - "supabase/**/*"
5−alwaysApply: false
6−---
1+# GitHub Copilot Instructions
72
8−# Supabase Rules
3+OpenLeukemia is a patient-centered leukemia data platform. It organizes medical data, tracks changes over time, extracts structured information from documents, and explains validated model outputs in plain language.
94
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.
5+## Always Follow
6+
7+- Preserve explicit consent, privacy-by-default behavior, and patient ownership of data.
8+- Registration is not blanket consent.
9+- AI output may summarize, extract, and explain; it must not diagnose, recommend treatment, or make urgent clinical judgments.
10+- Treat LLM extraction as candidate data until validated or confirmed.
11+- Prefer minimal, focused changes that match nearby code.
12+- Do not introduce dependencies, API changes, schema changes, or consent-flow changes without clear need.
13+- Add or update tests when behavior changes.
14+- Run or recommend the relevant check after changes.
15+
16+## Stack And Commands
17+
18+- Frontend: React 19, TypeScript, Vite, Vitest, ESLint.
19+- Platform: Supabase Auth, Postgres, Storage, RLS, Edge Functions.
20+- AI service: Python 3.12, FastAPI, Pydantic, Uvicorn.
21+- Frontend checks: `npm run lint:frontend`, `npm run typecheck:frontend`, `npm test --workspace frontend`, `npm --workspace frontend run build`.
22+- AI-service checks from `ai-service/`: `python -m ruff check .`, `python -m pytest`, `python -m mypy app`.
23+
24+## Workflow
25+
26+- Read nearby files before editing and follow the existing pattern.
27+- For multi-file or risky changes, identify touched files and verification steps before implementation.
28+- Use artifacts as primary evidence: errors, logs, screenshots, issues, plans, and referenced files.
29+- Verify work with tests, build, lint, typecheck, or visual comparison when practical.
1530
