fix: Wave 1 — critical bug fixes across 9 files
All checks were successful
Test Asgard Runner / test (push) Successful in 3s

- Fix double-prefix URL bugs in 4 analytics/revenue views (/api/api → /api)
- Fix AdminDashboard quick-links routing (/platform-admin/* → /admin/*)
- Fix MigrationView import missing Authorization header
- Remove dead ConsoleModule from app.module (conflicts with NatsBridgeGateway on /ws)
- Fix store.service.ts raw Error throws → NotFoundException/ForbiddenException
- Fix payment-order entity FK (webstore_subscription_id → WebstoreSubscription)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Vantz Stockwell
2026-02-21 13:24:24 -05:00
parent b2ca0c6f0b
commit 208622000c
10 changed files with 59 additions and 15 deletions

42
corrosion-final-push.md Normal file
View File

@@ -0,0 +1,42 @@
# Operation: Corrosion Final Push
**Date**: 2026-02-21
**Operator**: XO (Opus 4.6)
**Commander**: Vantz Stockwell
**Mission**: Get Corrosion 100% wired up and finished
---
## Pre-Op Intel Summary
- **6 BROKEN views** (will error on load)
- **12 PARTIAL views** (dead buttons, missing forms)
- **5 DB tables** with no TypeORM entity
- **6 controllers** missing security guards
- **~15 backend features** are stubs
- **4 Docker issues** to harden
## Execution Plan
| Wave | Focus | Agents | Status |
|------|-------|--------|--------|
| 1 | Critical Bug Fixes | 3 Sonnet parallel | COMPLETE |
| 2 | Missing Entities + Security | 2 Sonnet parallel | PENDING |
| 3 | Frontend Wiring | 3 Sonnet parallel | PENDING |
| 4 | Backend Completion | 2 Sonnet parallel | PENDING |
| 5 | Docker + Polish | 1 Sonnet | PENDING |
---
## Wave 1: Critical Bug Fixes
**Status**: COMPLETE
**Started**: 2026-02-21
### Results (9 files modified)
1. Fixed 4 double-prefix URL bugs — removed `/api` prefix from `useApi()` calls in WipeAnalyticsView, MapAnalyticsView, PlayerRetentionView, StoreRevenueView
2. Fixed AdminDashboard quick-link paths — `/platform-admin/*``/admin/*`
3. Fixed MigrationView import — added auth header to raw fetch call
4. Removed ConsoleModule from app.module.ts — eliminates `/ws` namespace conflict with NatsBridgeGateway
5. Fixed Store module — `throw new Error()``NotFoundException` / `ForbiddenException`
6. Fixed payment-order entity FK — `webstore_subscription_id` now references `WebstoreSubscription` not `License`