DEVOPS

Zero-Evaluation Dead Flag Detector

Inspects flag evaluation telemetry to find flags that no running code has checked in weeks, confirms they are absent from the repo.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerMonthly schedule triggers sweep
  • ActionPull per-flag evaluation countsPostgreSQLPostgres
  • LogicKeep flags with zero evaluations
  • ActionSearch repo for flag referencesGitHubGitHub
  • LogicSplit orphaned vs still-referenced
  • OutputFile Linear deletion ticketLinearLinear

What it does

Identifies feature flags that are defined in your flag store but have recorded zero evaluations across a long window, meaning no live code path references them anymore. It cross-checks the codebase to confirm the flag key truly has no call sites, then files a deletion ticket.

When to use it

Use it when flags accumulate faster than they get removed and you need evidence-based confirmation that a flag is genuinely dead before deleting its definition.

How it works

  1. 1A schedule triggers the sweep each month.
  2. 2It pulls per-flag evaluation counts from Postgres telemetry for the lookback window.
  3. 3A filter keeps only flags with zero evaluations in that window.
  4. 4For each candidate it searches GitHub for any remaining reference to the flag key.
  5. 5A branch splits flags into truly-orphaned (no code, no evals) versus suspicious (no evals but still referenced).
  6. 6For orphaned flags it opens a Linear deletion ticket; suspicious ones get flagged for manual review.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect GitHubRepos, issues, pull requests, actions.
  3. 3
    Connect LinearIssues, projects, cycles, triage.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.