DEVOPS

ChatOps On-Demand Feature-Flag Removal

Lets an engineer request removal of a named flag from Slack; the agent verifies it is past sunset and carries no live traffic, then opens a removal PR or explains why it refused.

CategoryDevOps
EngineSim + Paperclip
Difficultyadvanced
Triggerchat
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerEngineer requests removal in SlackSlack
  • ActionLook up flag in Postgres registryPostgreSQLPostgres
  • ActionCheck live traffic in DatadogDatadogDatadog
  • LogicProceed only if past sunset and cold
  • ActionOpen scoped removal PR in GitHubGitHubGitHub
  • OutputReply in Slack with PR link or reasonSlack

What it does

Turns flag removal into a one-line Slack command. An engineer names a flag, and the agent independently verifies the flag is safe to remove before opening a PR. If it isn't safe, the agent says so and explains why, so removals stay deliberate.

When to use it

Use it when engineers want to retire a specific flag the moment they remember it, without waiting for the nightly sweep or hand-writing the PR.

How it works

  1. 1An engineer triggers the workflow from Slack with the flag name.
  2. 2The agent looks up the flag in the Postgres registry to confirm it exists and read its sunset date.
  3. 3It checks recent evaluation metrics in Datadog to confirm the flag carries no live traffic.
  4. 4A logic gate proceeds only if the flag is both past sunset and cold; otherwise it stops with a reason.
  5. 5On approval the agent opens a GitHub removal PR scoped to that flag.
  6. 6A Slack reply returns either the PR link or the explanation for the refusal.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SlackChannels, DMs, threads, mentions.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect DatadogMetrics, traces, log search.
  4. 4
    Connect GitHubRepos, issues, pull requests, actions.
  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.