patchline.dev

Documentation

How Patchline works

Three stages, each with a concrete artifact: provider changes become classified events, events matched against your code become blast-radius reports, and high-confidence matches become test-validated migration PRs. This page walks the pipeline end to end.

1 · Detect: normalize what providers publish

2 · Match: compute your blast radius

Anatomy of a report

Reports are delivered as labeled GitHub issues on the affected repo. This is the actual output of our golden-fixture test (abridged) — the same renderer that produces customer reports:

# Patchline blast-radius report

**Repo:** fixtures/consumer-repos/ts-app
**Scanned:** 2026-08-01T12:00:00.000Z

## Tracked dependencies

| Provider  | Package            | Version | Declared in  |
| stripe    | stripe             | 16.8.0  | package.json |
| openai    | openai             | 4.104.3 | package.json |
| anthropic | @anthropic-ai/sdk  | 0.62.1  | package.json |

## Applicable changes (1 breaking, 1 behavioral, 1 additive)

### ✖ breaking stripe — POST /v1/payment_intents: 3 spec changes (2 breaking)

Confidence 0.90 — surface 'POST /v1/payment_intents' matches 1 call site.
Upstream evidence: stripe/openapi spec3.json

| Call site         | Surface               |
| src/billing.ts:6  | paymentIntents.create |

### + additive anthropic — anthropic-sdk-typescript v0.63.0

Confidence 0.50 — repo uses the anthropic TypeScript SDK (0.62.1).
…

Every claim in a report is traceable: the classification links its upstream evidence, each match names its call site as file:line plus the API surface, and the confidence line states why the score is what it is. File paths and line numbers only — never your code.

3 · Patch: the opt-in migration agent

Onboarding: ten minutes, two decisions

Install the Patchline GitHub App, choose only select repositories, and pick the repos with external API usage — indexing starts automatically, and reports arrive when a relevant upstream change lands. Optionally, add a Slack incoming webhook for a periodic digest (quiet weeks send nothing). The migration agent stays off until you opt a repository in.

Become a design partnerRead the security model