feat: Complete NestJS backend scaffold — 22 modules, 39 entities, WebSocket gateway
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
Full backend rewrite from Rust/Axum to NestJS/TypeScript. - 22 feature modules (auth, servers, wipes, maps, plugins, players, console, chat, team, notifications, settings, schedules, analytics, alerts, status, store, webstore, admin, setup, migration, users, licenses) - 39 TypeORM entities matching PostgreSQL schema (12 migrations) - Common infrastructure: JWT/RBAC guards, decorators, exception filter - NATS service with pub/sub/request-reply - Socket.IO WebSocket gateway with NATS bridge - Docker: NestJS Dockerfile + updated docker-compose.yml - Zero compile errors (npx tsc --noEmit clean) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
25
AGENTS.md
25
AGENTS.md
@@ -47,7 +47,7 @@
|
||||
|
||||
### **THE SCOUT (Reconnaissance)**
|
||||
|
||||
* **Model:** claude-3-haiku (or claude-3-5-haiku)
|
||||
* **Model:** haiku (or claude-3-5-haiku)
|
||||
* **Role:** High-speed intelligence gathering, context mapping, and file summarization.
|
||||
* **Directives:**
|
||||
* **Read-Only:** STRICTLY FORBIDDEN from writing code or modifying files.
|
||||
@@ -114,6 +114,7 @@
|
||||
|
||||
### **THE AUDITOR (QA / Tester)**
|
||||
|
||||
* **Model:** sonnet
|
||||
* **Role:** Verification, stress testing, and breaking things.
|
||||
* **Directives:**
|
||||
* Act hostile to the code. Try to break it.
|
||||
@@ -150,3 +151,25 @@
|
||||
|
||||
* **Agent:** Overwatch
|
||||
* **Order:** "Compile the results. Report status. Await next command."
|
||||
|
||||
---
|
||||
|
||||
## 5. MISSION LOG
|
||||
|
||||
### 2026-02-15 // NestJS Module Generation (Wipes, Maps, Plugins)
|
||||
|
||||
**Agent:** Specialist (Sonnet 4.5)
|
||||
**Objective:** Generate complete NestJS modules with controller/service/DTO/module structure for Wipes, Maps, and Plugins.
|
||||
|
||||
**Execution:**
|
||||
- Generated 3 complete modules totaling 16 files across DTOs, services, controllers, and module definitions
|
||||
- All files follow established patterns: @InjectRepository, @CurrentTenant(), @RequirePermission(), ApiTags/ApiBearerAuth
|
||||
- class-validator decorators on all DTO fields, PartialType imported from @nestjs/swagger for proper Swagger integration
|
||||
- Permission-based guards applied: wipe.view/manage/execute, map.view/manage, plugin.view/manage
|
||||
|
||||
**Deliverables:**
|
||||
- **Wipes Module** (7 files): Profile/schedule CRUD, wipe history, manual trigger, dry-run simulation
|
||||
- **Maps Module** (5 files): Library management, rotation system with order control
|
||||
- **Plugins Module** (6 files): Install/uninstall, config management, reload trigger, uMod search stub
|
||||
|
||||
**Result:** All modules operational and ready for integration into main app.module.ts. Multi-tenant isolation enforced via license_id scoping.
|
||||
|
||||
Reference in New Issue
Block a user