Hacker

Shashank J

@shashankcodelover

Joined Nov 2026Student at SjceIndia

Elsewhere

Projects

  • FlagRewind — Human-Approved On-Call Incident Triage & Rollback Agent for Flagsmith

    Flagsmith Experimentation HackathonNov 2026

    Problem During production incidents, engineers must manually inspect feature-flag changes, identify the likely cause, determine the previous configuration, and roll back problematic changes. This process is slow and error-prone, especially during high-pressure incidents. Solution FlagRewind is an AI-assisted, human-approved incident triage and rollback agent built for Flagsmith. It automatically monitors application error rates, investigates failures, correlates stack traces with recent feature-flag changes, identifies likely root causes, and generates precise rollback plans. How It Works FlagRewind follows an eight-stage workflow: "Detect → Investigate → Rank Suspects → Plan Inverse → Human Approval → Execute → Verify → Report" It combines a Python-based agent, Flagsmith Admin API, Python SDK, deterministic rule-based ranking, and an optional advisory-only LLM. When error rates exceed 5%, FlagRewind investigates application metrics, error traces, affected user segments, source code, and recent Flagsmith changes. It then generates an inverse configuration plan using the previous flag state. Before any production modification, a human must explicitly approve the proposed action. After execution, FlagRewind verifies recovery through three consecutive monitoring windows and generates Markdown reports and redacted JSONL audit logs. The project also includes a synthetic Acme Checkout FastAPI application and a live read-only incident and benchmark explorer. Target Users On-call SREs, platform engineers, and development teams managing production applications with Flagsmith.