# Architecture Rules

If you are changing architecture-sensitive code:

1. Read `ARCHITECTURE.md`.
2. Read `CONVEX_RULES.md`.
3. Use the nearest package or app `README.md`.
4. Keep surfaces thin and push durable business behavior into the owning package, server boundary, or Convex module.
5. Keep Partners-owned data out of Anan.
6. Keep Anan workspace authorization and OAuth grants inside Anan.