e-volv

Review playbook

Flag Debt Sweep

Removes feature flags e-volv Launch reports as finished, one pull request per flag, each held for review.

Weekly: asks e-volv Launch which feature flags this project has finished with — past their removal date and serving one variant in every environment — then removes each one from the code and opens a pull request per flag, held at an approval gate. Nothing merges unattended, and a flag whose call sites it cannot find becomes a ticket instead of a guess. Set your repository on the Clone step and your Launch API key on the Fetch step after importing.

Identifier
flag-debt-sweep
Version
1.0.0
Steps
5
Triggers
1
  • feature-flags
  • launch
  • cleanup
  • scheduled
  • technical-debt

When it runs

Scheduleschedule.weekly
Schedule
Every Monday at 09:00 UTC 0 9 * * 1
Timezone
UTC

The pipeline

The graph below is the one the workflow opens with in the builder — same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.

  1. 01
    Weekly Schedule (Mon 09:00 UTC)trigger

    The event that starts the run.

  2. 02
    Fetch Flag Debt ⚠️ SET YOUR LAUNCH KEYhttp.request

    Calls an external HTTP endpoint with vault-resolvable headers.

  3. 03
    Clone Repository ⚠️ SET YOUR REPOgit.clone

    Shallow-clones the repository at the right ref.

  4. 04
    Remove Finished Flagsagent.run

    One agent works the task with its toolkit.

  5. 05
    Human Review Before Mergeapproval.gate

    Pauses the run until a human decides.

The agent

Flag Debt Sweeper

Base type
Senior Developer
Temperature
0.1
Max iterations
60
Tools
11

Git provider · 4

  • create_branchCreate Branch · write
  • create_or_update_fileCreate or Update File · write
  • create_pull_requestCreate Pull Request · write
  • create_issue_commentCreate Issue Comment · write

Filesystem · 3

  • read_fileRead File · read
  • edit_fileEdit File · write
  • list_dirList Directory · read

Code search · 1

  • code_searchCode Search · read

Terminal · 1

  • run_terminal_cmdRun Terminal Command · write

Tickets · 1

  • create_ticketCreate Ticket · write

Status · 1

  • update_statusUpdate Status · write