| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 2 | 1 | 0% |
| Commands | 0 | 0 | 3 | 0% |
| Section tags | 1 | 2 | 2 | 20% |
What each file covers
Sections
0 shared · 2 only in A · 1 only in B- − Supabase Instructions
- − Rules
- + AI Service Rules
Commands
0 shared · 0 only in A · 3 only in B- + python -m mypy app
- + python -m ruff check .
- + python -m pytest
Section tags
1 shared · 2 only in A · 2 only in B- − code-style
- − agent-behaviour
- + test
- + lint-format
- do-not
Line diff
Aledon8/OpenLeukemia · supabase/CLAUDE.md
@@ −1 @@
1# Supabase Instructions
2
3Supabase is the MVP platform layer for auth, Postgres, storage, Row Level Security, consent records, and lightweight Edge Functions.
4
5## Rules
6
7- Treat Row Level Security as a primary protection layer.
8- Keep consent behavior explicit, auditable, and revocable.
9- Prefer Supabase for routine product workflows and `ai-service/` for Python, ML, OCR, extraction, and compute-heavy work.
10- Keep migrations and policies readable and reversible where practical.
11- Do not weaken privacy, authorization, or consent checks without an explicit product reason.
12- For schema or policy changes, plan affected data flows and access paths before editing.
13
Aledon8/OpenLeukemia · .cursor/rules/ai-service.mdc
@@ +1 @@
1---
2description: Python FastAPI AI-service rules
3globs:
4 - "ai-service/**/*.py"
5alwaysApply: false
6---
7
8# AI Service Rules
9
10- Keep FastAPI route handlers thin; put reusable behavior in `app/domains`.
11- Use explicit Pydantic request and response models.
12- Preserve strict typing and keep `python -m mypy app` clean.
13- Use `response_model` for route outputs.
14- Treat extraction and model outputs as explainable signals or candidate data, not clinical decisions.
15- Run `python -m ruff check .` and relevant `python -m pytest` tests for Python changes.
16
@@ −1 +1 @@
1−# Supabase Instructions
1+---
2+description: Python FastAPI AI-service rules
3+globs:
4+ - "ai-service/**/*.py"
5+alwaysApply: false
6+---
27
3−Supabase is the MVP platform layer for auth, Postgres, storage, Row Level Security, consent records, and lightweight Edge Functions.
8+# AI Service Rules
49
5−## Rules
6−
7−- Treat Row Level Security as a primary protection layer.
8−- Keep consent behavior explicit, auditable, and revocable.
9−- Prefer Supabase for routine product workflows and `ai-service/` for Python, ML, OCR, extraction, and compute-heavy work.
10−- Keep migrations and policies readable and reversible where practical.
11−- Do not weaken privacy, authorization, or consent checks without an explicit product reason.
12−- For schema or policy changes, plan affected data flows and access paths before editing.
10+- Keep FastAPI route handlers thin; put reusable behavior in `app/domains`.
11+- Use explicit Pydantic request and response models.
12+- Preserve strict typing and keep `python -m mypy app` clean.
13+- Use `response_model` for route outputs.
14+- Treat extraction and model outputs as explainable signals or candidate data, not clinical decisions.
15+- Run `python -m ruff check .` and relevant `python -m pytest` tests for Python changes.
1316
