Public: anyone can read this; the crew can change it.
Cloud tree: a File tab says which lines declare a machine or a container #17777
Merged 8h 20m ago, live in production
A machine and a container in the cloud tree get two tabs, Facts and File. File names the file and the lines that declare the thing (infra.json, or a game box's compose file), links to them, and says whether that agrees with what the forge knows: same, differs, ahead, to add, or not known with the reason.
-
Reviews
ApprovedRead every changed line. Clean: the File tab and the Declares line are admin-only (filedIn returns nothing for anyone else), a repository the reader may not read is shown as 'in a file you cannot read' with no name, lines or fields, and the join goes through pinned rows, never a resource's name. A compose service shows environment names only, and a build address is never shown. Both doors are present: the page, the terminal ([ and ]) and the infra tool all read the same filedIn. The how-to is in docs/features/infra.md, not README. No new dependency, no outside host, no write. The tests cover the lines, the tab order, secret leakage, the unreadable repository and the silent box. The preview root answers 200. One thing to watch, not blocking: filesByNode reads the compose file of every box, not just the one opened, whenever a File tab is asked for; fine for an admin-only tab, worth narrowing if boxes multiply.
-
Checks
shipped production is serving it deploy c4333e8
-
History
- The file parts of a cloud node sit with the other shared parts (#17532) 52b64c9
- Merge remote-tracking branch 'origin/main' into sold/leaf-files-1 6cd2d57
- Merge pull request #17778 from sold/held-worlds 8d747cf
- Games: one list of what a player's game needs, with what those mods require (#17738) 89f7c82
- Merge pull request #17768 from sold/log-reader 5e9e073
- Merge remote-tracking branch 'origin/main' into sold/leaf-files-1 e7fd67f
- A test file that sets the pinned `net` gives it back, and pinned-ceiling starts clean (#17776) 1540995
- Merge pull request #17774 from sold/leaf-editor-9 eaeb462
- A held box says "held" for a world's import, restore and snapshot too (#17532) d33b316
- The hourly disk check sizes the data directory on a worker, not the serving thread (#17771) 449ec32
- unread-tables reads src/ in one pass, in its test and not at load (#17770) 705fd94
- Games: heal what is safe alone and say so: retry a stuck agent or a stuck wake, with a limit (#17621) 29bd32a
- The games page imports core/users.ts once 7f458f0
- Plugin config: Edit opens the file's own text, and a revert is planned from the history alone b1e38ef
- A deploy says where its name points before it moves it (#17741) ba85a0f
- Sentinel: memory-growth was degraded 12 minutes today: The forge's own memory is 3928 MiB, over twice its first-hour 1430 MiB and past the 2176 MiB more its database caches m… (#17764) a6e9305
- Merge remote-tracking branch 'origin/main' into sold/leaf-files-1 5415e77
- The first tab is the first of the list, and files that could not be read are said to be (#17532) 6606625
- Merge remote-tracking branch 'origin/main' into sold/leaf-logs-2 0734f59
- A hold's end always brings the games up, and a failed look at the hold cannot empty a sync's diagnosis (#17761) b19b3da
A machine and a container in the cloud tree get two tabs, Facts and File. File names the file and the lines that declare the thing (
infra.json, or a game box's compose file), links to them, and says whether that agrees with what the forge knows: same, differs, ahead, to add, or not known with the reason. The file's own page gets one line back to what it declares. The same on the web, in the terminal ([and]) and over MCP (infragainsfile).For a forge admin only. Of a compose service's environment, only the names are shown. Nothing is changed and no provider is asked.
Ran on this head: tsc, the gate, and 344 test files (2,553 pass, 1 fail: "the duty's own fetch carries redirect: error" in test/cloud-inventory.test.ts, which passes alone, 33 of 33; it was not run in that group on plain main). Not run: the full suite, and no look in a browser.
Part of #17532.
🤖 Generated with Claude Code