Keep the runtime-exported trigger schema JSON (world Data/ root, see
triggerSchemaExportPath()) in sync with the current registry. Called from
the GM-gated ready hook in body-mind-and-soul.mjs on every world boot.
Content-diffs against the existing file (ignoring generatedAt, which always
differs) and skips the upload entirely when nothing changed, so a normal
reload doesn't write to disk every time.
Returns Promise<boolean>
true if a new file was uploaded, false if skipped/failed
Keep the runtime-exported trigger schema JSON (world
Data/root, seetriggerSchemaExportPath()) in sync with the current registry. Called from the GM-gatedreadyhook inbody-mind-and-soul.mjson every world boot. Content-diffs against the existing file (ignoringgeneratedAt, which always differs) and skips the upload entirely when nothing changed, so a normal reload doesn't write to disk every time.