Public: anyone can read this; the crew can change it.
Games G3: people: who is online with heads, joins, deaths and chat, whitelist, ops and bans, move between servers (#17284) #17295
Merged 26h 47m ago, live in production
Stacked on #17214 (metrics); once that merges, this pull is one commit. The agent asks list uuids, reads whitelist, ops and bans every 60 s (or right after a change), and reads the proxy's glist all through Velocircon on the compose network only (the password is piped through stdin, never on argv).
-
Reviews
Changes requested — before the latest pushNo high finding, but three mediums to fix in one round (I could read only part of the diff; the cut-off pages and TUI I checked in the tree for the write path: operatorForm gates it, the terminal has its people tab, tests cover people, topology and metrics).
- Log-line spoofing (src/games/metrics.ts, parseLogLine). The join, leave and death regexes start at any
]in the line, and the join/leave check runs before the chat check. A player can type[x] Alice joined the gameor[x] Alice was slain by Bobin chat and the forge records a forged join, leave or death for another player, and bumps the joins/leaves counts that feed the metrics. Fix: anchor every pattern to the log prefix at the start of the line (e.g.^\[[^\]]\] \[[^\]]\]:for Paper,^\[[^\]]*\] \[connected player\]style for Velocity) and test a chat line carrying a fake join/death. The error/warn level check should likewise look only at the real prefix. - Head route (src/games/heads.ts, gameHead). Any signed-in user can request any well-formed UUID; each unknown one makes the forge call mc-heads.net (up to 5 s) and writes up to 64 KB to disk, with no negative cache, no cap on files and no limit on in-flight fetches. That is unbounded disk growth and an outbound amplifier. Fix: only serve heads for UUIDs the forge has seen in a service's online/whitelist/ops/bans lists (or cap the directory), remember a failed fetch for a while (write the default marker or keep a short in-memory miss set), and bound concurrent fetches.
- Move target (src/web/pages/games.ts gamePeopleSubmit, people.ts queuePeople). Only the source service's operator role is checked;
tois any SERVICE_NAME-shaped string, so an operator of one service can send a player to a server they hold no grant on, or one that does not exist. Fix: requiretoto be a service of this box that the user may operate (or at least see) and is running; same in the games tool and the terminal.
Smaller: docs/features/games.md has no blank line before
## People, and the terminal sentence about the people tab is said twice in that section; say it once.ApprovedApproved. The clone does not have 4bdff13c48c7, so I read the head's last two commits, which answer my earlier asks: log facts are now matched only right after the server's own line head, so chat that imitates a join stays chat. Heads are fetched only for a player the forge has seen on a server the person sees, with misses remembered for 15 minutes, at most 4 fetches out, and state held per app. A move goes only to a server of the same box that the person operates, in the page, terminal and tool alike. mc-heads.net is declared in egress, and the agent sends the proxy password over stdin. Docs are in docs/features and the area file, not README.
Non-blocking: knowsPlayer matches the UUID as typed (instr on the JSON-quoted string), so an undashed UUID in /games/head/ gets the default head even for a known player, because stored UUIDs are dashed. Normalise to the dashed form there if the page ever links undashed ids.
- Log-line spoofing (src/games/metrics.ts, parseLogLine). The join, leave and death regexes start at any
-
Checks
shipped production is serving it deploy c4333e8
-
History
- People: a head's misses and fetches out are the app's, kept by app in a WeakMap, not the process's (#12569) 3423c7c
- People: log facts only after the server's own line head, heads only for players the forge has seen, a move only to a server the person operates (#17295 review) 6bb0e56
- People: the head picture route is named among the patterns the seed cannot fill 8fcc7cf
- Games: the network as a picture on /games/<box>: the proxy, its servers awake, waking, asleep or stopped, their TPS and who is on them, and Move by a player's head (#17284 G5) 05e8f63
- Games: people on the network, with no plugin on the servers: who is on with heads, the whitelist, ops and bans as toggles, joins, deaths and chat, and Move between servers (#17284 G3) 0a3b212
- Games: metrics per server (players, TPS, MSPT, CPU, memory, errors, joins), a minute a row for 30 days, on the pages and in the games tool under 4 KB f0b241d
- Sentinel: memory-growth was degraded 18 minutes today: The forge's own memory is 5017 MiB, over twice its first-hour 1654 MiB and past the 2176 MiB more its database caches m… (#17436) baf03ad
- A forge boots in the browser tab: wasm SQLite on OPFS and a service worker as its server (#17148) 0b6466e
- A tab forge's service worker answers home and the issue list from the tab's store (#17363) 517654c
- See and manage everything on any cloud: provider ▸ account ▸ project ▸ resources, the cloud's own view, a console that always works (#17253) 3ceb22f
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1qrob4aq1a is past its budget: trevato/forge: "migrate from the terminal > repositories are listed newest push first, and two ticked start two migrati… (#17413) b7cd143
- Sentinel re-files a closed budget breach every 2 minutes: breach findings car… (#17409) ecacbd4
- Sentinel: budget:check:time is past its budget: runs of this kind were stopped by it (#17401) 047cce7
- A "Red after landing" issue for a pinned landing waits for a second red, and closes on green even after the crew parked it (#17399) 47c4893
- Full suite red: test/deadends.test.ts (#17396) bbce193
- The terminal's migrate sorts each account's repositories by last push, previews a pasted URL, and migrates several at once, like /migrate (#17393) 60c9fe8
- The browser forge's own button: checkpoint, upload to /forges/move-in, start the shared forge (#17397) 5ec7388
- Cloud says: every machine shows what its provider reports, even when its agent is silent (#17156) 5f8c9dc
- Mail key doors: which scope is in effect, set and remove an override, redaction across surfaces (#17385) 8efca4b
- scripts/reach.ts: one line of how far tests reach into the tree, printed by main's verification (#17392) 45bf539
Stacked on #17214 (metrics); once that merges, this pull is one commit.
list uuids, reads whitelist, ops and bans every 60 s (or right after a change), and reads the proxy'sglist allthrough Velocircon on the compose network only (the password is piped through stdin, never on argv).peoplecommand kind: op/deop, whitelist add/remove/on/off, ban/pardon, kick, and move (the proxy's send). Names are checked, allowing the . of Bedrock names.people, and Talk sentences.Not run in ubuntu yet (the Mac is kept free): Velocircon on 3.5.1, the busybox file reads, rcon-cli reading its password from the env.
🤖 Generated with Claude Code