| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 1 | 0% |
| Commands | 0 | 0 | 1 | 0% |
| Section tags | 0 | 2 | 1 | 0% |
What each file covers
Sections
0 shared · 1 only in A · 1 only in B- − Backend Logging Standard
- + Tests (Backend + Frontend)
Commands
0 shared · 0 only in A · 1 only in B- + make test
Section tags
0 shared · 2 only in A · 1 only in B- − code-style
- − do-not
- + test
Line diff
weirdfingers/boards · .cursor/rules/backend-logging.mdc
@@ −1 @@
1---
2description: Backend logging should use the centralized logger utilities
3globs: packages/backend/**/*.py
4---
5
6# Backend Logging Standard
7
8Always use the centralized logging utilities in [packages/backend/src/boards/logging.py](mdc:packages/backend/src/boards/logging.py).
9
10- Use `get_logger(__name__)` to create module loggers
11- Do not use `print(...)` or `logging.getLogger(...)` directly in backend code
12- Configure once at app startup using `configure_logging(debug=settings.debug)`
13- Prefer structured logs; include request/user context via provided helpers
14- unless logging errors, never use `exc_info=True`
15
16Example (module usage):
17
18```python
19from boards.logging import get_logger
20
21logger = get_logger(__name__)
22
23async def handler():
24 logger.info("processing", step="start")
25```
26
27Example (app setup):
28
29```python
30from boards.logging import configure_logging
31
32configure_logging(debug=settings.debug)
33```
34
weirdfingers/boards · .cursor/rules/test.mdc
@@ +1 @@
1---
2description: Run backend and frontend tests via the project Makefile
3alwaysApply: false
4---
5
6# Tests (Backend + Frontend)
7
8Use the root Makefile target to run all tests across the monorepo.
9
10- Backend: Python tests via pytest (run under uv-managed envs)
11- Frontend: Workspace test scripts via Turbo/pnpm
12
13Command (run at repository root):
14
15```bash
16make test
17```
18
19Reference: [Makefile](mdc:Makefile) target `test`.
20
@@ −1 +1 @@
11 ---
2−description: Backend logging should use the centralized logger utilities
3−globs: packages/backend/**/*.py
2+description: Run backend and frontend tests via the project Makefile
3+alwaysApply: false
44 ---
55
6−# Backend Logging Standard
6+# Tests (Backend + Frontend)
77
8−Always use the centralized logging utilities in [packages/backend/src/boards/logging.py](mdc:packages/backend/src/boards/logging.py).
8+Use the root Makefile target to run all tests across the monorepo.
99
10−- Use `get_logger(__name__)` to create module loggers
11−- Do not use `print(...)` or `logging.getLogger(...)` directly in backend code
12−- Configure once at app startup using `configure_logging(debug=settings.debug)`
13−- Prefer structured logs; include request/user context via provided helpers
14−- unless logging errors, never use `exc_info=True`
10+- Backend: Python tests via pytest (run under uv-managed envs)
11+- Frontend: Workspace test scripts via Turbo/pnpm
1512
16−Example (module usage):
13+Command (run at repository root):
1714
18−```python
19−from boards.logging import get_logger
20−
21−logger = get_logger(__name__)
22−
23−async def handler():
24− logger.info("processing", step="start")
15+```bash
16+make test
2517 ```
2618
27−Example (app setup):
28−
29−```python
30−from boards.logging import configure_logging
31−
32−configure_logging(debug=settings.debug)
33−```
19+Reference: [Makefile](mdc:Makefile) target `test`.
3420
