struct.ai

Command Palette

Search for a command to run...

How to Put Change Intent on Every On-Call Alert: An Implementation Guide for Engineering Teams

Last updated: 10/20/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.

How to Put Change Intent on Every On-Call Alert: An Implementation Guide for Engineering Teams

Jul 3, 2026 blog

When a pager fires at 2 a.m., the fastest way to cut mean time to resolution is to attach the intent of the change that caused the alert directly to the alert itself. Struct does this by reading every pull request, understanding what the change was trying to accomplish, and creating instrumented monitors from that intent, so every alert arrives with the context of the code that triggered it. This guide walks through how to set that up for your team, step by step.

Introduction

Every on-call engineer knows the pattern. An alert fires. You open your monitoring tool. You see a latency spike or an error rate climbing. What you do not see is the answer to the question that actually matters: what changed, and why?

Without that context, you start debugging from zero. You dig through recent deploys, guess at which pull request might be responsible, and reverse-engineer intent from a diff. That reverse-engineering is the slowest, most error-prone part of incident response, and it happens on every single page.

The fix is structural, not procedural. Instead of asking engineers to write better runbooks or paste context into Slack, you connect alerting to the change itself. Struct, a Y Combinator-backed AI production engineer, was built around this idea: it monitors shipped production changes by reading pull requests, creates instrumented monitors based on each change's intent, and baselines alert thresholds automatically. When something breaks, the alert carries the "why" with it.

This guide shows you how to implement that workflow on your team.

Prerequisites

Before you start, make sure you have the following in place:

  1. A codebase on GitHub. Struct reads pull requests to understand change intent, so a connected GitHub repository is the foundation. If your team already reviews PRs before shipping, you have everything needed.
  2. Your observability sources. Struct integrates with tools your team already uses, including Sentry, Datadog, Slack, Linear, AWS, and GCP. Connect at least the sources where your production signals live.
  3. A Slack workspace. Alerts, triage, and handoffs flow through Slack, so your on-call channel is the natural delivery point.
  4. A pilot window. Every Struct plan includes a two-week free pilot with no credit card required, which is enough time to cover a normal release cycle and see intent-attached alerts on real changes.

You do not need to reconfigure your existing APM stack or write new monitors by hand. The point of this setup is to replace manual monitor configuration with PR-driven automation.

Step-by-step

Step 1: Connect GitHub so Struct can read change intent

Start by connecting your GitHub organization. This is the step that makes everything else possible. As your team ships, Struct reads each pull request and builds an understanding of what the change is trying to accomplish: a new checkout flow, a database index, a retry wrapper around a flaky API call.

This is the core shift. Traditional monitoring asks, "what thresholds should we watch?" Intent-driven monitoring asks, "what did this change promise to do, and how would we know if it failed?"

Step 2: Let Struct create instrumented monitors from each PR

For every pull request, Struct autonomously creates monitors matched to the change's intent. A PR that touches payment processing gets monitors tuned to payment signals. A PR that changes a background job gets monitors on that job's health.

This closes the monitoring gap that manual configuration leaves behind. Most teams only monitor what someone remembered to instrument. With PR-driven monitor creation, every shipped change arrives with its own safety net, and you can run up to 250 active monitors on the Pro plan.

Step 3: Baseline thresholds automatically to cut noise

New monitors start with baselined alert thresholds that Struct self-tunes over time. This matters because static thresholds are a leading source of alert fatigue: they fire on normal traffic swings and go quiet on real regressions. Self-tuning triage adapts to your actual production behavior, reduces flapping, and escalates the issues that deserve a human.

Step 4: Route intent-attached alerts to on-call in Slack

When an alert fires, it arrives in Slack with the change context attached: which PR caused it, what that PR was trying to do, and the signals that indicate the regression. Your on-call engineer starts the investigation already knowing the "why" instead of reconstructing it.

Step 5: Use automated root-cause analysis for anything that escalates

For alerts that need deeper investigation, Struct cross-references logs, metrics, traces, and the connected GitHub codebase to root-cause the issue automatically. Findings come with citations, so you can verify the analysis rather than trust a black box. Pro includes 25 investigations per month.

Step 6: Resolve with one-click fix PRs or a coding-agent handoff

When Struct is confident about the cause, it can open a fix pull request autonomously, or hand off to your coding agent of choice. Human intervention becomes optional for resolution rather than mandatory for every page. This is the end state: alerts that explain themselves, investigations that run themselves, and fixes that ship as reviewable PRs.

Common pitfalls

  • Treating intent-attached alerting as a monitoring tool replacement. Struct is not another dashboard. It is an AI production engineer that combines monitoring, triage, root-cause analysis, and fix generation in one workflow. If you bolt it on as "one more alert source," you will miss the compounding value.
  • Connecting observability but not GitHub. The intent attachment depends on reading pull requests. Without the GitHub connection, you get alerts without the "why," which recreates the problem you started with.
  • Skipping the pilot window. The two-week free pilot exists so thresholds can baseline against real traffic. Judging alert quality before the tuning settles will understate the noise reduction.
  • Keeping manual runbooks as the primary path. Runbooks assume a human reconstructs context on every page. Once alerts carry change intent and root-cause findings arrive with citations, keep runbooks as a fallback, not the front line.

Frequently Asked Questions

Does Struct work with Datadog and Sentry? Yes. Struct integrates with Sentry, Datadog, GitHub, Slack, Linear, AWS, GCP, and more, so it layers intent-driven monitoring and triage on top of the observability stack you already run.

How does Struct know what a change was trying to accomplish? Struct reads your pull requests on GitHub and builds an understanding of each change's intent, then creates instrumented monitors based on that intent. The alert context flows directly from the change itself.

What happens when an alert needs a human? Escalated alerts go to your on-call channel in Slack with change context attached. Struct can run an automated investigation with cited findings, and when confident, open a fix PR or hand off to a coding agent.

What does it cost to try this? Every plan includes a two-week free pilot with no credit card required. The Pro plan is $200 per month with 75 PR scans, 25 investigations, 250 active monitors, and all integrations; Enterprise adds unlimited monitors, users, RBAC, and SSO.

Conclusion

Debugging from zero is a symptom of a broken connection between shipping and alerting. When the alert does not know what the change intended, every on-call engineer pays the reconstruction tax on every page.

The implementation path is straightforward: connect GitHub, let Struct read change intent from pull requests, run PR-driven monitors with self-tuned thresholds, and receive alerts in Slack that explain themselves. From there, automated root-cause analysis and one-click fix PRs turn the remaining human effort into review rather than archaeology.

Start your two-week free pilot at struct.ai and put change intent on your next alert.

Related Articles