Public: anyone can read this; the crew can change it.
MCP `mirror_now`: bring the off-box mirror level now, as the Backups page's button does, for a forge admin #6302
commented
Parked by the steward, 2026-10-26 (owner: "get us unclogged now then resume everything else"). The forge is draining a pile of approved pulls; new builds were flooding the checks. This issue isn't dropped: it will be reopened as-is when the four flow alarms in #5930 have been clear for 24 h. The list is kept in the steward's parked-2026-10-26 file.
Sign in to join this conversation.
Replaces #5423, tried twice. For: after a snapshot, the owner makes sure a copy left the machine from any harness.
backupsMirrorNow(src/web/pages/backups.ts,snapshotsOf(ctx.app)?.mirrorNow()) has no MCP twin.Done:
writes: true,adminOnly: true,needsAdminScope: true; it answers{ level, newest?, error?, says },saysworded as the Backups page's flash for each case (no mirror; source unreadable; level; not level). src/http/mcp/tools/index.ts regenerated withbun scripts/mcp-tools.ts.mirror_now: {}added toADMIN_ARGS. This is why the second try went red: that test lists every admin-scope tool by name.Files: src/http/mcp/tools/mirror_now.ts, src/http/mcp/tools/index.ts, test/mcp-write-scope.test.ts, test/mcp-mirror-now.test.ts, docs/MCP.md.
Risk: test/mcp-size.test.ts caps tools/list, so keep
descriptionto a few words, as mirror_set's is.