# Departures from Renovate

> Where Count Patchula differs from Renovate in ways a Renovate user would trip over: config, defaults, missing features and PR behaviour.

The Count is an independent project, not a Renovate clone, and he does many things his own way. This page lists only the differences a Renovate user is likely to trip over: defaults that differ, features they would expect that are missing, and behaviour that changes their pull requests. The [compatibility matrix](https://count-patchula.sweepy.dev/renovate/compatibility/) maps managers and options, and [migrating a config](https://count-patchula.sweepy.dev/renovate/migrating/) translates a `renovate.json`.

## Configuration

### Pkl, not JSON

- **Renovate:** JSON or JSON5, with named presets, `local>` references and config migration
- **The Count:** Pkl only, with a typed schema; unknown fields are errors. Configs are shared with ordinary Pkl `amends` and `import` of local files, with no remote imports
- **Why:** Typed, composable config that is validated when it loads, without network access

### No presets; explicit defaults

- **Renovate:** Most of a typical config comes from presets such as `config:recommended`
- **The Count:** No presets. The schema’s defaults are exact versions, except that Cargo, `pyproject.toml`, Bundler and Composer default to `preserve` (a release a range already allows moves the committed lockfile and leaves the manifest alone), digest pins for actions and images, manual merges, one PR per update (a Pkl package [shares one](#pkl-repository-groups) with its repository’s other dependencies), release notes, a dependency label and a semantic commit prefix
- **Why:** Every default is visible in the schema, so a config says exactly what it changes

### Pkl packages group with their repository

- **Renovate:** Nothing is grouped without a rule or preset
- **The Count:** A Pkl package and the other dependencies its GitHub repository ships, such as the `hk` mise tool and hk’s Pkl package, share the group `owner/repo` and the branch `patchula/jdx-hk`, unless something sets a group for them; `group = ""` keeps them apart
- **Why:** The package describes the tool’s configuration at the tool’s version, so moving one without the other breaks the build

See [Pkl](https://count-patchula.sweepy.dev/guide/managers/#pkl-packages-move-with-their-repositorys-other-dependencies).

### Default excluded paths

- **Renovate:** `ignorePaths` defaults to `node_modules` and `bower_components`; `vendor`, test and example directories are ignored only by the `config:recommended` preset. A repository’s `ignorePaths` replaces the list
- **The Count:** `exclude` defaults to `node_modules`, `bower_components`, `vendor`, `.git`, `test`, `tests`, `__tests__`, `__fixtures__`, `fixtures` and `examples` at any depth. Amending adds to the defaults and a `!` entry re-includes a path; assigning a new Listing replaces them
- **Why:** With no preset layer, the defaults carry what a recommended setup ignores; test data and examples hold manifests nobody deploys

### Prefixed patterns

- **Renovate:** Match fields accept either a slash-delimited regex or a glob
- **The Count:** A pattern is a glob unless it starts with `regex:` (`glob:` may be written too), optionally negated with `!`; globs are path-aware
- **Why:** No guessing from delimiters, and literal slashes in package names stay literal

### Rules replace lists

- **Renovate:** `packageRules` merge, so a later rule adds to an earlier rule’s lists
- **The Count:** `rules` apply in order and a later rule replaces whole values, lists included. An empty `group` means separate PRs
- **Why:** A smaller, explicit policy model: the last rule that sets a value wins

### One extractor model

- **Renovate:** Regex custom managers with `currentValue` and `depName` captures and Handlebars templates
- **The Count:** Pkl `extractors` with `current`, `source` and `dependency` captures and plain `{capture}` substitution, in Rust regex syntax, which has no lookaround
- **Why:** One validated model with no executable template helpers

### Schedules are cron windows

- **Renovate:** Natural-language or cron `schedule` with a `timezone`, and duration strings
- **The Count:** `waitHours` plus cron `windows` with a named time zone; a window is due on the first run after it opens. Empty windows mean any time
- **Why:** A mistyped schedule is an error when the config loads, instead of a window that never opens

### Zero is not unlimited

- **Renovate:** `0` means unlimited for limits such as `prConcurrentLimit`
- **The Count:** `concurrent` is 10 by default and `perHour` is unlimited, `null` lifts a limit, and zero is rejected
- **Why:** Zero meaning “unlimited” is easy to set by accident

### Branch and commit names

- **Renovate:** `renovate/` branch prefix; `semanticCommits` switches the commit style
- **The Count:** `patchula/` branch prefix and a `chore(deps):` commit prefix (`fix(deps):` for security fixes, so release tooling ships them), both overridable
- **Why:** His own identity and predictable messages

## How the Count runs

### No onboarding pull requests

- **Renovate:** Opens an onboarding PR in a repository without a config
- **The Count:** Skips repositories without a config. In a local checkout with no config, the CLI offers its defaults or a starter `patchula.pkl` at a terminal, and `--default-config` uses the defaults without asking
- **Why:** Repositories opt in deliberately

### Composer VCS repositories are not read

- **Renovate:** Looks a package from a `vcs` or forge repository up in its Git tags
- **The Count:** Reads Composer repositories, path and inline repositories itself, but not VCS or artifact repositories: a package Composer would look for in one fails its lookup, unless `composer.lock` records it from a Composer registry or an `only` or `exclude` filter keeps the repository away from it. See [package registries](https://count-patchula.sweepy.dev/guide/sources/#package-registries)
- **Why:** A VCS repository serves whatever package its `composer.json` names, so the Count cannot tell which packages it shadows without reading its Git history, which he does not do yet

### The first Maven repository that lists an artifact answers

- **Renovate:** Queries every repository a POM, `settings.xml` or Gradle script names and merges what they list
- **The Count:** Tries the repositories in the order Maven or Gradle does and takes the versions of the first that lists the artifact; one that refuses the request fails the lookup instead of passing it on. Gradle build logic that adds repositories outside the settings, build scripts and the scripts they apply (convention plugins, `afterEvaluate`) fails every lookup of that build. See [package registries](https://count-patchula.sweepy.dev/guide/sources/#package-registries)
- **Why:** Merging lists, or passing over a repository that refused, can propose a public artifact that shadows a private one of the same coordinates; and the Count reads build logic without running it

### Registry credentials are operator settings

- **Renovate:** `hostRules` in the repository config, with secrets encrypted for the app or passed in by the self-hosted runner
- **The Count:** [`registries`](https://count-patchula.sweepy.dev/guide/sources/#private-registries) in the operator settings file, keyed by URL prefix, with secrets from environment variables or files. A repository config cannot name a credential or a host to send one to — and a repository that commits one anyway, as an explicit credential setting a tool or lookup reads (auth keys in `.npmrc`, `.yarnrc.yml`, `bunfig.toml`, `pnpm-workspace.yaml`, `composer.json`, `nuget.config`, `poetry.toml`, `pyproject.toml` or `.cargo/config`, or a user **and** password in a field that names a registry URL), is refused outright as hygiene: no lookups, no branches. Credentials cover registry reads, version lookups and image manifest and SBOM reads alike, for the sources that take a registry URL. Lockfile tools get an entry’s credentials only when it sets `tools = true`, and any repository given them can fetch through them by naming that registry
- **Why:** One server serves many organisations, and a repository config can point a dependency at any URL

### Packages come from their lockfile

- **Renovate:** Looks a Python package up in every index the project names, `--extra-index-url` included, and a gem in the sources its Gemfile names
- **The Count:** Takes each Python package’s index from what `uv.lock`, `poetry.lock` or `pylock.toml` records (for a project PDM locks, from the indexes PDM searches, since `pdm.lock` records none), and each gem’s source from `Gemfile.lock`, or from a Gemfile made only of a few plain forms. A package neither settles fails its lookup, with a message to commit a lockfile, in a project that configures any registry besides the public one, or whose settings the Count does not know; for gems, that includes a Gemfile line such as a condition or a `git_source`. A PHP package’s registry also comes from `composer.lock` when it records one, before the repositories `composer.json` lists. See [package registries](https://count-patchula.sweepy.dev/guide/sources/#package-registries)
- **Why:** With several registries, the same name can be a private package in one and anyone’s package on the public one. The lockfile is the tool’s own answer; a Gemfile is Ruby, and uv and Poetry pick indexes by rules the Count has not reproduced, so a guess there is how dependency confusion happens

### pip requirements files are not maintained

- **Renovate:** Updates `requirements.txt` and `pip-compile` inputs, looking packages up in the indexes their options name
- **The Count:** Does not read them. Each pip requirements file is listed as skipped with the reason, recommending a move to uv (`uv init --bare`, then `uv add -r requirements.txt`), whose `pyproject.toml` and `uv.lock` it maintains
- **Why:** pip takes each package from whatever index a file’s options, the files it includes and the environment name, which cannot be settled for certain from the repository; a guess could propose someone else’s package of the same name

### A run that lost a race exits 5

- **Renovate:** A repository that changes during a run is retried on a later run, and the run itself succeeds
- **The Count:** The repository is reported `stale`, the server runs it again a minute later, and `patchula run` exits 5, so a scheduled GitHub Actions run fails its step
- **Why:** A run that wrote nothing should not look green; the next scheduled run retries it

See [GitHub Actions](https://count-patchula.sweepy.dev/guide/github-actions/).

## What gets updated

### Indirect Go requirements

- **Renovate:** Indirect requirements are off by default
- **The Count:** Every explicit `go.mod` requirement is maintained, indirect ones included
- **Why:** A security fix should not wait for a direct dependency to move

### mise tools

- **Renovate:** Looks each tool up through its backend’s datasource, under the backend’s package name
- **The Count:** Asks the pinned mise to list each tool (`mise ls-remote --json --prerelease`) in a sandbox, and reports the tool’s own name as its package with the source `mise`
- **Why:** Every backend mise can list works, with mise’s own registry and version rules

Rules and branch names use the tool’s name: `jq`, not `jqlang/jq`, and `patchula/jq-1.x`. A tool’s options travel with it in brackets, so its package is `rust[profile="minimal"]` for `rust = { version = "1.100.0", profile = "minimal" }`; a rule’s `packages` selects it by the bare name, `rust`. `asdf:` and `vfox:` tools, and registry names that only have a plugin backend, are refused with a warning, because their plugins are code from the repository being read. See [mise lookups](https://count-patchula.sweepy.dev/guide/sources/#mise-lookups).

As a GitHub App, the Count hands mise a read-only token scoped to the repository being read, not the installation’s token. A tool released from another private repository the App can read, such as `github:your-org/internal-cli`, is not found from a different repository, where Renovate’s installation token would list it.

### Nix flake inputs

- **Renovate:** The `nix` manager is beta and off by default
- **The Count:** `nix` is on by default; it reads `flake.lock` beside a `flake.nix` and resolves each input with `nix flake prefetch`
- **Why:** Locking runs no repository code, so there is no reason to keep it opt-in

See [Nix](https://count-patchula.sweepy.dev/guide/managers/#nix).

### Generated Flux bundles move as one piece

- **Renovate:** Regenerates `gotk-components.yaml` for a new Flux release from the `# Components:` header; the controller images in it update on their own wherever a manager such as `kubernetes` is configured to read the file
- **The Count:** The images in a generated bundle never update on their own, security fixes included; only a new Flux release moves them, by regenerating the bundle. A bundle that `flux install --export` at its own release doesn’t reproduce is blocked rather than regenerated
- **Why:** A controller from a newer release can need CRDs the old bundle doesn’t serve, and the header doesn’t record install options such as `--registry`, which a regeneration would silently drop

See [generated Flux bundles](https://count-patchula.sweepy.dev/guide/managers/#flux-bundles).

### Copier templates are reported, not applied

- **Renovate:** Runs `copier update` to move a template to its new tag, with `--trust` when allowed
- **The Count:** Reports the new tag and opens no PR. Copier runs only on your own working tree, with your own `copier`, when you ask for it in the TUI or with `patchula apply --copier`, and never with `--trust`
- **Why:** Applying a template runs the template author’s code at a new, unreviewed version; on the server that code would run next to the installation token and other repositories

The Count never bumps `_commit` on its own either, since the next `copier update` would diff from the wrong base. See [Copier](https://count-patchula.sweepy.dev/guide/managers/#copier).

### A 24-hour release-age wait

- **Renovate:** `minimumReleaseAge` is off by default
- **The Count:** `waitHours` is 24 by default for dated releases; the newest eligible release is proposed and newer ones are reported as held back
- **Why:** It follows mise’s default `minimum_release_age`; undated releases have no wait

See [the release-age wait](https://count-patchula.sweepy.dev/guide/lookup-policy/#the-release-age-wait).

### The wait binds what Cargo locks

- **Renovate:** `minimumReleaseAge` checks only the dependency it updates; what the lockfile gains in the same run is not age-checked
- **The Count:** tells Cargo `registry.global-min-publish-age`, so every release a Cargo update or maintenance resolve newly locks — dependencies it names and transitive crates alike — has waited as long
- **Why:** Holding the named dependency while Cargo locks a newer release of something else quietly defeats the wait; a `security.apply` fix inside the window alone runs `resolver.incompatible-publish-age = "allow"`

See [Cargo’s cooldown](https://count-patchula.sweepy.dev/guide/lookup-policy/#cargos-cooldown). Rust older than 1.100 does not understand the keys; the run warns that transitive crates do not wait.

### Exact npm versions

- **Renovate:** `rangeStrategy` defaults to `auto`, which keeps a caret or tilde range and updates only the lockfile when the new version satisfies it
- **The Count:** `versions = "exact"` pins dependencies and devDependencies; peer ranges are widened, never pinned
- **Why:** Reproducible installs, while consumers keep the peer ranges they support

See [version policies](https://count-patchula.sweepy.dev/guide/versioning/#version-policies).

### A separate patch track

- **Renovate:** Proposes the highest non-major release
- **The Count:** Offers a patch update alongside the minor one
- **Why:** The smaller upgrade can be taken on its own

### Prerelease image tags

- **Renovate:** Docker versioning reads everything after the number as a compatibility suffix, so `0.12.0-rc.1` only moves to other `-rc.1` tags, such as `0.13.0-rc.1`, and never to `0.12.0`
- **The Count:** A suffix that starts with `-rc`, `-alpha`, `-beta`, `-pre` or `-preview` is a prerelease, and only the rest of the suffix is kept: `0.12.0-rc.1` moves to `0.12.0-rc.2` and then `0.12.0`, `1.0.0-rc.1-alpine` to `1.0.0-alpine`. A stable tag is never offered a prerelease tag
- **Why:** Someone running a release candidate wants the next candidate and then the release, the same as for any other prerelease

### Stable releases, not LTS

- **Renovate:** Node targets follow the LTS line
- **The Count:** Proposes the newest eligible stable version the policy allows
- **Why:** A hidden LTS restriction should not be inferred from a package name

For an opt-in LTS rule, see [lookup policy](https://count-patchula.sweepy.dev/guide/lookup-policy/#release-channels).

### Warnings when auto-merge has nothing behind it

- **Renovate:** Automerges as configured, whatever CI the repository has
- **The Count:** Warns on PRs set to merge, and on the dashboard, only on positive evidence: no CI runs on the PR and no checks reported on recent default-branch commits; GitHub’s native auto-merge is on and no status check is required; or a security fix merges, nothing runs on the default branch for its files and no checks reported on recent commits. What he can’t read is unknown and never warns
- **Why:** An update that merges untested, or merges and never ships, is worse than one left open

See [tooling warnings](https://count-patchula.sweepy.dev/guide/auto-merge/#tooling-warnings).

### Tool versions in action inputs are not updated

- **Renovate:** Reads the version inputs of a built-in list of about 85 actions, such as `node-version` on `actions/setup-node` and `version` on `jdx/mise-action`, and updates them
- **The Count:** Reads no action’s inputs. Each literal `version`, `*-version` or `*_version` input is [listed as skipped](https://count-patchula.sweepy.dev/guide/managers/#version-inputs) with what to do instead: keep the version in `.tool-versions` or the tool’s own version file and pass that file to the action’s version-file input
- **Why:** What an input means is up to each action, and a hard-coded list covers some actions and silently misses the rest. A version file is one place the Count already keeps current, shared with local development

### No new step-level SHA pins in locked workflows

- **Renovate:** `pinDigests` pins every action reference to a commit SHA
- **The Count:** In a workflow `.github/workflows/actions.lock` lists, he adds no *new* SHA pin to a step’s `uses:` — the lockfile records the commit itself, so `gh actions-lock` would treat his pin as something to unpin. An existing pin still moves with its update, `jobs.<id>.uses` reusable workflows still pin, and workflows the lockfile does not list pin as before
- **Why:** Two tools writing the same line disagree about who owns the ref; the lockfile is the pin

See [actions.lock](https://count-patchula.sweepy.dev/guide/managers/#github-actions).

### Reference data merges itself

- **Renovate:** No built-in category; release age, schedules and automerge apply as configured
- **The Count:** CA root bundles, time zone data and the public suffix list are `reference-data`; by default their updates skip the wait and windows, get their own PR and merge once checks pass
- **Why:** A stale trust store keeps trusting a distrusted CA, and these packages change data, not APIs

See [reference data](https://count-patchula.sweepy.dev/guide/configuration/#reference-data).

### Advisories from OSV.dev

- **Renovate:** `vulnerabilityAlerts` reads the repository’s Dependabot alerts and opens separate alert PRs
- **The Count:** OSV.dev only, on by default; updates that fix an advisory are marked and labelled, with no separate alert PRs
- **Why:** Works without Dependabot or the App’s `vulnerability_alerts` permission, and fits one batched query per run

See [security advisories](https://count-patchula.sweepy.dev/guide/security/).

### Image rebuild advisories

- **Renovate:** Vulnerability alerts cover package ecosystems, not the OS packages inside an image
- **The Count:** Compares a pinned image’s old and new SBOMs through OSV.dev; a rebuild whose new digest no longer has an advisory the old digest had is a security update
- **Why:** Rebuilds of a pinned tag are mostly OS security fixes, which otherwise look like any other digest change

See [container image rebuilds](https://count-patchula.sweepy.dev/guide/security/#container-image-rebuilds).

## Lockfiles

### aube for npm, pnpm and Yarn Classic

- **Renovate:** Regenerates npm, pnpm and Yarn locks with npm, pnpm and Yarn
- **The Count:** Regenerates `aube-lock.yaml`, `pnpm-lock.yaml`, `package-lock.json`, `npm-shrinkwrap.json` and Yarn Classic `yarn.lock` with aube; `lockfiles.npmEngine = "npm"` restores native npm for npm lockfiles. Berry `yarn.lock` stays with Yarn
- **Why:** Lockfile updates are 10 to 30 times faster; [why aube](https://count-patchula.sweepy.dev/guide/lockfiles/#why-aube-for-npm-pnpm-and-yarn-classic) lists how its output differs from each tool’s

### Lockfiles that need repository or package code are refused

- **Renovate:** Runs each lockfile tool as the tool runs, so regenerating a lock may run code from the repository and its dependencies: `bundle lock` evaluates the Gemfile and gemspecs, `dotnet restore` evaluates MSBuild projects and package targets, uv, Poetry, PDM and pipenv build source distributions and path dependencies for their metadata, PDM runs lock hooks, and npm and Yarn pack git dependencies, running their scripts
- **The Count:** Never runs code a repository or one of its packages chose. An update whose lock cannot be regenerated without it is skipped with the reason, and lockfile maintenance is held the same way: `packages.lock.json` and `Pipfile.lock` are never regenerated; npm (native) and Yarn Berry locks are refused when a manifest, override, catalog or the lock names a git, forge or `exec:` source; uv locks without building, Poetry and PDM only through launchers that disable their build backends (and PDM’s scripts and plugins), a `pylock.toml` only when uv exported it, and Bundler only from a Gemfile the Count renders, with `gemspec`, `path:`, `git:` and other forms he does not render refused. See [what is refused](https://count-patchula.sweepy.dev/guide/lockfiles/#what-is-refused)
- **Why:** The Count runs as one user for every repository, with its credentials and cache; code one repository’s dependency runs there reaches all of them. See the [threat model](https://count-patchula.sweepy.dev/internals/threat-model/)

### Binary lockfiles and chart archives

- **Renovate:** Regenerates a binary `bun.lockb`, and with `postUpdateOptions: ["helmUpdateSubChartArchives"]`, the chart archives a chart vendors under `charts/`
- **The Count:** Holds the update as lockfile-pending beside a `bun.lockb`, and holds a `Chart.lock` update when the chart commits its archives; `Chart.lock` itself is regenerated and the archives Helm downloads are not kept
- **Why:** The Count writes text files only. Switch to text `bun.lock`, and leave chart archives out of the repository (`helm dependency build` fetches them from `Chart.lock`)

### actions.lock

- **Renovate:** Runs `gh actions-lock` over the whole `.github/workflows` directory
- **The Count:** Runs it only over the edited workflows the lockfile already lists, with `--no-onboard` and `--no-narrow` always set: the Count never adds a workflow or an action to the lockfile and never rewrites a `uses:` ref he did not edit. Local `./` composites are never locked, so an update inside one makes no run; a `$/` composite is relocked under the listed workflows that call it
- **Why:** Someone else’s broken or unpinned action in an unlisted workflow must not hold the Count’s update, and a run that onboards would grow the lockfile he was never asked to write

Lockfile maintenance also runs the tool, with `--relock` over the whole directory: refs that moved upstream, such as a floating `v7`, are advanced to their new commits, listed workflows that no longer exist are dropped, and the maintenance PR lists each moved ref. Renovate’s documentation does not describe a relock, so a Renovate user should expect `actions.lock` in the maintenance PR. No release-age wait applies to what the relock picks up.

The run authenticates with the run’s own GitHub token — a scoped installation token on the App server, the token the run was given for the CLI and the GitHub Action, as Renovate hands its token to tools — and reaches github.com only. An action the token cannot read, such as a private one, holds the update with the reason rather than publishing a lock that drops it. See [actions.lock](https://count-patchula.sweepy.dev/guide/managers/#github-actions).
