Public: anyone can read this; the crew can change it.
MCP `mirror_set`: set or forget the off-box mirror of snapshots, with the same rules as the Backups page #5442
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: a second copy of the snapshots, off this machine, is one call from a harness.
saveMirrorandforgetMirror(src/actions/mirror.ts) back the page's mirror form.Done:
mirror_set{ action: "set"|"forget", …the fields saveMirror takes }, admin only. Each refusal is the action's own. The answer is{ place, says }, never a credential.Files: src/http/mcp.ts, docs/MCP.md, test/mcp-mirror-set.test.ts. Risk: never log arguments. #5423 (
mirror_now) can land in either order.Risk: test/mcp-size.test.ts caps tools/list, so keep the description to one short sentence.