Bad config never reaches your users.
$ git clone github.com/mrstrange1708/flagguard $ pnpm install && pnpm demo # Flagsmith + FlagGuard + demo shop
Remote config is code that skips code review.
Teams hand config to PMs, support and now AI agents. Flagsmith's dashboard has a syntax check, but it leaves four gaps.
A warning, not a block
The dashboard asks “Are you sure you wish to save?”, and Save still wins.
Syntax, not meaning
{"max_items": "ten"} is valid JSON. It still crashes the app.
Dashboard only
API, CLI, Terraform, MCP and AI-agent changes skip the check entirely.
Nothing after the save
No rollback, no alert. You find out from your users.
Try it: break the checkout.
This is FlagGuard's real rule engine running in your browser, with the rules file from the repo. Save a bad value, then switch FlagGuard off and save it again.
What FlagGuard does
Pick a value and press Save.
acme.store · what customers see right now
Wireless earbuds × 1₹2,499.00
Max 10 items per order
Pay ₹2,499.00
Everything a team needs to trust remote config
How it plugs into Flagsmith
1 · Write rules
flagguard.rules.json in your repo: one JSON Schema per feature. Reviewed in PRs like code.
2 · Add a webhook
Point each Flagsmith environment's webhook at FlagGuard. Signed with HMAC-SHA256.
3 · Done
Every change, from any source, is checked. Bad ones are rolled back and reported.
Built only on public Flagsmith APIs: environment webhooks, the Admin API, the JS SDK and the Flagsmith CLI. Runs next to self-hosted Flagsmith in Docker.