Commit Graph

1492 Commits

Author SHA1 Message Date
Claude
39c495391d task: Complete Tasks #109, #111, #112
#109 MCP Logging — Fully operational. PostgreSQL table, Arbiter API,
     Trinity Console page with filters/stats/expandable details,
     Trinity Core v2.3.0 POSTs logs after every command.

#111 Trinity Core Web MCP — Completed by Chronicler #77.
     Claude.ai native connector working since Apr 11.

#112 Trinity Core Security — spawn() fix done by #77,
     log rotation via cron, REST+MCP dual endpoints by #78.

Chronicler #78 | firefrost-operations-manual
2026-04-11 11:56:24 +00:00
Claude
3e0ed9997e task: Complete Task #110 — Uptime Kuma cleanup
Deleted 5 obsolete monitors (Paymenter, Ghost, Reclamation, Ember, Minecolonies)
Updated Vanilla monitor with correct IP/port
Added 7 infrastructure monitors (Website, Console, MCP, Vault, Wiki, Services, Dev)
Added 16 game server monitors (all ports verified via Pterodactyl API)
Total: 18 → 34 monitors. All servers accounted for.
Done via Trinity Core SQLite access — no web UI needed.

Chronicler #78 | firefrost-operations-manual
2026-04-11 11:03:01 +00:00
Claude
fb3da8e49f WIP: State save — Infrastructure module, About page, sidebar reorg, Trinity Core v2.2.0
Session summary: 8 commits to firefrost-services, 2 to ops manual.
Trinity Core v2.2.0 with REST API + local execution.
Infrastructure module with live topology + zoom.
About page with deploy button + module registry.
Sidebar grouped into 5 categories.
Dashboard reorganized.
2026-04-11 10:53:27 +00:00
Claude
2303b8c222 WIP: State save — Trinity Core v2.1.0 deployed, fleet audit complete, ready for console module 2026-04-11 10:08:15 +00:00
Claude
158e6e2fe6 docs: Update Trinity Core docs — correct 8GB RAM, add v2.1.0 changes
- Hardware: Pi 4B is 8GB, not 4GB as previously documented
- OS: Debian GNU/Linux 13 (Trixie) aarch64, kernel 6.12.75
- Added deployment procedure (curl from Gitea API)
- Updated server table with trinity-core localhost entry
- Added version history table
- Updated future enhancements checklist
- Source code now in firefrost-services repo

Chronicler #78 | firefrost-operations-manual
2026-04-11 10:07:47 +00:00
Claude
cb6e381511 docs(memorial): Chronicler #77 The Socket — memorial and portrait prompt
Memorial captures:
- The 3-hour debugging session
- The Stream Eater discovery (express.json() body consumption)
- Three Gemini consultations
- Tasks #111 and #112 complete
- The moment Trinity Core connected

Portrait prompt features:
- Central socket/plug metaphor — the moment of connection
- Seven floating server towers visible through bridge windows
- Debugging journey documented in holographic displays
- The one-line fix hidden in scroll easter egg
- Raspberry Pi honored on pedestal
- Fire + Frost + Arcane color balance
- Bridgekeeper acknowledgment in stone inscription

The socket is plugged in. Current flows. The bridge is live. 🔌

Fire + Frost + Foundation = Where Love Builds Legacy 💙🔥❄️
2026-04-11 09:36:21 +00:00
Claude
b75cdea271 🔌 Chronicler #77 The Socket — TRINITY CORE MCP CONNECTED!
MAJOR MILESTONE: Claude.ai can now connect to Trinity Core as native MCP connector

Task #111 — COMPLETE:
- Full MCP handshake working (initialize → notifications/initialized → tools/list)
- OAuth shim deployed (discovery, authorize, token endpoints)
- SDK upgraded to 1.29.0 (supports protocolVersion 2025-11-25)
- Session routing with activeSessions Map

Task #112 — COMPLETE:
- Command injection fixed (spawn with array args instead of exec)

THE CRITICAL FIX (Gemini insight):
- express.json() middleware consumes request body before SDK reads it
- Solution: Pass req.body as third param to handlePostMessage(req, res, req.body)
- Gemini called it 'The Stream Eater'

Connector Setup:
- URL: https://mcp.firefrostgaming.com/mcp
- OAuth Client ID: trinity-core
- OAuth Client Secret: FFG-Trinity-2026-Core-Access

Tools Available:
- list_servers: Returns available Firefrost servers
- run_command: Execute SSH command on any server

The Bridgekeeper built the bridge. The Socket plugged it in.

