DEVOPS

Scan code for flags past kill-date and file Linear cleanup tickets

Weekly scans your GitHub repos for feature flags whose kill-date has passed, then opens a Linear ticket for each one with the file locations and owning team.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWeekly schedule fires
  • ActionSearch GitHub repos for flag refs and kill-datesGitHubGitHub
  • LogicKeep flags past kill-date, dedupe by key
  • ActionOpen a Linear issue per expired flag with code linksLinearLinear
  • OutputPost cleanup digest to SlackSlack

What it does

Finds feature flags that should already be gone. It reads kill-dates from flag annotations in your codebase (e.g. `// @kill-date: 2026-03-01`), compares them to today, and creates one Linear issue per expired flag — pre-filled with every file and line where the flag still appears.

When to use it

When flag debt piles up faster than anyone cleans it. Teams add flags for launches and forget them; this gives each stale flag an owner and a ticket instead of letting it rot in `if` branches forever.

How it works

  1. 1A weekly schedule fires the run.
  2. 2The flow searches your GitHub repos for flag references and parses the `@kill-date` annotation on each.
  3. 3A logic step keeps only flags whose kill-date is before today and dedupes by flag key.
  4. 4For each expired flag it gathers the file paths, line numbers, and the team listed in the annotation.
  5. 5It opens a Linear issue per flag, assigned to the owning team, with a removal checklist and code links.
  6. 6It posts a digest to Slack summarizing how many tickets were filed.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  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.