DEVOPS

Stale-flag debt to Linear cleanup tickets grouped by owner

Detects feature flags fully rolled out for 90+ days and creates one Linear issue per flag owner listing their stale flags, so cleanup work lands in each team's backlog.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerMonthly schedule
  • ActionQuery stale flags with ownersPostgreSQLPostgres
  • LogicGroup rows by owner
  • ActionCreate Linear cleanup issue per ownerLinearLinear
  • OutputNotify owners in SlackSlack

What it does

Finds feature flags that have been fully rolled out for 90 days or more, groups them by their registered owner, and creates a single Linear issue per owner that itemizes every stale flag they are responsible for, with key, age, and code locations.

When to use it

Use it when you want flag cleanup tracked as real backlog work rather than ad-hoc MRs. Grouping by owner keeps each engineer's queue tidy and gives managers a clean view of who carries the most flag debt.

How it works

  1. 1A schedule triggers the run on the first of each month.
  2. 2A Postgres query returns all flags at 100% rollout older than 90 days, including owner and reference paths.
  3. 3A logic step groups the rows by owner email and skips owners with zero stale flags.
  4. 4For each owner group, a Linear action creates an issue assigned to that owner, titled with the flag count and listing each flag as a checklist item.
  5. 5A Slack DM-style channel post notifies each owner that their cleanup issue is ready, linking the Linear ticket.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  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.