ENGINEERING

Triage and draft a budget-recovery plan when an SLO freeze trips

When a deploy freeze is triggered by budget exhaustion, an agent investigates recent deploys and error patterns, drafts a recovery plan, files a Linear incident issue.

CategoryEngineering
Enginepaperclip
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerFreeze-triggered webhook firesHTTP webhook
  • ActionGather recent GitLab deploys + budget timelineGitLabGitLab
  • LogicAgent reasons about likely cause + recovery path
  • ActionFile Linear incident issue with recovery planLinearLinear
  • OutputPost plan to Slack for on-call approvalSlack

What it does

This workflow adds an investigative agent on top of the freeze gate. When a budget-exhaustion freeze fires, the agent pulls the recent deploy history and error-budget context, reasons about the most likely cause, and drafts a concrete recovery plan (rollback candidate, suspect change, mitigation steps). It files a Linear incident issue with that plan attached and posts a summary to Slack for the on-call engineer to approve or edit.

When to use it

Use this when a raw freeze alert is not enough and you want a first-draft incident writeup and remediation plan ready the moment the gate trips, cutting the time the on-call spends gathering context.

How it works

  1. 1A freeze-triggered webhook fires with the service and burn details.
  2. 2The agent gathers recent GitLab deploys and the error-budget timeline for the service.
  3. 3It reasons over the data to identify the likely culprit and a recovery path.
  4. 4It creates a Linear incident issue containing the drafted recovery plan.
  5. 5It posts the plan summary to Slack and asks the on-call to approve.

Set it up

What you configure once, before turning it on.

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