> ## Documentation Index
> Fetch the complete documentation index at: https://docs.antimetal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fixes

> Review a proposed fix, run it yourself, or open a PR straight from Antimetal

When an investigation finishes, Antimetal proposes one or more fixes on the **Fixes** tab of the issue. Antimetal does not apply fixes on your behalf. Every fix is reviewed and shipped by an engineer.

<Frame>
  <img src="https://mintcdn.com/antimetal-6e0eb43b/k3oVqyCPybUS8nNr/images/fixes/overview.png?fit=max&auto=format&n=k3oVqyCPybUS8nNr&q=85&s=fa67f8714720d2cbb68210f1ce667f05" alt="Fixes tab on an issue" width="2652" height="1586" data-path="images/fixes/overview.png" />
</Frame>

## What a fix looks like

A fix is one or more steps with rationale — a CLI command, a config change, a code change, or a mix of these.

Every issue produces both an immediate and a comprehensive fix:

| Category          | What it solves                                                                               |
| ----------------- | -------------------------------------------------------------------------------------------- |
| **Immediate**     | The active symptom. Stops the bleeding so the issue isn't compounding while you investigate. |
| **Comprehensive** | The root cause. Prevents the issue from recurring.                                           |

<Frame>
  <img src="https://mintcdn.com/antimetal-6e0eb43b/k3oVqyCPybUS8nNr/images/fixes/immediate.png?fit=max&auto=format&n=k3oVqyCPybUS8nNr&q=85&s=2297da3bd4149cfba92596391b8fa040" alt="Fix detail with rationale, numbered steps, and a CLI snippet" width="2652" height="1610" data-path="images/fixes/immediate.png" />
</Frame>

## Executing a fix yourself

Use the copy button on a code block to grab a snippet and run it from your terminal, admin console, or pipeline. The **Open in** menu at the top of the fix sends the full plan to your coding agent of choice. Antimetal does not run CLI commands or hit provider APIs for you.

## Opening a PR

<Note>
  🧪 **PR creation is experimental.** Engineers are responsible for validating every change before merging. Antimetal will never merge for you.
</Note>

When a fix includes a code change, you can ship it as a PR directly from Antimetal. Before generating the change, Antimetal reads your `AGENTS.md`, `CLAUDE.md`, and any Cursor or Copilot rules files in the repo, alongside its memory of your system and past incidents — so the change follows your team's code style and conventions.

<Warning>
  Antimetal does not run your tests or builds against the fix. Validate the change locally or in CI before merging.
</Warning>

<Frame>
  <img src="https://mintcdn.com/antimetal-6e0eb43b/k3oVqyCPybUS8nNr/images/fixes/diff.png?fit=max&auto=format&n=k3oVqyCPybUS8nNr&q=85&s=81e7362aaf5723cf18b8f1390f1e4895" alt="Side-by-side diff viewer" width="2652" height="1586" data-path="images/fixes/diff.png" />
</Frame>

The action menu gives you two paths: ship the PR (or a draft) straight from Antimetal, or take the diff to your own editor or coding agent.

<Frame>
  <img src="https://mintcdn.com/antimetal-6e0eb43b/k3oVqyCPybUS8nNr/images/fixes/action-menu.png?fit=max&auto=format&n=k3oVqyCPybUS8nNr&q=85&s=e1a937508c50d18d7781792afa81491f" alt="Create PR action menu with Codex, Cursor, Devin, and GitHub Copilot options" width="2652" height="1586" data-path="images/fixes/action-menu.png" />
</Frame>

**Ship from Antimetal**

* **Create PR** opens a pull request on your repo, branching from the default branch. Requires the [GitHub integration](/integrations/github). Once it's open, treat it like any other PR: push more commits, rebase, or rewrite the diff.
* **Create draft PR** does the same as a draft, so reviewers aren't pinged while you tighten things up. Mark it ready when it's where you want it.

**Take it to your editor**

* **Open in Codex / Cursor / Devin / GitHub Copilot** hands the fix and its context off directly so you can keep iterating in your editor.
* **Copy fix as prompt** copies the fix and surrounding context as a prompt you can paste into any IDE or coding agent.

### What an Antimetal PR looks like

* The PR is authored by `antimetal[bot]`, so reviewers can tell at a glance that the change came from an agent.
* Antimetal tags matching `CODEOWNERS` and assigns a directly responsible engineer for the change, picked by scoring each contributor's history with the affected code paths.

<Frame>
  <img src="https://mintcdn.com/antimetal-6e0eb43b/k3oVqyCPybUS8nNr/images/fixes/pr-example.png?fit=max&auto=format&n=k3oVqyCPybUS8nNr&q=85&s=e1ad6348d0ceab2152e86f677fca4aa1" alt="Example Antimetal PR authored by antimetal[bot]" width="2442" height="3131" data-path="images/fixes/pr-example.png" />
</Frame>

### How to respond to an Antimetal PR

When an Antimetal PR lands in your queue, you have four paths:

* **Approve and merge** if the diff is correct as-is.
* **Take it over the line** by adding commits, rebasing, or rewriting parts of the diff before merging.
* **Request changes** if the approach is right but the diff isn't. Leave inline review comments and add any context you have — feedback on what's off or what the agent missed helps Antimetal learn.
* **Close as not relevant** if the underlying issue no longer applies or the agent misread the situation.

<Snippet file="need-help.mdx" />
