Hacker
Farhan Kadhafi Azuansyah
@zentobew
Elsewhere
Projects
TRIPWIRE
Flagsmith Experimentation HackathonNov 2026
TRIPWIRE is a release-safety tool and agent skill built on Flagsmith for Track 2 and Track 4. When a feature flag breaks production, teams usually spend several minutes jumping between error logs and Flagsmith to figure out which flag caused the spike. Letting an AI agent flip production flags on its own is too risky. And once a bad flag is turned off, dead branches and unused flags tend to sit in the codebase forever. Backend engineers, SREs, and teams using coding agents with Flagsmith can use TRIPWIRE to handle both sides of that lifecycle: Incident rollback with human approval (Track 2): Our demo checkout API evaluates live flags through the Flagsmith Node SDK and tracks per-flag error rates over real traffic (always-on flags show "No baseline" instead of a fake delta). When HTTP 500s cross 35%, a Gemini agent inspects the live telemetry, queries Flagsmith's remote MCP server (mcp.flagsmith.com) and v2 version history, and identifies the guilty flag. It stops and waits for a human to click Approve before publishing the Flagsmith v2 rollback. After rollback, it watches the next 10 requests to verify errors return to 0% and generates a Markdown post-mortem. Token-efficient flag cleanup skill (Track 4): In skills/flagsmith-reaper/SKILL.md, we packaged a Flagsmith CLI v2 agent skill that compares live flags against the codebase to find killed flags still in code, orphan flags in Flagsmith, and missing ghost flags. Filtering the CLI output cuts context size by 91.9% compared to dumping raw Flagsmith JSON (~1,685 tokens down to ~136). The archive script defaults to dry-run, blocks archiving any flag still referenced in code, previews the git/test/PR steps, and only runs a non-destructive archive after a merge reference is confirmed.
Tung Tung Sahur@benjamintungs