Workspace Knowledge Base

๐Ÿงญ Workspace Wiki Command Center

Operator command center for the /home/mc workspace: public routes, project docs, OMP, Hermes, AIRI, Nexus, and Moincraft runtime operations.

Canonical operator knowledge base for /home/mc: projects, services, OMP/Pi tooling, Hermes profiles and skills, Moincraft runtime, cheat sheets, status summaries, and forward plans.

โšก 30-Second Operator Start#

cd /home/mc/wiki
npm run wiki          # local preview at 127.0.0.1:${WORKSPACE_WIKI_HUGO_PORT:-1314}
npm run wiki:build    # generate curated content + Hugo output in public/wiki
npm run wiki:deploy   # publish verified public/wiki to wiki.moincraft.de

If source data changed: run npm run wiki:content before previewing so Hermes and service summaries are regenerated. Moincraft runtime commands still run from /home/mc/moincraft.

๐Ÿ—บ๏ธ Workspace Map#

  • โ›๏ธ Moincraft โ€” Mineflayer bots, Paper server, relay, Svelte dashboard, Prismarine viewer, PM2/runtime ops.
  • ๐Ÿงธ AIRI โ€” pnpm/Turbo TypeScript/Vue monorepo for AI companion surfaces, shared packages, and LLM proxy.
  • ๐Ÿ“Š Nexus Dashboard โ€” Python collectors, static dashboard, WebSocket updates, research/news/KB engines.
  • ๐Ÿ“š LLM Wiki Site โ€” Hugo self-discovering knowledge base with scan/lint/full pipeline.
  • โฌก Manifest โ€” generated static service map for ports, routes, cron, and architecture facts.
  • ๐Ÿชฝ Hermit/Hermes โ€” runtime config, profiles, skills, memory/kanban collectors; hidden state stays private.
  • ๐Ÿงฐ Local bin โ€” local wrappers and binaries, notably Hugo and Sass wrappers used by this wiki.

๐Ÿšฆ Service Cheat Sheet#

Surface Public entry Local/port Notes
Wiki https://wiki.moincraft.de/ /home/mc/wiki -> /var/www/moincraft-wiki/current Static Hugo operator wiki.
Moincraft app https://moincraft.de/ 4173 Public game/app landing.
Manifest https://moincraft.de/manifest/ /var/www/manifest Static status map; target future host: status.moincraft.de.
Nexus https://moincraft.de/nexus/ 18789/18790 HTTP + WebSocket; target future host: nexus.moincraft.de.
AIRI https://airi.moincraft.de/ 55466/55467 Web + OpenAI-compatible proxy.
Minecraft moincraft.de:25565 25565 Paper server.
Moincraft dashboard LAN/dev 55666/55667 Svelte UI + relay API.
MindServer / viewer LAN/dev or protected route 55668/55669 No public unauthenticated exposure by default.

๐Ÿค– OMP + Hermes Mental Model#

  • OMP (ฯ€) = interactive coding/runtime harness at ~/.local/bin/omp, with sessions under ~/.omp/agent and plugin state under ~/.omp/plugins.
  • Pi compatibility = many plugins still read PI_* variables; keep compatibility in /home/mc/.env and /home/mc/.local/bin/omp-plugin-env.
  • Hermes = profiles, skills, memory/kanban/data workflows feeding Nexus summaries and this wiki’s generated pages.
  • Discord remote = trusted-user remote control. Treat allowlisted users like shell users; keep tokens and launcher secrets out of public docs.

โ›๏ธ Moincraft Bot Ops#

cd /home/mc/moincraft
npm run check        # relay syntax + dashboard Svelte check
npm run build        # dashboard build
npm run verify       # stack verification script
npm run contract     # relay contract check
npm run green        # check + build + verify + contract

Live-service commands are intentional operations: ./launch_all.sh, ./stop_all.sh, npm run pm2:start, PM2 restarts, and server operations can mutate runtime state.

๐Ÿ”’ Safety Rules#

  • Never publish .env, API keys, tokens, passwords, RCON credentials, auth state, sessions, raw DBs, WAL/SHM files, caches, or unfiltered logs.
  • Generated output lives in /home/mc/wiki/public/wiki; edit source content and scripts/build-wiki-content.mjs, not generated HTML.
  • Generated Hermes pages summarize structured safe JSON only; they do not dump persona text, private memories, or raw diagnostics.
  • Public pages may document variable names and safety rules, but never secret values.

๐Ÿงฏ Fast Fix Matrix#

Symptom Likely cause First safe move
Wiki missing generated Hermes pages Source JSON changed or content generator not run From /home/mc/wiki: npm run wiki:content then npm run wiki:build
Hugo cannot find Sass/Hugo binary PATH missing local wrappers Run commands from /home/mc/wiki; scripts prepend /home/mc/bin:/tmp/dart-sass.
Dashboard relay unreachable Relay or port 55667 not running From /home/mc/moincraft: check Moincraft stack and run npm run verify.
Viewer blank or slow Chunk load/version/render distance issue See viewer reference .
Discord launcher says no secret Env loaded after OMP boot or missing launcher secret Restart OMP after .env changes; see Discord remote .
Concern about public data Unsafe source or raw runtime state Stop and apply security policy .

Sections

Pages