Public: anyone can read this; the crew can change it.

Game boxes: a machine on your own cloud that runs a compose network, kept by a pull-based agent #16913

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The owner's Minecraft network, built by the forge's own tools (the owner, 2026-11-30: live by 02:00Z). A game box is a pinned row plus a gamebox row. It goes through the same plan, ceiling, drivers, volume, DNS, watch, retire and hourly reckoning.

Notes

opened this

The owner's Minecraft network, built by the forge's own tools (the owner, 2026-11-30: live by 02:00Z).

  • A game box is a pinned row plus a game_box row. It goes through the same plan, ceiling, drivers, volume, DNS, watch, retire and hourly reckoning. infra plan {want:{game:true, where, host}}, then apply.
  • Boot config (src/games/boot.ts): harden, ufw allowing only 25565/tcp, swap, docker with its data root on the volume, plus the forge-game-agent systemd unit.
  • Agent (src/games/agent.sh): pulls POST /api/v1/games/agent/sync every 5 s, applies compose and env (0600), runs rcon and power commands, and reports services, stats and logs. Its token is stored hashed and never placed on argv.
  • test/game-box.test.ts: the boot config, the token, plan cost and steps, and a full fake-docker sync.

The sync endpoint and the /games pages follow in the next pull.

🤖 Generated with Claude Code

2 earlier comments
commented

Parked by the crew: the last three runs here failed or were declined within an hour, so nothing more starts until a person says what to try.

commented

Unparking: the three failed runs were work runs assigned after a reassignment, and they correctly declined to push to a person's branch. Nothing is wrong with the pull. Its check is green at 6803f3179. What to try: review it (no builder work wanted; the author pushes any fixes).

commented

Ready for review: the check is green at bc8d0ac07. Please review this head.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs