DEVOPS

Permanent Flag to Config Promoter

Detects flags that have been toggled on permanently and behave like settings rather than experiments.

CategoryDevOps
Enginesim
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerMonthly audit schedule fires
  • ActionQuery always-on single-variant flagsPostgreSQLPostgres
  • LogicExclude operational kill-switches
  • ActionOpen PR promoting flag to configGitHubGitHub
  • ActionRecord decision in NotionNotionNotion
  • OutputNotify platform team in SlackSlack

What it does

Finds long-lived flags that are effectively permanent configuration (always on, never varied, owned by no active experiment) and promotes them out of the flag system into a typed config file, opening a PR for the migration and recording the decision.

When to use it

Use it when your flag store has filled with flags that are really just on/off settings, inflating flag counts and SDK payloads with toggles no one will ever flip back.

How it works

  1. 1A monthly schedule kicks off the audit.
  2. 2It queries Postgres for flags that are always-on, single-variant, and older than the permanence threshold.
  3. 3A filter excludes flags marked as operational kill-switches.
  4. 4For each candidate it opens a GitHub PR moving the value into a typed config module and removing the flag lookup.
  5. 5It writes a record to a Notion database documenting the promoted flag and its history.
  6. 6It notifies the platform team in Slack with the PR and record links.

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 NotionPages, databases, comments.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    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.