DEVOPS

Agentic flag-debt triage that drafts a per-flag removal plan

An agent reviews each 90-day-stale flag, reads its call sites in the repo, judges removal risk, and posts a Confluence removal plan plus a Linear issue routed to the right owner.

CategoryDevOps
Enginepaperclip
Difficultyadvanced
Triggerschedule
Steps7
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerMonthly schedule
  • ActionLoad stale flags with referencesPostgreSQLPostgres
  • ActionAgent reads flag call sitesGitLabGitLab
  • LogicAssess removal risk and draft plan
  • ActionPublish removal plan to ConfluenceConfluenceConfluence
  • ActionCreate owner-assigned Linear issueLinearLinear
  • OutputPost risk-ranked digest to SlackSlack

What it does

Runs an agent over your stale-flag list. For each flag fully rolled out 90+ days, the agent pulls the flag's code references, reasons about removal risk (shared helpers, nested flags, public API exposure), drafts a concrete step-by-step removal plan, and publishes it to Confluence with a linked Linear issue assigned to the owner.

When to use it

Use it when stale flags are non-trivial to remove and a blunt auto-MR would be risky. The agent does the judgment a senior engineer would do at triage, producing a plan a human can execute or approve.

How it works

  1. 1A schedule kicks off the monthly triage.
  2. 2A Postgres query loads stale flags with owners and reference paths.
  3. 3For each flag, the agent reads the relevant GitLab files to understand the call sites.
  4. 4The agent assesses risk and drafts a removal plan with ordered steps and rollback notes.
  5. 5A Confluence action publishes the plan page.
  6. 6A Linear issue is created per flag, linking the plan and assigned to the owner.
  7. 7A Slack digest lists every plan with risk level and links.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect GitLabRepos, MRs, pipelines, registry.
  3. 3
    Connect ConfluenceSpaces, pages, blueprints.
  4. 4
    Connect LinearIssues, projects, cycles, triage.
  5. 5
    Connect SlackChannels, DMs, threads, mentions.
  6. 6
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  7. 7
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  8. 8
    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.