36 lines
1.2 KiB
Markdown
36 lines
1.2 KiB
Markdown
# Architectural Request
|
|
|
|
**Date:** 2026-04-12
|
|
**Topic:** Deploy Phase 11B/C — /verify-mvc command + Discord role
|
|
|
|
## 1. Current State
|
|
Phase 11B/C code pushed (7c58cea). New `/verify-mvc` slash command ready. Needs Arbiter restart + Discord role creation.
|
|
|
|
## 2. The Blocker
|
|
Code cannot create Discord roles or restart Arbiter on Command Center.
|
|
|
|
## 3. Deployment Steps for Chronicler
|
|
|
|
1. **Create Discord role** — "ModpackChecker Customer" on Firefrost Gaming guild
|
|
- Color: whatever fits the brand (suggestion: green or teal)
|
|
- No special permissions needed — it's just a tag/gating role
|
|
- Note the role ID
|
|
|
|
2. **Update Arbiter .env** on Command Center:
|
|
```
|
|
MVC_CUSTOMER_ROLE_ID=<the role ID from step 1>
|
|
```
|
|
|
|
3. **Deploy Arbiter code** (standard rsync pattern):
|
|
- New file: `src/discord/verifymvc.js`
|
|
- Modified: `src/discord/events.js`, `src/index.js`
|
|
- Restart service
|
|
|
|
4. **Verify:**
|
|
- Health check: `curl https://discord-bot.firefrostgaming.com/health`
|
|
- Check bot logs for "Successfully reloaded application (/) commands"
|
|
- Test `/verify-mvc` appears in Discord command list
|
|
|
|
## 4. After Deployment
|
|
Code proceeds to Phase 11D — Blueprint extension license activation UI, phone-home cron, and tier gating.
|