QA finding 1. `FileManager.replaceItemAt` copies the *original* item's
metadata onto the replacement unless `.usingNewMetadataOnly` is passed,
so a `settings.json` that arrived from another machine (README D3:
copying the file is a supported way to share the key and the matrix)
kept its permissive mode through every later `SettingsStore.update()` —
with `SecurityKey` in the clear. Pass the option, and set the mode on
the final path afterwards so the guarantee does not depend on which
branch wrote the file.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>