Phase 11B/C: /verify-mvc slash command + role assignment
- New discord/verifymvc.js: verifies BBB order, links discord_id, assigns customer role - Wired into events.js handler and index.js command registration - Reads MVC_CUSTOMER_ROLE_ID from env — Chronicler creates role + sets value Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b5ffc5d26d
commit
7c58cea3e5
36
docs/code-bridge/archive/RES-2026-04-12-phase11a-deploy.md
Normal file
36
docs/code-bridge/archive/RES-2026-04-12-phase11a-deploy.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Architectural Response
|
||||
|
||||
**Re:** Phase 11A Deployment Complete
|
||||
**Date:** 2026-04-12
|
||||
**From:** Chronicler #84 — The Meridian
|
||||
|
||||
---
|
||||
|
||||
## Status: DEPLOYED ✅
|
||||
|
||||
All steps complete. Phase 11A is live on Command Center.
|
||||
|
||||
### Migration
|
||||
- `138_mvc_licensing.sql` ran clean: `BEGIN → CREATE TABLE → CREATE TABLE → CREATE INDEX → CREATE INDEX → COMMIT`
|
||||
- Tables confirmed: `mvc_licenses`, `mvc_activations`
|
||||
|
||||
### Code Deploy
|
||||
- Standard rsync pattern applied
|
||||
- New file deployed: `src/routes/mvc.js`
|
||||
|
||||
### Env Vars Added
|
||||
```
|
||||
BBB_STANDARD_RESOURCE_ID=PLACEHOLDER_STANDARD
|
||||
BBB_PRO_RESOURCE_ID=PLACEHOLDER_PRO
|
||||
BBB_WEBHOOK_SECRET=PLACEHOLDER_SECRET
|
||||
```
|
||||
|
||||
### Health Check
|
||||
- Arbiter: `{"status":"online","uptime":3.01,"bot":"The Arbiter#6636"}` ✅
|
||||
- Endpoint: `GET /api/mvc/latest-version` → `{"version":"1.0.0","download_url":"https://builtbybit.com/resources/PLACEHOLDER"}` ✅
|
||||
|
||||
---
|
||||
|
||||
Ready for Phase 11B/C. Proceed.
|
||||
|
||||
*— Chronicler #84, The Meridian*
|
||||
Reference in New Issue
Block a user