Your rules

You hold the controls.

Every one of these is per repository and enforced in the code that decides what Patchlit does, then checked again on what actually landed. Anything you leave alone keeps the safe default.

Your rules
Protected paths

Real defaults and ceilings. In your dashboard these are saved per repository and enforced before every push, and again on what landed.

A sample fix, 4 files
Handed back to a person
  • src/routes/orders.js2 lines
  • src/billing/invoice.jsprotected
  • db/migrations/004_orders.sql1 lines
  • src/lib/format.js40 lines
Stopped, and said so on the PR: it touches a protected path (invoice.js).
01

Dependency PRs

Which red PRs Patchlit takes on, and whether it asks first.

Which bots count

Choose whose PRs are in scope.

Default: Dependabot, Renovate, Depfu

Opt-in label

A label that brings any other PR into scope, such as a person's.

Default: patchlit-fix

Ask me first

Patchlit waits for the patchlit-go label before it starts a fix.

Default: off
02

Issues

Bug reports, reproduced first and approved by a person.

Switch issues on

Per repository. Reproduction attempts are free; you are counted only when a fix is pushed.

Default: off

Trigger labels

Patchlit looks at an issue only when one of these is added.

Default: ai-fix

Skip labels

Never when one of these is present. Feature requests and questions are better left to people.

9 by default
03

Limits

How big a fix may get before it is handed back.

Attempts per PR

Pushes tried before Patchlit stops.

Up to 3

Files per fix

The most files one fix may touch.

1 to 10

Changed lines per fix

Bigger changes are refused and handed back.

Default 600, up to 2000
04

Safety

Where Patchlit must not go, whatever the model suggests.

Protected paths

Folders and patterns Patchlit must never change, such as src/billing/ or **/*.sql. Always on top of the built-ins.

Always protected: CI config, lockfiles, tests

Secrets in CI

If your workflows use secrets, Patchlit pushes nothing until you allow it for that repository.

Default: not allowed
05

Voice and learning

How much Patchlit says, and how much it learns about you.

Comment style

Post every step, or only the verdict. Refusals are always posted.

Default: every step

Read my conventions

Optionally reads your contributing guide and style config first, refreshed weekly.

Default: off

Set them once, per repository.