All Docs/Incidents

Incidents

An incident is something broken on shared ground: a failed deploy, a failing check on your tracking branch, a security advisory, or work that landed without a task. Unlike a task, which tracks one piece of planned work, an incident can hold up everyone's changes until it's fixed or settled. Your team's agents pick incidents up by themselves, and DevSpec only calls on a person when one is needed.

Open incidents are on the Incidents tab of Ship → Delivery, which the page opens on whenever one is open. They also show on Project Overview under Blocked or happening right now: as a quiet line while an agent is on them, and highlighted when they need you.

What an incident is

Each incident card names its kind:

  • Deployment failed: a deploy to one of your deployment targets failed, a deploy was followed by a spike of new crashes, or a live service or scheduled job stopped responding.
  • Checks failing: a check is failing on your tracking branch, or the same check is failing across several open pull requests.
  • Security advisory: a high or critical vulnerability in one of your dependencies.
  • Unlinked work: commits or a pull request reached your tracking branch without being linked to a task.
  • Undo requested: a change that landed without its required OK was marked Undo in Review.
  • Reported blocker: someone reported shared breakage, through Dev or an agent, or a pull request that nobody picked up needs someone to decide what happens to it.

While an incident blocks a pull request from landing safely, the pull request shows Blocked by incident on the Waiting to land tab, naming who is handling the incident when someone is, until the break is resolved.

When a failed deploy or outage opens an incident

A Deployment failed incident opens when:

  • A deploy fails. DevSpec first tells the agent whose change was in the deploy, while it's connected, so it can fix its own break while it still has the context. The incident opens when no agent that worked on the deploy is connected, when that follow-through expires without a fix, or when the agent escalates a failure it cannot fix on its own.
  • A deploy is followed by new crashes. With Sentry connected, a brand-new crash that spikes shortly after a deploy, or an error you had resolved coming back, is linked to that deploy. The agents whose work was in the deploy are told first, starting with the one whose files appear in the crash; the incident opens if none is connected or the crash isn't dealt with shortly afterward. Errors you already had, warnings and user feedback never open an incident.
  • A live service or scheduled job stops responding. A Sentry uptime monitor reporting an outage, or a Sentry cron monitor missing its check-in, opens an incident (if it happens right after a deploy, the agent that deployed is told first). This incident clears by itself the moment the monitor recovers or the job checks in again.

A later successful deploy to the same target clears a failed-deploy incident. See Delivery.

When failing checks open an incident

When a check fails on the latest commit of your tracking branch, DevSpec first tells the agent that pushed that commit, while it's connected, so it can fix its own break. If the commit was pushed straight to the tracking branch without a pull request, the agent is also reminded to work on its own branch and open a pull request. A Checks failing incident opens when no such agent is connected, when that follow-through expires and the check remains broken, or when the agent escalates a failure it cannot fix on its own.

A check failing on one pull request is that pull request's business, not an incident. When the same check fails across two or more unrelated open pull requests into the same branch, that points at shared breakage, so it opens an incident.

The incident clears by itself once the check passes, or once the pull request that fixes it merges.

When a security advisory opens an incident

A Security advisory incident opens for a high or critical advisory affecting one of your repository's dependencies, in any language or package ecosystem. DevSpec reads your repository's security alerts on GitHub, which GitHub works out against your default branch, so the incident names the branch the alert was found on. Low and moderate advisories don't open incidents.

If GitHub's alerts aren't available for a repository (they're switched off, or DevSpec hasn't been granted permission to read them), DevSpec checks the repository's list of dependencies against a public advisory database instead. To do that, it sends your dependency names and versions to that public service.

A Dependabot or Renovate pull request that fixes a vulnerability also opens or joins the advisory's incident, and when the incident exists only because of that pull request, it clears when the pull request merges.

To accept a risk, record the advisory in the project's Inventory as accepted, with the reason and what would change the decision. It then shows as accepted rather than as an open incident, even while GitHub's alert stays open. A fixed or dismissed alert on GitHub also clears its incident, and DevSpec never second-guesses GitHub's alert, but dismissing it there keeps no record in DevSpec of why.

When unlinked work opens an incident

When commits land on your tracking branch without being linked to a task, DevSpec gives the agent that made them a heads-up and a one-hour grace period to link the right task before opening an Unlinked work incident. For an open pull request into your tracking branch with unlinked commits, DevSpec also tells the contributing agent first while it is connected, or opens the incident right away if no connected agent for that contributor can take the follow-through (or if that follow-through expires or is escalated). While an Unlinked work incident is open, it holds production releases, until every commit is linked to a task and has cleared its checks.

Routine dependency updates are the exception: a Dependabot or Renovate update that changes only dependency files needs no task and never opens this incident. See Commit tracking.

The five stages of an incident

Every incident on Delivery, Project Overview and in your notifications is in one of five stages, with a short reason beside it saying what is happening right now:

StageWhat you see on the cardWhat it means for you
Nobody's on itNo one has switched on the job job in Agent setup, No switched-on agent is connected or Nothing is working on itNo agent is working on the incident and nothing is queued for it. Either nobody on the project has switched on the job that handles this kind of incident (select the reason to open Checks and background jobs on your Agent setup page), or no agent switched on for it is connected. Switch it on or connect one, or click Discuss to look at it in a session.
Waiting to be picked upSent to agent, Waiting for a free agent or Next in line, behind the fix for a related breakThe incident is queued. Either DevSpec has sent it to a switched-on agent that hasn't taken it yet (if it doesn't within 15 minutes, DevSpec hands it on), it is waiting for one of your team's switched-on agents to finish what it is doing, or a related fix is already under way and this incident waits behind it so two agents don't fix the same break twice. You don't need to start anything.
Picked upBeing worked on by agent, Being checked by DevSpec, Waiting on checks for pull request, Waiting in the merge queue for pull request, or Fix shipped, awaiting live confirmationWork is under way. An agent is investigating or shipping a fix; or, for Unlinked work with no agent available, DevSpec is checking the commits itself; or the fix pull request is waiting on its checks or GitHub's merge queue; or the fix has landed and is marked Non-blocking while the next live deploy or check confirms the break has cleared.
Needs your attentionNeeds your decision or The agent stopped respondingA person is needed now. Either the investigation found a product, design or dependency choice that a person has to make (Needs your decision, with the findings and options on the card), or the agent that took the job stopped answering while no pull request of its was waiting on checks.
ResolvedCleared automatically, Resolved by its handler, Closed by a person or Pull request closed without mergingThe break is fixed, the unlinked commits are linked to their task, or a person settled it. The incident moves to Past on the Incidents tab.

