Progressive improvements, unobtrusive DX — autonomous agentic ratchets that open throttled PRs toward a quality goal, one slice at a time.
Each ratchet shares the same operating model:
- Throttled PRs — at most one in-flight ratchet-owned branch per config signature until CI is green and the PR can merge
- Incremental progress — small PRs toward a defined end state, not big-bang refactors
- Signed PR bodies — a config-derived token for dedupe and scheduling
- Agent execution — scheduled CI installs the Cursor Agent CLI and runs the ratchet prompt against your repo
See docs/ratchets.md for the full model.
| Name | Location | Status |
|---|---|---|
| agentic-lint-ratchet | .github/actions/lint-ratchet (RATCHET.md) · docs/lint-ratchet.md |
Available |
| agentic-mutation-testing-ratchet | .github/actions/mutation-testing-ratchet (RATCHET.md) · docs/mutation-testing-ratchet.md |
Available |
agentic-lint-ratchet adds and progressively tightens opinionated linting (Setup → Ratchet phases). Target config: .lint-ratchet.config.yml; branches: lint-ratchet/*.
agentic-mutation-testing-ratchet adds and expands mutation testing (Setup → Ratchet phases). Target config: .mutation-ratchet.config.yml; branches: mutation-ratchet/*.
- Add
.lint-ratchet.config.ymlwithrepo.base_branch(see docs/lint-ratchet.md). - Enable required GitHub Actions permissions.
- Copy the consumer workflow (
docs/examples/lint-ratchet.workflow.yml) into.github/workflows/and setpull_request_workflowsto your CI workflow filenames. - Add
workflow_dispatch+refcheckout to each listed workflow (bot PRs do not trigger normalpull_requestCI).
In the target repository:
Settings → Actions → General → Workflow permissions → enable Allow GitHub Actions to create and approve pull requests.
Without this, the agent cannot open ratchet PRs.
- Add
.mutation-ratchet.config.ymlwithrepo.base_branch(see docs/mutation-testing-ratchet.md). - Enable required GitHub Actions permissions.
- Copy the consumer workflow (
docs/examples/mutation-testing-ratchet.workflow.yml) into.github/workflows/and setpull_request_workflowsto your CI workflow filenames (tests, mutation, coverage). - Add
workflow_dispatch+refcheckout to each listed workflow (bot PRs do not trigger normalpull_requestCI).
- Human / Backstage TechDocs:
docs/(seemkdocs.yml). Published via thebackstage.io/techdocs-refannotation incatalog-info.yaml. - Agents & conventions: See agents.md and .dev/rules/main.md.