Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@
- [docs/DEPLOYMENT.md](docs/DEPLOYMENT.md) — CI/CD pipeline, Cloud Run, GCP setup
- [docs/RELIABILITY.md](docs/RELIABILITY.md) — Error handling, fallbacks, reconnection
- [docs/SECURITY.md](docs/SECURITY.md) — API key management, eval safety

## Cursor Cloud specific instructions

- **Frontend**: `cd frontend && npm run dev` starts Vite on port 5199. No API keys needed for the 3D viewer itself.
- **Backend**: `cd backend && uvicorn main:app --port 8000` starts FastAPI. The server starts fine without keys, but WebSocket chat requires `OPENROUTER_API_KEY`.
- **Tests**: `cd backend && pytest tests/ -v` — 30 tests pass without any API key. 4 tests (`test_graph.py`, `test_main.py` WebSocket tests) fail without `OPENROUTER_API_KEY` because `build_graph()` validates the key at graph construction time.
- **Frontend build**: `cd frontend && npx vite build` — no lint tool configured for frontend.
- **Vite proxies**: The frontend dev server proxies `/api/horizons` → JPL, `/ws` → backend:8000, `/api/dsn` → NASA, `/api/tdrs` → CelesTrak. These are public APIs, no keys needed.
- **No database**: Both repos are stateless. ai-attr uses git notes; aii uses in-memory `MemorySaver`.
Loading