| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 3 | 0% |
| Commands | 0 | 0 | 7 | 0% |
| Section tags | 1 | 0 | 3 | 25% |
What each file covers
Sections
0 shared · 1 only in A · 3 only in B- − Consent Rules
- + Cursor Project Rules
- + Always Follow
- + Checks
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
1 shared · 0 only in A · 3 only in B- + test
- + lint-format
- + agent-behaviour
- do-not
Line diff
Aledon8/OpenLeukemia · .cursor/rules/consents.mdc
@@ −1 @@
1---
2description: Consent behavior rules across frontend and API
3globs:
4 - "frontend/src/features/consents/**/*"
5 - "ai-service/app/domains/consents/**/*"
6 - "ai-service/app/api/v1/consents.py"
7alwaysApply: false
8---
9
10# Consent Rules
11
12- Consent is never implied by registration, navigation, or another consent.
13- Keep each consent separate, explicit, auditable, and reversible.
14- Do not merge cloud storage, research participation, AI improvement, or community sharing into one choice.
15- Keep frontend consent identifiers aligned with API/domain consent types.
16- Add or update tests when consent types, labels, API responses, or service behavior change.
17
Aledon8/OpenLeukemia · .cursor/rules/project.mdc
@@ +1 @@
1---
2description: OpenLeukemia project instructions
3globs:
4 - "**/*"
5alwaysApply: true
6---
7
8# Cursor Project Rules
9
10OpenLeukemia is a patient-centered leukemia data platform for organizing medical data, tracking changes over time, extracting structured information from documents, and explaining validated model outputs.
11
12## Always Follow
13
14- Patient data belongs to the patient.
15- Registration is not blanket consent.
16- Consent must be separate, explicit, auditable, and revocable.
17- AI may summarize, extract, and explain; it must not diagnose, recommend treatment, or make urgent clinical judgments.
18- Read nearby code and docs before editing.
19- Keep changes minimal and focused.
20- Follow existing React, TypeScript, Supabase, FastAPI, and Python patterns.
21- Run or recommend the relevant checks after changes.
22- Do not rewrite unrelated files or add dependencies without clear need.
23
24## Checks
25
26- Frontend: `npm run lint:frontend`, `npm run typecheck:frontend`, `npm test --workspace frontend`, `npm --workspace frontend run build`.
27- AI service from `ai-service/`: `python -m ruff check .`, `python -m pytest`, `python -m mypy app`.
28
@@ −1 +1 @@
11 ---
2−description: Consent behavior rules across frontend and API
2+description: OpenLeukemia project instructions
33 globs:
4− - "frontend/src/features/consents/**/*"
5− - "ai-service/app/domains/consents/**/*"
6− - "ai-service/app/api/v1/consents.py"
7−alwaysApply: false
4+ - "**/*"
5+alwaysApply: true
86 ---
97
10−# Consent Rules
8+# Cursor Project Rules
119
12−- Consent is never implied by registration, navigation, or another consent.
13−- Keep each consent separate, explicit, auditable, and reversible.
14−- Do not merge cloud storage, research participation, AI improvement, or community sharing into one choice.
15−- Keep frontend consent identifiers aligned with API/domain consent types.
16−- Add or update tests when consent types, labels, API responses, or service behavior change.
10+OpenLeukemia is a patient-centered leukemia data platform for organizing medical data, tracking changes over time, extracting structured information from documents, and explaining validated model outputs.
11+
12+## Always Follow
13+
14+- Patient data belongs to the patient.
15+- Registration is not blanket consent.
16+- Consent must be separate, explicit, auditable, and revocable.
17+- AI may summarize, extract, and explain; it must not diagnose, recommend treatment, or make urgent clinical judgments.
18+- Read nearby code and docs before editing.
19+- Keep changes minimal and focused.
20+- Follow existing React, TypeScript, Supabase, FastAPI, and Python patterns.
21+- Run or recommend the relevant checks after changes.
22+- Do not rewrite unrelated files or add dependencies without clear need.
23+
24+## Checks
25+
26+- Frontend: `npm run lint:frontend`, `npm run typecheck:frontend`, `npm test --workspace frontend`, `npm --workspace frontend run build`.
27+- AI service from `ai-service/`: `python -m ruff check .`, `python -m pytest`, `python -m mypy app`.
1728
