Skip to content

Commit d02aef9

Browse files
docs: add Cursor Cloud specific setup instructions to AGENTS.md (#86)
Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Piotr Wodecki <PiotrWodecki@users.noreply.github.com>
1 parent fdd5570 commit d02aef9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,10 @@ Whenever a new feature is added, follow the red-green TDD cycle:
1111
3. **Refactor** — clean up the implementation and tests while keeping the suite green.
1212

1313
Do not write production code for a new feature before a failing test exists for it.
14+
15+
## Cursor Cloud specific instructions
16+
17+
`uv` is pre-installed; the startup script runs `uv sync`. Non-obvious notes:
18+
19+
- Validated: `uv sync`, `uv run ruff check .`, and a smoke import (`uv run python -c "import fishjam"`).
20+
- The `tests/` suite is integration-oriented: `tests/conftest.py` imports `FISHJAM_ID` and `FISHJAM_MANAGEMENT_TOKEN` at collection time, so `uv run pytest` fails with `KeyError` unless those env vars are set and a live Fishjam server is reachable. The unit-style tests run with placeholders, e.g. `FISHJAM_ID=dummy FISHJAM_MANAGEMENT_TOKEN=dummy uv run pytest tests/test_config_validation.py tests/test_allowed_notifications.py`.

0 commit comments

Comments
 (0)