Hacker
Nithesh Kanna S
@iamnithesh
Projects
Flagsmith Incident Replay
Flagsmith Experimentation HackathonNov 2026
I built Incident Replay, a debugging tool for developers running self-hosted Flagsmith. In the demo, a billing import returns HTTP 200 even though an invoice disappears. The fast CSV parser and duplicate checker each work on their own. Turn both on, and the importer silently skips the first invoice. Incident Replay shows which flag combination caused the loss, lets an operator approve a targeted fix, and verifies that the missing invoice was recovered. How does it work? 1. Capture the incident. The import service saves the original CSV, batch ID, evaluated flags, and baseline and current Flagsmith snapshots when reconciliation fails or an operator requests a capture. 2. Prove which flags caused it. Incident Replay uses the official Flagsmith Python SDK offline to rerun the same CSV under all four combinations of the two changed flags. It can also find evidence of loss without an expected-output file. For invoices with distinct IDs, changing row order should preserve the same invoices. Moving the last invoice to the front changes which invoice disappears. Both runs return the same row count, but comparing their IDs exposes the bug. 3. Ask before changing live flags. The Google ADK agent shows the replay evidence and the flag changes that passed. A human chooses whether to approve a repair. Before applying it, the tool rechecks the live environment fingerprint and blocks the change if the configuration has drifted. 4. Verify the recovery. After approval, the agent updates Flagsmith through its Management API and retries the original batch. It then reads back the stored invoice IDs and amounts to confirm that the missing invoice is present and the batch reconciles.