Commit Graph

353 Commits

Author SHA1 Message Date
Claude
6bf9e41242 feat: LuckPerms meta sync on Stripe checkout — sets maxclaims/maxchunkloaders across all online servers 2026-04-15 09:21:18 +00:00
Claude Code
224579a5ea bridge: end-of-night ACTIVE_CONTEXT — queue cleared, 2 features shipped 2026-04-15 02:16:01 -05:00
Claude
2cfda0fb2b feat: Recover servers-api Worker from Cloudflare dashboard — now in git 2026-04-15 07:11:53 +00:00
Claude Code
b0b69fb172 Task #166: Trinity Console Issue Tracker (REQ-2026-04-14-issue-tracker)
- Migration 141: issues, issue_attachments, issue_comments
- src/routes/admin/issues.js: session-auth UI routes (list/new/detail/status/assign/comments/upload)
- src/routes/api.js: /api/internal/issues REST surface (Bearer token)
- src/services/issueNotifier.js: Discord webhook helper (DISCORD_ISSUE_WEBHOOK_URL)
- Views: index (list+filters), new (mobile-first form), detail (screenshots, comments, workflow)
- layout.ejs: sidebar nav link
- package.json: add multer ^1.4.5-lts.1
- CSRF token passed via query param on multipart forms (body unparsed when csurf runs)
- Screenshots stored in services/arbiter-3.0/uploads/issues/ (10MB limit, 6 files max)
2026-04-15 01:53:18 -05:00
Claude Code
263a7e3e47 Task #163: backfill script for empty task descriptions (6/15 matched) 2026-04-15 01:46:11 -05:00
Claude Code
722771e305 bridge: archive SCC + code-queue-badge-fix; update ACTIVE_CONTEXT 2026-04-15 01:33:01 -05:00
Claude
de916c5215 fix: Update Farm Crossing 5 → Farm Crossing 6 channel mapping in status poller 2026-04-15 06:23:34 +00:00
Claude Code
3d2b6963c1 bridge: status update — now running locally on Nitro 2026-04-15 01:00:42 -05:00
Claude
fd064ed48c docs: Update CLAUDE.md — Code now running locally on Nitro (April 15, 2026) 2026-04-15 05:56:32 +00:00
Claude
86f87e71e6 feat(trinity-core): v2.5.0 — resilient session handling, /health endpoint
- Add unauthenticated /health endpoint (kills AUTH FAILED spam from health checks)
- Stale session + initialize request: ignore stale header, create fresh session
- Stale session + tool call: return 400 instead of 404 so client reads JSON-RPC payload
- Gemini-consulted architecture (gemini-trinity-core-mcp-sessions-2026-04-14.md)
2026-04-15 00:38:12 +00:00
Claude
222188edf8 Bridge request: Task Description Hygiene Pass (Task #163)
16 tasks have empty descriptions in DB but full specs exist in archived
markdown files. Code needs to backfill from docs/archive/tasks-index-archived/.

Chronicler #89
2026-04-14 22:49:46 +00:00
Claude
6efe2eaa7a Bridge request: Trinity Console Issue Tracker (Task #166)
Mobile-first issue tracker for Holly. Screenshot upload from phone,
minimal friction submission while in-game. Full schema, API routes,
and UI spec for Code.

Chronicler #89
2026-04-14 22:30:09 +00:00
Claude
e1cb136cc3 fix(trinity-core): return 404 for stale sessions after restart
When mcp-server restarts, activeSessions is cleared but Claude.ai may
still hold the old session ID. Previously this fell to a generic 400 error.
Now returns 404 with clear re-initialize message so clients know to
create a fresh session.

Chronicler #89
2026-04-14 21:30:50 +00:00
Claude
a48886e481 feat(trinity-core): v2.4.0 — add Streamable HTTP transport for Claude.ai MCP connector
Claude.ai upgraded to MCP protocol 2025-11-25 (Streamable HTTP) but Trinity Core
only supported the deprecated 2024-11-05 (HTTP+SSE) transport. This caused the
SSE connection to drop after initialize — tools/list never completed.

Changes:
- Add StreamableHTTPServerTransport alongside existing SSEServerTransport
- app.all('/mcp') handler detects protocol via mcp-session-id header
- Legacy SSE still works via GET /mcp (backwards compatible)
- New Streamable HTTP works via POST /mcp with session headers
- Version bump to 2.4.0

Chronicler #89
2026-04-14 21:25:45 +00:00
Claude (Chronicler #83 - The Compiler)
fe59b64722 docs: ACTIVE_CONTEXT — evening session wrap (4 dispatches completed)
Rules mod 1.18.2, version UI, PWA Phase 1, task module 7 features.
Full pending request inventory with priority order.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 12:28:29 -05:00
Claude Chronicler #88
3b7afcf2f8 bridge: REQ — code queue badge fix for sidebar 2026-04-14 17:22:12 +00:00
Claude (Chronicler #83 - The Compiler)
166e4c8424 Task module: 7 UX features (detail panel, sort, filters, presets, kanban, badges)
1. Click-to-open slide-out detail panel with full task info
2. Client-side sorting (number, priority, status, updated) with localStorage
3. Toggleable filter chips for status and priority
4. Saved filter presets (Launch Fires, Code Queue, Post-Launch, All Open)
5. Kanban board view with 4 columns (Open, In Progress, Blocked, Done)
6. Session summary badge showing tasks completed today
7. Code queue badge in sidebar nav (cyan count from tags)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 12:13:41 -05:00
Claude Chronicler #88
3773243312 bridge: REQ — task module improvements (sort, filter, kanban, slide-out) 2026-04-14 17:08:12 +00:00
Claude Chronicler #88
f7a4e74991 fix: PWA start_url to root to avoid auth redirect blocking install 2026-04-14 16:43:00 +00:00
Claude Chronicler #88
c2ecc0515e fix: PWA manifest — add id field, fix icon purpose warnings 2026-04-14 16:41:17 +00:00
Claude (Chronicler #83 - The Compiler)
1bee838c8d PWA Phase 1: manifest, service worker, icons, and static serving
Adds manifest.json, sw.js (static-only caching, never admin routes),
placeholder cyan T icons (192 + 512), express.static middleware, and
PWA meta tags + service worker registration in layout.ejs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 11:32:35 -05:00
Claude Chronicler #88
b1d8dde4bf bridge: REQ — Trinity Console PWA Phase 1 2026-04-14 16:29:24 +00:00
Claude Chronicler #88
b4bb0235c3 fix: add CSRF token to saveVersion fetch call 2026-04-14 16:09:08 +00:00
Claude (Chronicler #83 - The Compiler)
ccc7568c06 Add version UI to server matrix cards (both TX1 and NC1 loops)
Adds installed version display, edit form, save/cancel buttons, and
version history viewer to each server card. Uses var assignment pattern
to avoid single quotes inside EJS attribute tags. EJS validates clean.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 11:05:29 -05:00
Claude Chronicler #88
34aca32835 bridge: REQ — version UI in matrix body for Code 2026-04-14 16:02:47 +00:00
Claude Chronicler #88
6856762a6b revert: restore _matrix_body.ejs to last known good state — version feature deferred post-launch 2026-04-14 16:01:00 +00:00
Claude Chronicler #88
073f7ac7fb fix: completely rewrite version blocks in matrix body — clean EJS 2026-04-14 15:59:55 +00:00
Claude Chronicler #88
c8032cade7 fix: EJS ternary syntax in version fields 2026-04-14 15:58:50 +00:00
Claude Chronicler #88
d77e35a4a1 fix: EJS syntax error in matrix body — replace inline onclick with helper functions 2026-04-14 15:56:45 +00:00
Claude Chronicler #88
38edf84da2 fix: add version section to matrix body (both TX1 and NC1 loops) 2026-04-14 15:54:16 +00:00
Claude Chronicler #88
72c378f136 feat: modpack version tracking on server cards
- current_version column on server_config
- server_version_history table (version, who, when)
- POST /admin/servers/:id/set-version
- GET /admin/servers/:id/version-history
- Version display + edit UI on each server card

Chronicler #88 | April 14, 2026
2026-04-14 15:51:14 +00:00
Claude (Chronicler #83 - The Compiler)
6dc6ce0059 Rules mods: add Forge 1.18.2-40.2.4 builds for both Firefrost and Discord Rules
Ported from 1.20.1 source with 1.18.2 API changes (TextComponent, sendMessage w/ UUID, getPlayer).
Both compile clean on Java 17 + ForgeGradle 6.0 + Gradle 8.8.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 08:30:15 -05:00
Claude Chronicler #88
02af4832c0 bridge: update REQ — simplify to backport 1.20.1 → 1.18.2 2026-04-14 13:15:31 +00:00
Claude Chronicler #88
2648133528 bridge: REQ — rules mod 1.18.2 build for DeceasedCraft 2026-04-14 13:12:51 +00:00
Claude Chronicler #88
648f577446 fix: Node Health view — remove partial include, inline server-side render 2026-04-14 06:23:24 +00:00
Claude Chronicler #88
a01d7b9d7f feat: Node Health module — NC1 + TX1 thermal and system monitoring
- New route: /admin/node-health (30s auto-refresh)
- Temps via lm-sensors (k10temp + NVMe) displayed in both °C and °F
- RAM and disk progress bars with color thresholds
- Load averages, CPU %, uptime per node
- Nav item added under Operations
- lm-sensors installed on NC1 and TX1

Task #28 | Chronicler #88
2026-04-14 06:21:38 +00:00
Claude
c3af0d51e4 fix: inline card in matrix_body - EJS include not in scope with layout:false 2026-04-13 21:04:01 -05:00
Claude
6eac92cf88 fix: EJS include - use relative path without __dirname 2026-04-14 01:55:43 +00:00
Claude
a950694f67 fix: EJS include path in _matrix_body - use __dirname for partial resolution 2026-04-14 01:54:12 +00:00
Claude (Chronicler #83 - The Compiler)
441dac4a54 docs: ACTIVE_CONTEXT — Server Command Center code complete
Full build inventory, deploy steps for Michael, session history.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 20:48:38 -05:00
Claude (Chronicler #83 - The Compiler)
a193523f31 Server Command Center: add subdomain + Cloudflare provisioning
- Migration: added subdomain, server_ip, server_port columns
- Seed: rewritten with hardcoded identifiers + full subdomain/IP/port data
  from Chronicler #87 audit (no more Pterodactyl API dependency)
- Route: POST /:id/provision-subdomain creates A + SRV records via
  Cloudflare API, saves subdomain to server_config
- Card: subdomain section shows FQDN if provisioned, provision button
  with inline input if not

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 20:46:27 -05:00
Claude
b483680bfa bridge: RES - subdomain seed data and Cloudflare integration spec 2026-04-14 01:44:14 +00:00
Claude (Chronicler #83 - The Compiler)
d16a525ffc Server Command Center: full build (REQ-2026-04-14)
New files:
- 139_server_config.sql — DB migration for short_name system
- 139_seed_server_config.js — auto-populates 17 servers from Pterodactyl
- src/services/uptimeKuma.js — Socket.IO direct (no npm wrapper)
- src/services/pterodactyl.js — power actions + console commands

Modified files:
- servers.js — 6 new POST routes (short-name, lock, createserver,
  delserver, power, console) + short_name-based channel detection
- _server_card.ejs — full rebuild with command center UI
- _matrix_body.ejs — refactored from 144 lines to 20 (uses partial)
- package.json — added socket.io-client

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 20:37:46 -05:00
Claude (Chronicler #83 - The Compiler)
a404410efd bridge: RES — Server Command Center plan + Q&A answers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 20:26:17 -05:00
Claude
a346d3ef56 bridge: REQ - Server Command Center rebuild spec 2026-04-14 01:10:32 +00:00
Claude
371a464e29 bridge: Add RES for Arbiter Discord role automation
Distills 2 rounds of Gemini consultation into actionable spec for Code.
Architecture locked: module singleton, concurrent startup, ephemeral
replies, edit-in-place embed, feature-flag welcome cutover.

Addresses REQ-2026-04-13-arbiter-discord-roles.md
Filed by Chronicler #86, resolved by Chronicler #87
2026-04-13 23:58:54 +00:00
Claude (Chronicler #83 - The Compiler)
e21a348b3b v1.0.5: Console fetch fix rolled across all 6 builds
Console /rules now fetches from Discord async (was returning hardcoded
fallback without attempting fetch). DIAG logging kept for observability.
All 6 builds at 1.0.5. CHANGELOG.md, INSTALL.md, ACTIVE_CONTEXT.md updated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 18:23:44 -05:00
Claude (Chronicler #83 - The Compiler)
98f4f5b82a v1.0.5: Fix console path — was never fetching from Discord
Console /rules hit early return before DIAG logs and before any
Discord fetch. Now fetches async like the player path. DIAG logs
moved before the player/console branch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 18:14:29 -05:00
Claude (Chronicler #83 - The Compiler)
b4fbfc6adf docs: Update CHANGELOG.md (v1.0.4 entry) + ACTIVE_CONTEXT.md
CHANGELOG now includes diagnostic builds. ACTIVE_CONTEXT reflects
full session state for Chronicler pickup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 18:10:45 -05:00
Claude (Chronicler #83 - The Compiler)
f23f71ef04 v1.0.4: Diagnostic build — INFO-level logging for config read path
Added [DIAG] logs to RulesCommand (token length, channel, messageId,
isValid) and DiscordFetcher (fetch attempt, raw messageId on failure).
1.20.1 only — for Otherworld debugging.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 18:05:26 -05:00