Hacker
DASANAPU MANIDEEP VARMA
@mani1234765
Elsewhere
Projects
RegFlag
Flagsmith Experimentation HackathonNov 2026
RegFlag is a GitHub agent that turns a new rule into safe, human-approved Flagsmith flag changes. The problem: when a new regulation lands, for example "no personalised ads for under-18s in country X", engineers have to guess which of their feature flags are affected and write targeting rules by hand. They usually can't prove it works, and nobody has a record of who approved it. What I built: you paste the rule into a GitHub issue and add the regulation label. An AI reads your Flagsmith flags and proposes a plan. Plain code then checks that plan, rehearses it in the Development environment on test users, and posts an evidence pack in the issue showing who changes and who must not. A required reviewer approves it in GitHub. Only then does RegFlag apply the change to Production, re-check every test user, save an audit entry in the repo, and make it undoable with one command. Why it's safe: the AI can only propose. It cannot approve or apply anything. Approval is tied to a fingerprint of the exact plan, so a changed or stale plan is refused. If a check fails, RegFlag rolls back automatically. Flagsmith does the real work: segments, segment overrides, identities and traits, and the Management and Edge APIs. I ran it live on GitHub Actions and Flagsmith Cloud, and 42 automated tests pass. The demo uses an offline stand-in for the AI step, and Anthropic, Gemini and OpenAI-compatible adapters are included.
Deepverse@mahathi_aishwarya