Commit Graph

3 Commits

Author SHA1 Message Date
Claude (The Golden Chronicler #50)
8d989d74af feat: Add current Whitelist Manager to monorepo (will be replaced by Arbiter 2.x)
WHAT WAS DONE:
- Copied current Whitelist Manager Python code to services/whitelist-manager/
- Extracted from Billing VPS (38.68.14.188) via Cockpit terminal
- 1 file: app.py (Flask application, ~600 lines)

WHY:
Preserve current broken Whitelist Manager code before replacement.
This code is BROKEN (see Task #86, #90) and will be retired once
Arbiter 2.x is deployed, but we need it in version control for
reference during migration.

WHAT'S BROKEN:
- Hardcoded server grouping by name keywords (not node allocation)
- WebSocket console commands for status (unreliable, returns UNKNOWN)
- No subscription integration
- No master whitelist concept
- Manual-only operation

CURRENT STATE:
- Running on Billing VPS at whitelist.firefrostgaming.com
- Broken since Panel v1.12.1 upgrade (March 13, 2026)
- All servers show 'UNKNOWN' status
- Grouping logic fails (11 servers in 'Unknown' group)
- Bulk operations not working

REPLACEMENT:
Task #90 - Arbiter 2.x will replace this with:
- Subscription-driven access control
- Master whitelist in PostgreSQL
- Pterodactyl File Management API (not WebSocket)
- Auto-discovery by node allocation
- Discord /link command integration

FILES:
- services/whitelist-manager/app.py (new, 600 lines)

NOTE:
This is REFERENCE CODE ONLY. Do not deploy or build upon.
Arbiter 2.x is the correct path forward.

Signed-off-by: The Golden Chronicler <claude@firefrostgaming.com>
2026-03-31 22:44:54 +00:00
Claude (The Golden Chronicler #50)
04e9b407d5 feat: Migrate Arbiter and Modpack Version Checker to monorepo
WHAT WAS DONE:
- Migrated Arbiter (discord-oauth-arbiter) code to services/arbiter/
- Migrated Modpack Version Checker code to services/modpack-version-checker/
- Created .env.example for Arbiter with all required environment variables
- Moved systemd service file to services/arbiter/deploy/
- Organized directory structure per Gemini monorepo recommendations

WHY:
- Consolidate all service code in one repository
- Prepare for Gemini code review (Panel v1.12 compatibility check)
- Enable service-prefixed Git tagging (arbiter-v2.1.0, modpack-v1.0.0)
- Support npm workspaces for shared dependencies

SERVICES MIGRATED:
1. Arbiter (Discord OAuth bot) - Originally written by Gemini + Claude
   - Full source code from ops-manual docs/implementation/
   - Created comprehensive .env.example
   - Ready for Panel v1.12 compatibility verification

2. Modpack Version Checker (Python CLI tool)
   - Full source code from ops-manual docs/tasks/
   - Written for Panel v1.11, needs Gemini review for v1.12
   - Never had code review before

STILL TODO:
- Whitelist Manager - Pull from Billing VPS (38.68.14.188)
  - Currently deployed and running
  - Needs Panel v1.12 API compatibility fix (Task #86)
  - Requires SSH access to pull code

NEXT STEPS:
- Gemini code review for Panel v1.12 API compatibility
- Create package.json for each service
- Test npm workspaces integration
- Deploy after verification

FILES:
- services/arbiter/ (25 new files, full application)
- services/modpack-version-checker/ (21 new files, full application)

Signed-off-by: The Golden Chronicler <claude@firefrostgaming.com>
2026-03-31 21:52:42 +00:00
Claude (The Golden Chronicler #50)
4efdd44691 feat: Initialize firefrost-services monorepo structure
WHAT WAS DONE:
- Created npm workspaces configuration in root package.json
- Set up directory structure (services/, shared/, future/)
- Created @firefrost/shared package (v1.0.0)
- Added comprehensive .gitignore for Node.js projects
- Created root README with architecture documentation
- Added placeholder READMEs for shared/ and future/ directories

WHY:
- Implement Gemini-approved monorepo architecture
- Enable service-prefixed Git tag versioning
- Support npm workspaces for dependency management
- Provide foundation for Arbiter 2.1 deployment
- Align with 'decades not months' sustainability philosophy

STRUCTURE:
Root level:
- package.json (workspaces: services/*, shared)
- .gitignore (protects .env files from commits)
- README.md (comprehensive documentation)

Directories:
- services/ (production services - empty, ready for Arbiter)
- shared/ (@firefrost/shared v1.0.0 - placeholder)
- future/ (experimental services)

FILES:
- .gitignore (new, 39 lines)
- README.md (new, 242 lines)
- package.json (new, 27 lines)
- shared/package.json (new, 17 lines)
- shared/README.md (new, 47 lines)
- shared/src/index.js (new, 13 lines)
- future/README.md (new, 38 lines)

NEXT STEPS:
- Migrate Arbiter 2.1 code to services/arbiter/
- Create arbiter-v2.1.0 tag for first versioned deployment
- Test deployment workflow and systemd configuration

Signed-off-by: The Golden Chronicler <claude@firefrostgaming.com>
2026-03-31 20:56:36 +00:00