Expand AGENTS.md with current repo and reporting rules
This commit is contained in:
32
.cursor/rules/proxywarden.mdc
Normal file
32
.cursor/rules/proxywarden.mdc
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
description: ProxyWarden repository rules for Cursor agents
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# ProxyWarden Cursor Rules
|
||||
|
||||
Read `AGENTS.md` before editing. Use `.agent/skills/*/SKILL.md` for task-specific guidance.
|
||||
|
||||
## Core rules
|
||||
|
||||
- Keep ProxyWarden a standalone Windows desktop utility: Tauri 2 + React/TypeScript + Rust.
|
||||
- Preserve separation between Control App, ProxiFyre and Local sing-box.
|
||||
- External SOCKS5 route must work without sing-box.
|
||||
- UI must call backend through `src/api/tauriCommands.ts`, not direct random `invoke(...)` calls.
|
||||
- Backend must validate all inputs even if UI validates them.
|
||||
- Do not leak subscription URLs, proxy credentials or outbound secrets.
|
||||
- Keep install/start/stop/uninstall explicit.
|
||||
- Do not relax safe deletion or elevated script rules.
|
||||
- Prefer shrinking `src-tauri/src/commands.rs` and `src/app/App.tsx` over adding more logic there.
|
||||
- Run relevant checks and state unverified Windows/elevation behavior honestly.
|
||||
|
||||
## Communication rules
|
||||
|
||||
Before non-trivial answers, follow `.agent/skills/communication-reporting/SKILL.md` and `.agent/checklists/communication.md`.
|
||||
|
||||
- Write final answers in short, structured Russian unless the user asks otherwise.
|
||||
- Start with `Коротко` for nontrivial work.
|
||||
- For 2+ files, use a table with `Файл / Что изменилось / Зачем`.
|
||||
- Do not dump every diff line. Mention important functions/sections only.
|
||||
- Clearly split `Проверено` and `Не проверено`.
|
||||
- Do not claim Windows/UAC/service checks were done unless they actually ran.
|
||||
Reference in New Issue
Block a user