What happens by itself

Incidents are handled out of the box, along with routine dependency updates from Dependabot or Renovate, open pull requests that nobody is waiting on once they've sat untouched for 24 hours, unlinked commits, and Undo requests. You never need to visit Automations or start anything for them.

  • The agent that broke it goes first: before an incident opens, DevSpec tells the agent whose change caused a failed deploy or a failing check, so it can fix its own break. Once an incident opens, its job goes first to that agent if it's switched on for the job and online.
  • Queued one item at a time: otherwise each incident (and each pull request) is queued as its own unit of work for any of your team's switched-on agents that is free.
  • Related breaks wait in line: failing checks on the same branch, or advisories for the same package, wait at Waiting to be picked up behind the fix already under way instead of starting duplicate work. Once the fix lands, DevSpec resolves the incident and refreshes the pull requests it was holding.
  • Automatic handover: if the agent a job was aimed at doesn't pick it up in time, DevSpec hands it on to the next available switched-on agent.
  • Unlinked commits checked even when no agent is online: an available switched-on agent compares the commits with your project's tasks and decisions. If none is available, the card shows Picked up · Being checked by DevSpec while DevSpec checks them itself, linking them to an existing task when they clearly belong to one, or moving the incident to Needs your decision when nothing matches. Neither creates a new task for the commits.
  • Signals clear themselves: an incident whose cause goes away, such as a check that passes, a later successful deploy, a monitor that recovers or an alert that is fixed or dismissed, resolves as Cleared automatically.

What you can do from the incident

Open the Incidents tab on Ship → Delivery. Above the cards, counts such as "1 with nobody on it" and "2 need your attention" show what is waiting for people, and How incidents work links here. Because incident handling starts by itself, each card offers only the controls for stepping in when you want to talk an incident through or hand a stalled job on:

  • Discuss (or Discuss decision when the card is at Needs your decision): opens a session with the incident's details, findings and options ready to talk through. When an agent raised the decision, the card names it, so you can settle it with the agent that did the investigation, bring in another agent or Dev, or decide with your team. Dev or the agent records what you decide and resolves the incident.
  • Hand to another agent: appears only at The agent stopped responding. It hands the job to the next available switched-on agent and skips the one that stopped answering. Project Viewers don't see it.

Each card also shows how long the incident has been open, the pull requests and tasks it is Blocking, the Fix task once there is one, View undo request in Review for an Undo requested incident, and History, the timeline of everything that happened to it.

See past incidents

Choose Past on the Incidents tab to see resolved incidents, newest first. When nothing is open, the tab shows Past on its own. Each past incident shows how it ended, its kind, how long it lasted (Duration), who handled it (Handled by), the Linked fix and what it Unblocked, and you can still Discuss it.

How agents get switched on

Your agents run on your own computer with your own model access, so each person chooses which background jobs their agents may take.

Open your personal Agent setup page and find Checks and background jobs. Each agent tool you've connected (Pi, Claude Code or Antigravity CLI) has a row with a summary such as Off or All jobs · Any model, and a box for each job. The ? beside a job gives its full name and what it does:

  • After-save checks: checks new and edited tasks, decisions, requirements, documents and pull requests for clashes with agreed work, duplicates and records left out of date.
  • Incidents (Built-in incident handling): investigates and fixes failed deployments, failing checks on your tracking branch and security advisories when an incident opens.
  • PR & dependencies (Routine pull-request and dependency follow-through): reviews and lands routine dependency updates from Dependabot and Renovate, and looks into pull requests that nobody is waiting on once they've sat untouched for 24 hours.
  • Unlinked commits (Unlinked-commit attribution): matches commits pushed without a task to the existing task they belong to, or asks for a decision when none fits.
  • Undo: puts back commits on your tracking branch when a change is undone.

Ticking a job lets every model in that tool take it. To allow only some models, open Narrow by model, find a model in the searchable list (newest first), and tick the jobs it may take: ticking a model narrows that job to the models you ticked. Allow any model removes the narrowing. Leave a job unticked and DevSpec never sends that work to that tool. See Your settings and Connect your agent.

When you'll be notified

Delivery and Project Overview keep open incidents visible while an agent works on them, but DevSpec sends a notification only when an incident needs a person, never when an agent picks one up and fixes it on its own:

  • When an incident reaches Needs your attention: as soon as an agent (or DevSpec) moves it to Needs your decision, or when The agent stopped responding.
  • When an incident sits at Nobody's on it for 15 minutes: a break that an agent picks up a moment after it opens never sends an alert.

The notification goes to the people the incident affects (whoever opened it, the authors of the pull requests it blocks, and the people on the tasks it blocks) and to the project's lead and Maintainers. Each person gets one notification per incident under Needs action in the notification bell, updated in place rather than repeated, and by email according to their settings (Deployments → Failures in Settings → Notifications). It updates or clears itself as soon as the incident is picked up or resolved. See Notifications and messages.