
Hacker
ragavan P
@ragavan
Elsewhere
Projects
FlagShield — Test Before You Toggle
Flagsmith Experimentation HackathonNov 2026
Demo videos: Original FlagShield implementation (Track 03): https://youtu.be/ibg59rIdHzc Enhanced FlagShield implementation (Track 02 and Track 03): https://youtu.be/yX1AL2mkxpY Final enhanced implementation for Track 02 and Track 03: Branch: hackathon-extensions https://github.com/ragavanasde/flagshield/tree/hackathon-extensions Please evaluate this branch for the final hackathon submission. The enhanced demonstration includes Agent Skill integration, explicit human approval, data pipeline regression testing and independent Sandbox restoration verification.Feature flags reduce deployment risk, but individually safe features can introduce unexpected regressions when enabled together. Traditional testing and HTTP status monitoring may miss these interactions, potentially causing incorrect business behavior and financial losses. I built FlagShield, an open-source release safety tool that helps developers, QA engineers, and DevOps teams detect feature flag interaction regressions before releasing software. FlagShield automatically discovers Boolean feature flags from a self-hosted Flagsmith instance, generates their possible configurations, temporarily applies each configuration inside a verified Sandbox, executes real application requests, and validates responses against independent business assertions. In the checkout demonstration, FlagShield tested all eight configurations of three feature flags, detected two intentionally seeded double-discount regressions despite successful HTTP 200 responses, and identified the interaction between Checkout V2 and Smart Discount as the strongest observed failure pattern. It achieved 100% selected configuration coverage, generated a BLOCK release recommendation, and restored and verified the original Sandbox states without modifying Production. FlagShield provides an interactive dashboard, ranked interaction evidence, exportable JSON reports, and reusable application test profiles. The goal is to turn feature flag releases from assumption-based decisions into evidence-based decisions. FlagShield — Test Before You Toggle. Feature flags reduce deployment risk, but individually safe flags can silently break business logic when enabled together. Traditional testing and HTTP status monitoring may miss these interactions. I built FlagShield, an open-source release-safety toolkit for developers, QA engineers, DevOps teams and data engineers. FlagShield integrates with self-hosted Flagsmith to discover Boolean feature flags, generate selected flag configurations, execute real application requests and validate business outcomes using independent assertions. It demonstrates two practical use cases: 1. Checkout regression testing: Detects intentionally seeded double-discount defects despite successful HTTP 200 responses. 2. Data pipeline regression testing: Detects intentionally seeded deduplication defects that remove valid record updates and produce incorrect account states. FlagShield also provides an Agent Skill integrated with the official Flagsmith CLI. The agent performs read-only discovery and prepares an execution plan. Flag mutations require explicit, short-lived, single-use human approval bound to the exact execution scope. Execution is restricted to a verified Sandbox. Original feature states are restored and independently verified using the backend and official Flagsmith CLI. FlagShield provides an interactive dashboard, configuration coverage, ranked interaction evidence, PASS or BLOCK recommendations, structured JSON reports and reusable application profiles. Verified development results include 136 passing automated tests and 24 live configurations, with 20 passing configurations, four intentionally seeded regressions detected and zero infrastructure errors. FlagShield transforms feature flag releases from assumption-based decisions into reproducible, evidence-based decisions. FlagShield — Test Before You Toggle.