DEVOPS

Reconcile orphaned flags between codebase and provider

On a schedule, cross-references flag keys referenced in the GitHub codebase against the flags defined in the provider, then reports orphans both ways.

CategoryDevOps
Enginesim
Difficultyadvanced
Triggerschedule
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSchedule starts the reconciliation
  • ActionSearch the repo for referenced flag keysGitHubGitHub
  • ActionFetch all flags defined in the providerHTTP webhook
  • LogicDiff into defined-but-unused and used-but-undefined
  • OutputPost the categorized drift report to SlackSlack

What it does

Finds the two kinds of flag drift. It searches the GitHub repo for every flag key referenced in code, pulls the full flag list from your provider, and diffs the two sets. Flags defined in the provider but absent from code are dead and safe to archive; flag keys used in code but missing from the provider are landmines that will evaluate to a default. It compiles both lists into one triage report.

When to use it

Use it when you suspect your flag dashboard and your codebase have quietly diverged, especially after big refactors or provider migrations. It is a read-only auditor — it diagnoses drift rather than changing anything.

How it works

  1. 1A schedule starts the reconciliation.
  2. 2GitHub code search collects every flag key referenced across the repo.
  3. 3An HTTP call fetches all flags defined in the provider.
  4. 4A logic step diffs the two sets into defined-but-unused and used-but-undefined buckets.
  5. 5Slack posts a categorized drift report to the triage channel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect HTTP webhookTrigger any URL on agent actions.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  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.