ENGINEERING
Flag Reaches 100%, Auto-Draft Removal PR
Listens for a rollout-completed webhook from your flag platform, waits out a configurable bake period.
How it runs
The automated pipeline, trigger to output.
- TriggerRollout-completed webhook receivedHTTP webhook
- LogicConfirm 100% and set bake deadline
- ActionRe-fetch flag state to confirm stabilityPostgres
- ActionSearch repo for flag referencesGitHub
- ActionGenerate flag-removal diffOpenAI
- OutputOpen draft removal PRGitHub
What it does
Reacts the instant a flag hits full rollout rather than waiting for a nightly sweep. When a flag completes its ramp, it schedules a bake check and, if the flag stays at 100% with no errors, drafts the removal PR immediately.
When to use it
Use it when your flag platform emits rollout-completion webhooks and you want cleanup PRs queued event-by-event instead of in a batch. Ideal for high-velocity teams that flip many flags a week.
How it works
- 1The flag platform posts a rollout-completed webhook to the workflow.
- 2A logic step confirms the payload reports 100% and records the bake deadline.
- 3After the bake period, re-fetch flag state from Postgres to confirm it never regressed or threw kill-switch events.
- 4If stable, search GitHub for the flag's references.
- 5Generate the flag-removal diff with OpenAI.
- 6Open a draft PR with the cleanup changes and a link back to the rollout record.
Set it up
What you configure once, before turning it on.
- 1Connect HTTP webhookTrigger any URL on agent actions.
- 2Connect PostgresAny Postgres URL — query, write, migrate.
- 3Connect GitHubRepos, issues, pull requests, actions.
- 4Connect OpenAIModels, embeddings, files.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Engineering workflows
Agent reviews model-license fit and suggests compliant swaps on the PR
When a PR adds a Hugging Face model, an agent reads the model card and license, judges fit against your commercial-use policy.
Block PRs that add incompatible Hugging Face model licenses
When a pull request adds or bumps a Hugging Face model dependency, it fetches the model card license, checks it against your org's allowed-license policy.
Quarterly Logging Hygiene Audit Agent
An agent-driven quarterly sweep that surveys all Axiom datasets, builds a logging-hygiene scorecard per service.
Post-Merge Log Volume Recheck After Downsampling PR
After a log-level PR merges, waits a day then re-queries Axiom to confirm the targeted stream's volume actually dropped.
Axiom Ingest Cost Spike to Linear Triage Ticket
When Axiom ingest volume spikes beyond its baseline, identifies which service caused it and files a Linear ticket with the offending log stream, sample lines, and a downsampling…
File a Linear license-review ticket for risky model adds
When a PR introduces a Hugging Face model with a non-permissive or unknown license, it opens a Linear issue assigned to the legal-review team with the model, license.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