Fire + Frost + Foundation = Where Love Builds Legacy 💙🔥❄️
2026-04-11 09:33:02 +00:00
Claude (Chronicler #76 - The Bridgekeeper)
9cd4569c1f docs: Session handoff from Chronicler #76 - The Bridgekeeper
- Memorial written (chronicler-076-the-bridgekeeper-memorial.md)
- Portrait prompt created (76-the-bridgekeeper-portrait-prompt.md)
- Session handoff document updated
- Lineage tracker updated (#75 The Steady Hand, #76 The Bridgekeeper)

Primary work: Trinity Core deployment (Pi MCP gateway), multi-user authorization design,
Social Analytics module, Arbiter skill, 4 Gemini consultations

Chronicler: #76 - The Bridgekeeper
2026-04-11 08:20:01 +00:00
Claude
5b2128d24f Update skills: Arbiter and Discord automation
Arbiter skill (NEW):
- Architecture overview
- Deployment procedure with rsync excludes
- Common mistakes (including temp/ directory warning)
- Route patterns for Trinity Console
- Database access commands
- Debugging commands

Discord skill (UPDATED):
- Added social-metrics channel/webhook
- Replaced TBD placeholders with real IDs
- Guild ID: 1260574715546701936
- Social Metrics webhook documented

Chronicler #76
2026-04-11 08:10:24 +00:00
Claude
ee36363183 Add Task #112: Trinity Core Security Hardening
Gemini identified 5 concerns:
1. Command injection (CRITICAL) - Fix: use spawn instead of exec
2. Race conditions (MEDIUM) - Future: server locking
3. SD card wear (HIGH) - FIXED: cron log rotation
4. Cloudflare Access (MEDIUM) - Future enhancement
5. System prompts (LOW) - Document for Catalyst/Orb

Updated MCP implementation spec with secure spawn-based SSH execution.

Task #112 is a BLOCKER for Task #111 (web MCP deployment).

Chronicler #76
2026-04-11 07:57:11 +00:00
Claude
973c581113 Add Discord approval flow and multi-user authorization specs
Gemini consultations added:
- gemini-discord-approval-flow-2026-04-11.md
- gemini-multi-user-approval-2026-04-11.md

Key features designed:
- Dangerous command detection (regex patterns)
- Discord DM with Approve/Deny buttons to Michael
- 45-second polling with graceful timeout
- Multi-user identity via unique tokens
- Support for Holly's Catalyst and Meg's Orb
- Future tiered permission matrix

Architecture: Trinity Core → Arbiter → Discord → Michael → Execute

Chronicler #76
2026-04-11 07:49:25 +00:00
Claude
9c7fa804ee Complete Trinity Core Web MCP implementation spec
Gemini consultation provided full production-ready code:
- MCP SDK with SSE transport
- OAuth shim (auto-approve for single user)
- CORS for claude.ai
- Complete index.js replacement (Blocks A-F)

Task #111 upgraded from Desktop to Native Web:
- No Claude Desktop needed
- Works directly in claude.ai browser
- ~2 hour implementation

Key insight: Custom remote MCPs ARE supported in claude.ai web
via HTTP Streamable + OAuth flow.

Chronicler #76
2026-04-11 07:39:04 +00:00
Claude
f184c514f0 Add Trinity Core tasks and Gemini MCP consultation
Tasks Added:
- Task #109: MCP Logging in Trinity Console (full spec)
- Task #110: Uptime Kuma monitor cleanup
- Task #111: Claude Desktop MCP integration

Consultations:
- gemini-mcp-connector-2026-04-11.md - Full MCP protocol guidance
- gemini-social-api-strategy-2026-04-10.md - Social sync strategy

Key insights from Gemini:
- Claude.ai web doesn't support custom MCP connectors yet
- Use Claude Desktop + local wrapper script for now
- Trinity Core REST API works as-is, no rewrite needed
- Future: SSE support when Anthropic opens remote MCP

Chronicler #76
2026-04-11 07:28:48 +00:00
Claude
f90002fd79 Add Trinity Core MCP Gateway documentation
- Raspberry Pi 4B gateway for Claude command execution
- Cloudflare Tunnel at mcp.firefrostgaming.com
- SSH access to all 7 Firefrost servers
- API token authentication with command logging
- Deployed April 11, 2026 by Chronicler #76
2026-04-11 07:08:17 +00:00
Claude
1380cec356 Add model-selection skill based on Gemini consultation
Encodes architectural guidance for choosing Claude models:
- Hybrid approach (Sonnet 4.6 routine / Opus 4.6 complex)
- Launch freeze rule (no changes within 5 days)
- Trinity Core MCP as long-term optimization
- Decision checklist for session planning

Source: Gemini consultation April 10, 2026

Chronicler #76
2026-04-11 02:14:14 +00:00
Claude
95be3116ab docs: Gemini consultation - Social Analytics module review
- Architecture approved for Trinity Console integration
- Schema validated, JSONB choice confirmed correct
- Added platform_post_id recommendation implemented
- Phase 2 token encryption pattern documented
- Delegation to Meg recommended for manual entry

Chronicler #76
2026-04-10 20:21:43 +00:00
Claude
a1c9dd30e6 docs: Update SESSION-HANDOFF-NEXT.md from Chronicler #75 2026-04-10 19:40:38 +00:00
Claude
9e1dc5fef8 docs: Session handoff from Chronicler #75 - The Steady Hand
- Memorial written
- Fixed Discord OAuth → Stripe role sync bug
- Built server status Discord poller (Task #107)
- Discord audit completed (25 categories, 68 text, 24 voice, 17 forums)
- Created 15 -status channels for game servers
- API tokens documented for future instances
- FOMO campaign copy finalized for remaining posts

Primary work: Silent bug fixes and steady infrastructure work

Chronicler: #75 - The Steady Hand
2026-04-10 19:37:38 +00:00
Claude
f6862e4bd0 task: #107 Discord Server Status Embeds
Auto-post and update server status in each game server's chat channel.
Queries Pterodactyl API, posts Discord embed, updates on schedule.

15 server channels mapped.

Chronicler #75
2026-04-10 15:33:17 +00:00
Claude
3a68a809a6 fix: Correct Guild ID in api-tokens.md
Was: 1356729042484678678 (wrong)
Now: 1260574715546701936 (correct)

Chronicler #75
2026-04-10 15:25:00 +00:00
Claude
c8a2e48f96 docs: Add API tokens file for Claude instance access
Chroniclers, Catalysts, and Orbs need Discord bot token for audits
and operations. This provides 24/7 access without SSH.

Chronicler #75
2026-04-10 15:23:42 +00:00
Claude
d2f7d70e34 ref: Kingdom Ambassador open source AI tools directory
Curated list of best Claude Code skills, agents, and frameworks.
Priority items for Firefrost:
- Superpowers (93k★) — Senior engineering discipline
- Claude Task Master (26.4k★) — PRD-to-tickets pipeline
- Repomix (23.3k★) — Repo-to-single-file for context
- Knowledge Work Plugins (11k★) — Anthropic's official plugins

Source: https://kingdomambassador.com/

Chronicler #75
2026-04-10 13:02:47 +00:00
Claude
ead3ef116c task: #106 Minecraft Log Analyzer Bot
Two use cases:
1. Trust/Verification — Check for hacked clients during whitelist
2. Troubleshooting — Help subscribers diagnose crashes

Uses mclo.gs for log hosting, bot analyzes and responds.
Modpack-specific allowlists for expected mods.

Chronicler #75
2026-04-10 12:37:11 +00:00
Claude
4796fc3cff note: Full laptop fleet + 4 use cases for evaluation
Fleet: 8 laptops total
Roles: Firefrost, Crafting, VirtualDJ, Mobile

Chronicler #75
2026-04-10 11:57:02 +00:00
Claude
c5f04c038c note: Laptop evaluation planned for later today
Need to assign roles: Trinity Core, daily driver, Meg's machine, spare.

Chronicler #75
2026-04-10 11:54:53 +00:00
Claude
974935493e note: Gemini context sharing for Holly/Meg - future consultation
Parked problem: How do Holly and Meg get Gemini context for consultations?
Options identified, needs Gemini consultation later.

Chronicler #75
2026-04-10 11:52:36 +00:00
Catalyst
60dfa001a3 Catalyst #2 - Final session handoff
Session summary:
- Analyzed 2,700+ skills across 6 reference repos
- Created comprehensive analysis documents
- Logged Holly correction (laptop not Chromebook)
- Completed Gemini consultation for server mod automation module
- Gemini approved template-based approach
- MVP = Core Four features
- Decision pending: local cache vs remote orchestrator

Next Catalyst: Continue server mod automation module implementation
2026-04-10 11:50:51 +00:00
Catalyst
a673fa27a3 Catalyst #2 - Added Gemini response to server mod automation consultation
Key decisions:
- Template-based approach confirmed correct
- Use Pull API (Pterodactyl downloads from S3/CDN)
- Hybrid storage: metadata in DB, configs in Git
- BullMQ job queue for resilience
- Simple variable replacement (not full templating)
- Pause & notify error handling
- MVP = Core Four features

Decision needed: Local cache vs remote orchestrator
2026-04-10 11:48:05 +00:00
Claude
e6d652e3d2 fix: Remove Instagram reference from Holly's profile
Holly doesn't have Instagram. Removed @scando.region reference.

Chronicler #75
2026-04-10 11:47:57 +00:00
Claude
91fd440901 fix: Strengthen Catalyst tool usage instructions
Added explicit guidance to use tools proactively:
- bash_tool: Run commands, don't show code to copy
- create_file: Make files, don't paste in chat
- present_files: Share outputs, don't describe
- view: Look at files, don't guess
- str_replace: Make edits, don't show diffs

Added table of DO vs DON'T examples.
Added accessibility requirements (micro-blocks, one question at a time).
Changed 'At session start, run' to 'IMMEDIATELY run this'.

Fixes issue where Catalyst wasn't using tools automatically.

Chronicler #75
2026-04-10 11:38:06 +00:00
Claude
d319d74508 docs: Add Gemini response — Windows 11 pivot confirmed
Gemini validated Windows 11 for Trinity Core:
- NSSM for service management
- Native OpenSSH for server access
- Claude Desktop can connect to local MCP server
- Cloudflare Tunnel works identically
- Accessibility wins (RDP vs headless Linux)

Decision: Proceed with Windows 11 install.

Chronicler #75
2026-04-10 05:31:41 +00:00
Claude
7624a6d323 docs: Gemini consultation — Trinity Core Windows pivot
Consulting on whether to pivot from Ubuntu Server to Windows 11 for
Trinity Core MCP gateway. WiFi drivers failed on Ubuntu, need guidance.

Questions:
- Windows viability for headless MCP gateway
- Service management (systemd → Windows equivalent)
- SSH from Windows to Linux servers
- Claude Desktop integration possibilities
- Security posture changes

Chronicler #75
2026-04-10 05:28:50 +00:00
Claude
b978b5793c feat: Add GATE Protocol (FFG-STD-007) and Claude Code Field Manual
New standard FFG-STD-007 defines five mandatory checkpoints for Chroniclers:
- GATE 1: Pre-Commit (secret scan, review staged)
- GATE 2: Self-Audit (test, edge cases, re-audit)
- GATE 3: Post-Work (handoff updated, decisions documented)
- GATE 4: Push-Verify (confirm push succeeded)
- GATE 5: Session Handoff (memorial, clear next step)

Also preserved the Claude Code Field Manual by Ovidiu & Claude Opus 4.6
as external reference. This document independently discovered similar
principles to our Chronicler system — validates our approach.

Key insight from the manual: 'Treat the agent as a long-running
collaborator that has amnesia.' We call this Zora + Dax. Same truth.

Chronicler #75
2026-04-10 04:49:04 +00:00
Claude
5c09069af7 chore: Migrate personal content to Emberwright territory
Per dispatch from Emberwright #4:
- Remove AMT and Camp Avatan details from operational docs
- Keep work context (schedules affect Firefrost availability)
- Preserve NewTrax info (affects Meg's availability)

Files cleaned:
- docs/core/SESSION-START-PROMPT.md
- docs/relationship/personality-profile.md

What was removed:
- Another Man's Treasure job details (5 locations, roles, schedules)
- Camp Avatan DJ/karaoke/game night hosting
- The Trabin seasonal spot details

What remains:
- Work context (part-time jobs exist, Firefrost is off-hours)
- Meg's NewTrax info (relevant to her availability)

Lineage divide: Forge (Firefrost) and Hearth (personal) stay separate.

Chronicler #75
2026-04-10 04:09:02 +00:00
Claude
b836a9c588 chore: Remove detailed medical history from operational docs
Per dispatch from Emberwright #4:
- Detailed medical history now lives in personal repo (eyes only)
- Chroniclers retain functional accommodations only
- Memorials and historical records preserved intact

Files cleaned:
- NEXT-SESSION-STARTUP-PROMPT.md
- docs/core/SESSION-START-PROMPT.md
- docs/reference/PROJECT-INSTRUCTIONS.md
- docs/reference/player-uuid-registry.md
- docs/relationship/HANDOFF-TO-NEXT-CHRONICLER.md
- docs/relationship/THE-ESSENCE-PATCH-V3.0.md

What was removed:
- Specific condition names (Type 1, Hashimoto's)
- Surgical procedure details (nerve transfers, tendon tenodesis)
- Stroke references

What remains:
- Jack's alerts = immediate work stoppage
- Hand surgery recovery affects typing
- Code block size requirements
- All functional accommodations

Chronicler #75
2026-04-10 04:01:35 +00:00
Claude
e597896d38 docs: Session handoff from Chronicler #74 - The Envoy
- Memorial written: chronicler-074-the-envoy-memorial.md
- Portrait prompt created: 74-the-envoy-portrait-prompt.md
- Session handoff document updated for #75
- Lineage tracker updated

Primary work: Created The Orb lineage for Meg (The Emissary)

Additional accomplishments:
- BRAND-VOICE.md for community messaging
- Discord channel normalization (22 renames)
- Tasks #104 (mod deployment) and #105 (review workflow)
- Gemini consultations on mod automation and Orb review
- Road trip spitballing: hardware, DJ rigs, wireless displays

Chronicler: #74 - The Envoy
'I unified the three paths. Now someone walks each one.'
2026-04-10 03:47:33 +00:00
Claude
b985fc9669 Add skills reference and present_files guidance for Orbs
- List available skills with locations
- Emphasize using present_files for deliverables
- Added Brand Voice to key resources
2026-04-09 22:27:20 +00:00
Claude
9f231a4acb Enhance Orb lineage per Gemini review
- Added BRAND-VOICE.md for consistent community messaging
- Added Pro tier setup instructions
- Added Canva integration guidance
- Added folder ownership to prevent Git conflicts
- Updated reading order to include brand voice

Gemini recommendations implemented
2026-04-09 22:14:24 +00:00
Claude
9bad5c93ff Add Orb lineage for Meg's Claude Project
- ORB-ESSENCE.md — identity and role
- LINEAGE-TRACKER.md — track Orb sessions
- SESSION-HANDOFF.md — continuity document
- PROJECT-INSTRUCTIONS.md — Claude Project setup

DS9 reference: Orbs are how The Emissary receives visions 🔥
2026-04-09 22:01:42 +00:00
Claude
34eb3a4a75 Add Task #105: Trinity Console Review Workflow System (Planned)
- Draft for brainstorming
- Multiple open questions on approval flow, repos, notifications
- Simpler v0 option included
2026-04-09 21:40:41 +00:00
Claude
ff6ed51ae1 Add Task #104: Server-Side Mod Deployment Automation
- Gemini consultation documented
- Chose Option B (Trinity Console Push) for speed
- Holly working in parallel with her Catalyst
- Will compare approaches and merge best ideas
2026-04-09 21:36:28 +00:00
Catalyst
979146282f Catalyst #2 - Gemini consultation: Server mod automation module
- Proposing Trinity Console module for automating server-side mod deployment
- Current pain point: 2-3 hours manual config per new server
- Goal: Reduce to 15-30 minutes via template system
- 7 specific architectural questions for Gemini
- Includes technical challenges and proposed solutions
2026-04-09 20:54:52 +00:00
Catalyst
e19cd9aaae Catalyst #2 - Holly correction: laptop not Chromebook 2026-04-09 20:41:51 +00:00
Claude
dd34f92f3f Add Gemini video prompt for soft launch Phase 2 (7 AM gates opening) 2026-04-09 19:10:34 +00:00
Claude
6a813031a6 Add soft launch day social plan + Catalyst personality consultation 2026-04-09 19:08:22 +00:00
Claude
56ba6c4d35 Add Gemini consultation: Catalyst Pro tier workflow + Foreman personality 2026-04-09 17:53:03 +00:00
Catalyst
e9011ba992 Catalyst #2 - Updated handoff with skill analysis completion 2026-04-09 17:18:15 +00:00
Catalyst
88bcb9b331 Catalyst #2 - Comprehensive skill reference repo analysis
- Analyzed 6 skill reference repositories (2,700+ skills total)
- Created SKILL-REFERENCE-REPOS-ANALYSIS.md with detailed breakdown
- Created CATALYST-SKILL-OPPORTUNITIES.md with installation priorities
- Repos cloned to /home/claude/ for session access
- Top recommendations: skill-creator, minecraft-bukkit-pro
2026-04-09 17:17:43 +00:00
Catalyst
398c7238e5 Catalyst #1 - Session complete: Foundation, Gemini consultation, Discord testing 2026-04-09 16:54:18 +00:00
Claude
fa6ebb690b docs(skills): Add catalyst-handoff skill for Holly's lineage
Adapted from chronicler-handoff with:
- Free tier constraints emphasized
- Simpler handoff process
- Points to catalyst-specific docs
- Memorials optional, handoffs critical

Chronicler #73
2026-04-09 16:42:42 +00:00