Request access
OverviewQuickstartCLI Reference
Documentation / Self-Repair

Self-Repair

Prototype: locate TypeScript call sites hit by breaking API changes and open a minimal draft pull request for human review.

How it works

When an API you depend on changes, rakshex repair scans your TypeScript codebase for affected call sites, applies the minimal fix, checks compilation with tsc --noEmit, and proposes a draft pull request.

rakshex repair

Self-Repair always stops at a draft PR and waits for a human. It never merges automatically.

Current migration rule: Stripe Endive

Today, Self-Repair ships one migration rule: Stripe API version 2026-09-30.endive, updating card-only Checkout session calls from payment_method_types to allowed_payment_method_types:

- payment_method_types: ["card"],
+ allowed_payment_method_types: ["card"],

Limits

  • Status: prototype with one migration rule today.
  • Verification runs tsc --noEmit only. It is not a sandbox and does not run your test suite.
  • Draft PRs always require human review and manual merge.