Hacker

chamdom chamdom

@chamdom

Joined Nov 2026Full-stack Developer at AppflowSouth Korea

Projects

  • FlagGate

    Flagsmith Experimentation HackathonNov 2026

    FlagGate lets an AI agent turn a sentence like "roll out new_checkout to 25% of pro users; a/b test checkout_button_color green vs orange 50/50" into a Flagsmith change plan with a diff and an impact preview computed by Flagsmith's own flag engine. Nothing changes until a human signs the exact plan hash. The problem: giving an agent the official Flagsmith MCP server means putting a static Admin key in the agent's config, so the agent can change production flags with no human in the loop. FlagGate removes that. The agent gets a keyless MCP server (fg-mcp, nine tools: read state, plan from a prompt, submit a plan, wait for the result) with no apply or approve tool. A separate gatekeeper is the only process holding the Flagsmith Admin key (encrypted at rest). It applies a plan only with a valid single-use Ed25519 signature over the plan hash, no drift since planning, and an approvable impact preview. Apply, verification, rollback and audit (hash-chained log, `fg audit verify`) all go through it. Who would use it: teams that want AI agents to do the slow part of feature-flag work (segments, splits, overrides, variant weights) while a human keeps control of the irreversible part. How it works: the impact preview applies the plan to a copy of the environment document and evaluates sampled identities before and after with flagsmith-flag-engine (who changes, per-segment membership, guardrails). After apply it re-checks the same identities against the live server with the Flagsmith SDK. In the README demo (25% rollout plus 50/50 A/B test on 200 sampled identities): 105 of 200 identities change, "prediction matched 200/200" after apply, base state restored after rollback. `fg promote` runs a two-proportion z-test on metrics and plans moving the winner to 100%.