diff options
| author | kboz <kutayboz@gmail.com> | 2026-04-18 20:29:14 +0200 |
|---|---|---|
| committer | kboz <kutayboz@gmail.com> | 2026-04-18 20:29:14 +0200 |
| commit | 8cc70dfee2049772a2da9cfdeb15f64452bc390b (patch) | |
| tree | 539dc2b4a314b45f8a9d024e57e196eab09653b4 /.github/instructions/rust-backend.instructions.md | |
| parent | 2c5b7da8165e3f8b90748e8ced1de0e3e8d52309 (diff) | |
| download | haul-8cc70dfee2049772a2da9cfdeb15f64452bc390b.tar.gz | |
AI instructions
Diffstat (limited to '.github/instructions/rust-backend.instructions.md')
| -rw-r--r-- | .github/instructions/rust-backend.instructions.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/instructions/rust-backend.instructions.md b/.github/instructions/rust-backend.instructions.md new file mode 100644 index 0000000..719544a --- /dev/null +++ b/.github/instructions/rust-backend.instructions.md @@ -0,0 +1,12 @@ +--- +description: "Use when editing the Rust backend, Actix handlers, EVE service client, or pathfinding and market modules under rust_backend/src. Covers experimental status, service boundaries, and integration gaps." +name: "Rust Backend Boundaries" +applyTo: "rust_backend/src/**/*.rs" +--- +# Rust Backend Boundaries + +- Treat `rust_backend/` as an experimental rewrite, not a drop-in replacement for the Python backend. The current frontend does not target it. +- Keep `main.rs` as a thin Actix entrypoint. Shared state and polling belong in `manager.rs`; ESI and OAuth transport belongs in `eve_service.rs` and `eve_api.rs`. +- Keep `pathfinding/` and `market/` self-contained. Avoid pulling HTTP concerns, UI assumptions, or Actix types into those modules. +- Do not assume feature parity with the Python backend. If a task requires frontend integration, add the missing routes, payload shapes, and CORS deliberately rather than silently reusing Python assumptions. +- Rust runtime work depends on local OAuth env vars (`CLIENT_ID`, `CLIENT_SECRET`, `CHARACTER_ID`, `REDIRECT_URL`) and `token.json`. Preserve that flow unless the task is specifically about changing auth setup.
\ No newline at end of file |
