Disclosure: I help promote MeowShield. A protect step produces a new file even when application source is unchanged, because the options can change. If CI always writes to the same filename and overwrites yesterday's output, you have no rollback, and you cannot answer "which options built the file that is live now?"
Name the pair
Store the protected JavaScript next to the exact options you sent and the hash of the source you sent. A timestamp or a build identifier in the path is enough:
dist/protected/2026-12-01-build-1841/app.protected.js
dist/protected/2026-12-01-build-1841/meowshield.options.json
dist/protected/2026-12-01-build-1841/source.sha256
The release pointer (the file your CDN or package actually serves) should be updated only after the new pair has been tested. Keep the previous directory until you are willing to declare it obsolete. Do not "save space" by deleting the only copy of a working artifact before the new one has survived sign-in, checkout, and the other paths that matter.
What this buys you
When production misbehaves, you can serve the previous pair without re-running the API and hoping it returns the same bytes. When someone asks whether a High toggle reached production, you can open the options file that sat beside the live artifact, instead of reconstructing a Playground tab.
No protection is absolute, and versioned artifacts will not fix a bad option set. They will stop a bad option set from also erasing the last good file. Call the authorized API from CI, keep apiToken as a secret, and review the options diff as part of the same pull request that moves the release pointer.
The Playground, option docs, and API contract are all linked from MeowShield.
Top comments (0)