docs: update AGENTS.md

This commit is contained in:
datadunia
2026-07-07 17:22:28 +07:00
parent 5d3761c56c
commit 8cadfc4657
+13
View File
@@ -38,6 +38,19 @@ NexusGuard SD-WAN Suite: Enterprise Zero-Trust SD-WAN with WireGuard tunneling,
**CRITICAL**: `apps/*` are **git submodules** — clone with `--recurse-submodules`.
## SUBMODULE KNOWLEDGE BASES
Each submodule has its own `AGENTS.md` with detailed architecture, conventions, and anti-patterns:
| Submodule | AGENTS.md | Scope |
|-----------|-----------|-------|
| Server Core | `apps/server-core/AGENTS.md` | API handlers, database models, firewall rules, gRPC signaling, WireGuard management |
| Dashboard UI | `apps/dashboard-ui/AGENTS.md` | Vue 3 components, Pinia stores, TailwindCSS styling, API client |
| Device Agent | `apps/device-agent/AGENTS.md` | Go daemon, system tray, memory-injected WireGuard, heartbeat, gRPC signaling |
| Android Agent | `apps/android-agent/AGENTS.md` | Kotlin VPNService, GoBackend tunnel, HTTP heartbeat, port forwarding, boot auto-start |
**Rule**: When working on a submodule, ALWAYS read its `AGENTS.md` first for project-specific conventions.
## WHERE TO LOOK
| Task | Location | Notes |
|------|----------|-------|