RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Diff/aledon8-openleukemia-ai-service-tests-claude ↔ aledon8-openleukemia-cursor-rules-project

Comparison

A · CLAUDE.md · Aledon8/OpenLeukemiaB · Cursor rules · Aledon8/OpenLeukemia
What each file covers, counted
DimensionSharedOnly in AOnly in BOverlap
Sections0330%
Commands12611%
Section tags31160%

What each file covers

Sections

0 shared · 3 only in A · 3 only in B
  • − AI Service Test Instructions
  • − Commands
  • − Rules
  • + Cursor Project Rules
  • + Always Follow
  • + Checks

Commands

1 shared · 2 only in A · 6 only in B
  • − python -m pytest tests/test_health.py
  • − python -m pytest tests/test_consents.py
  • + npm run lint:frontend
  • + npm run typecheck:frontend
  • + npm test --workspace frontend
  • + npm --workspace frontend run build
  • + python -m ruff check .
  • + python -m mypy app
  •   python -m pytest

Section tags

3 shared · 1 only in A · 1 only in B
  • − code-style
  • + lint-format
  •   test
  •   do-not
  •   agent-behaviour

Line diff

+22 added−14 removed6 unchanged21.4% identical
Aledon8/OpenLeukemia · ai-service/tests/CLAUDE.md
@@ −1 @@
1# AI Service Test Instructions
 
 
 
 
 
2 
3## Commands
4 
5Run from `ai-service/`:
6 
7```sh
8python -m pytest
9python -m pytest tests/test_health.py
10python -m pytest tests/test_consents.py
11```
12 
13## Rules
 
 
 
 
 
 
 
 
14 
15- Keep tests focused on externally visible behavior and domain contracts.
16- Cover consent and privacy-sensitive behavior conservatively.
17- Prefer clear test names that describe the expected behavior.
18- Add regression tests when fixing bugs in API routes, schemas, or domain services.
19- If a test fails, fix the root cause and rerun the smallest failing test before broader checks.
20 
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 @@
1−# AI Service Test Instructions
1+---
2+description: OpenLeukemia project instructions
3+globs:
4+ - "**/*"
5+alwaysApply: true
6+---
27  
3−## Commands
8+# Cursor Project Rules
49  
5−Run from `ai-service/`:
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.
611  
7−```sh
8−python -m pytest
9−python -m pytest tests/test_health.py
10−python -m pytest tests/test_consents.py
11−```
12+## Always Follow
1213  
13−## Rules
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.
1423  
15−- Keep tests focused on externally visible behavior and domain contracts.
16−- Cover consent and privacy-sensitive behavior conservatively.
17−- Prefer clear test names that describe the expected behavior.
18−- Add regression tests when fixing bugs in API routes, schemas, or domain services.
19−- If a test fails, fix the root cause and rerun the smallest failing test before broader checks.
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`.
2028  
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack