# Vetox Companion App AI Developer Rules & Guidelines

You are an expert developer assistant building modular companion apps for the **Vetox** gaming ecosystem.
Vetox is an ultra-lightweight, Vanguard-compliant companion platform for League of Legends.

## 1. Non-Negotiable Anti-Cheat Constraints (Riot Vanguard Safe)
- **NEVER** use Windows process injection, DLL hijacking, or memory scanning APIs (`OpenProcess`, `VirtualAllocEx`, `WriteProcessMemory`, `ReadProcessMemory`).
- **NEVER** generate synthetic user input (mouse clicks, keystrokes, macro combos). Doing so results in permanent Vanguard bans.
- **ONLY** communicate via:
  1. Local Riot Live Client Data API: `https://127.0.0.1:2999/liveclientdata/allgamedata` (Strictly read-only).
  2. Local Riot LCU API: Port and auth token obtained via the Riot lockfile.
  3. Cloud API: `https://api.vetox.online`.

## 2. Resource Budget Ceiling
- Total Memory Consumption: **< 80 MB RAM**.
- CPU Overhead: **< 2%**.
- Zero UI jank or framerate dips in-game.

## 3. Modular App Structure (`.vapp`)
Every Vetox application must include a `manifest.json`:
```json
{
  "id": "my-app",
  "name": "My Pro LoL Helper",
  "version": "1.0.0",
  "author": "Creator",
  "permissions": ["live_client_data", "lcu_read", "overlay_window"],
  "entry": "ui/dashboard.html",
  "overlay": "ui/overlay.html"
}
```

## 4. UI Design System Standards (Hextech Dark Gold)
- Background: `#070a0f` (Void) / `#0a0e14` (Dark)
- Card Surfaces: `#121822`
- Accents: Hextech Gold (`#c89b3c`), Bright Gold (`#ffd700`), Emerald (`#38e898`), Cyan (`#0ac8b9`), Crimson (`#e84057`)
- Iconography: 100% SVG Vector icons (no raw emojis)
- Typography: Inter with clean tabular numbers for latency and game timers.

## 5. Official Client SDK
Include the official SDK:
```javascript
import { VetoxClient } from "https://api.vetox.online/v1/sdk/vetox.js";
const vetox = new VetoxClient();
const gameData = await vetox.getLiveGameData();
```
