Skip to content

Shared dependency updates

renovate-preset.json is the single source of our dependency update policy. Consumers extend a published version rather than copy its rules. Mend-hosted Renovate is operating across the organization; rollout and remaining coverage are tracked in #19. A configuration file alone does not install the bot or prove hosted acceptance.

  • Our releases: eligible on the next hosted bot run, without a weekly window or pull request rate caps.
  • External dependencies: new updates are eligible before 06:00 UTC on Mondays, limited to two concurrent pull requests and one new pull request per hour.
  • Non-major updates: automerge under GitHub's configured merge rules, using a merge queue where required. automerge and platformAutomerge are enabled in the shared preset.
  • Major updates: automerge the same way. The package rule matching matchUpdateTypes: ["major"] sets automerge and platformAutomerge. It does not set ignoreTests and does not skip required status checks. It sits ahead of the docs-brand rule, which keeps that dependency off automerge.

This controls when updates are eligible, not how often Mend scans a repository. It does not promise immediate or hourly polling. Existing branches may be maintained outside the window, and urgent vulnerability handling has Renovate's own behavior. A dashboard entry awaiting its schedule is not a failed check. A pin of a repository Living Proof Labs publishes moves to a released tag that already exists. See Integration through released tags.

One policy, versioned adoption

Keep schedules, internal publisher matching, rate caps and shared grouping here. A repository's renovate.json should extend the released preset and contain only necessary local additions: supported managers, historical fixture exclusions or compatibility constraints. Name the reason for an exception. Do not duplicate the shared schedule in local package rules: later rules can override it.

The native renovate-config manager detects tagged preset references in renovate.json and proposes their updates. The shared guidelines package rule groups that pin with other guidelines references and treats it as an internal release. The new policy takes effect only after the consumer's update is reviewed and merged. This is one source with traceable adoption, not an instant global settings switch. Never replace a release pin with main or a moving tag.

Repositories pinned to older presets need one bootstrap update to the first published release containing this manager. The old preset cannot update itself while its manager is disabled. Local enabledManagers lists replace the shared list: they must also include renovate-config. Preserve their other managers and exceptions when adopting. Do not invent the next release tag before publication.

For each repository in the canonical organization inventory:

  1. Check bot installation and a merged configuration using the shared preset.
  2. Update the preset tag and local manager list through a reviewed pull request.
  3. Confirm hosted extraction lists the preset reference under renovate-config.
  4. Confirm a subsequent released preset produces an update proposal, then verify the effective internal and external schedules after its merge.

The current migration is not complete merely because this source changed. Pending onboarding, repositories with no dependency manifests, unreadable logs, and deliberate exceptions must be reported separately. Preserve existing repository tests and merge requirements; a passing config validator is not a passing dependency update.

Releases we publish

The last packageRules entry clears the Monday schedule for a dependency we publish. schedule is not a mergeable option, so ["at any time"] replaces ["before 6am on monday"] instead of being appended to it. Renovate treats at any time as no schedule, so the Monday window does not skip the update. Mend Renovate still picks it up on the next run. The setting does not start that run. The entry stays last: the earlier collaboration-guidelines rule does not set schedule, and a later rule that did would put the Monday window back.

The entry matches when any one of these is true:

  • The package name is Living-Proof-Labs/<repository>. GitHub Actions and the annotated guidelines pins use that name.
  • The package name is a container image under ghcr.io/living-proof-labs/.
  • The package name is an npm package in the @living-proof-labs scope, which still matches when registry metadata has no GitHub source URL.
  • sourceUrl is under https://github.com/Living-Proof-Labs/. npm, pip, and other registries identify a package from this organization that way after lookup. Several matchers in one rule all have to match, so each alternative is its own expression in one matchJsonata list. Any expression is enough.

Those dependencies set prHourlyLimit and prConcurrentLimit to 0, which means no limit. Otherwise an open pull request or a pull request already created this hour would delay an internal release. The repository limits still apply to every other dependency. branchConcurrentLimit is left unset, so it keeps inheriting prConcurrentLimit. A branch that grouped an internal dependency with a third-party one would also be unlimited, because Renovate uses no limit when any upgrade on the branch has 0. This preset does not make that grouping.

An internal pull request is not itself delayed by those caps, but it still counts toward them. Renovate excludes vulnerability-alert pull requests from the concurrent and branch counts. The hourly count includes them. Two open internal pull requests fill the repository limit of 2, so a third-party update waits.

The internal match needs Renovate 44.115.0 or later. $matchRegexOrGlob shipped in that release. An older runner logs a warning and treats the rule as not matching, so those dependencies stay on the Monday schedule.

Python version constraint

rangeStrategy is pin for the repository. A pep621 requires-python constraint uses auto instead. Pin would rewrite >=3.11 to an exact interpreter such as ==3.15.2 and drop 3.11 through 3.14. auto leaves the range, and lookup then proposes no update. Other pep621 dependencies stay pinned. This rule sits ahead of the internal schedule rule. That later rule does not set rangeStrategy, and this rule does not set schedule.

Node engine constraint

rangeStrategy is pin for the repository. An npm engines constraint, including engines.node, uses auto instead. Pin would rewrite >=24.10.0 to an exact Node release such as v26.13.1 and drop the Node 24 runtime the semantic-release action installs. auto leaves the range, and lookup then proposes no update. Other npm dependencies stay pinned. This rule sits ahead of the requires-python rule and the internal schedule rule. The later rule does not set rangeStrategy, and this rule does not set schedule.

Automerge is on in the shared preset for non-major and major updates (see AGENTS.md). GitHub enforces the repository's configured merge rules, including required checks and a merge queue where required. The preset does not create a queue, make informational checks required, or set ignoreTests. Repositories inherit this when they adopt a release that contains the change. A merge to main alone does not update repositories that pin an older release.

Inventory and boundaries

Inspected 2026-10-26: collaboration-guidelines at released v4.2.2, commit 6a031f151cb810d69eef58291213bbfc8e94a347; robot-capability-specs at e1678d9e9cd8b6d1b48f694f13d1e55f2cab97d5 (latest release v1.2.1). Neither checkout contains .agents/skills. Read the shared AGENTS.md, contribution and developer-interface procedures at v4.2.2; the robot repository additionally adopts v4.1.0.

Actual references Handling in this slice
Both repositories: .github/workflows/*.yml, SHA-pinned third-party Actions; robot release workflow calls guidance v2.0.3 Native github-actions; preserve integrity pins
Both: Dockerfile Node 24.19.0-bookworm-slim plus digest; guidance documentation image uses Python 3.12.12-slim and uv 0.12.23 plus digests; host image uses Ubuntu 24.04 plus digest Native dockerfile; native docker-compose for image references
Guidance .github/actions/semantic-release/package.json and lock: semantic-release 25.0.9, plugins, lint tooling; robot root package and lock: Gherkin 42.0.1, messages 34.2.1, YAML 2.8.1 Native npm, exact ranges, existing locks
Guidance templates/generated-docs/requirements.in and hash-locked requirements.lock: Click 8.3.1, Sphinx 8.2.3, sphinx-click 6.2.0, coverage 7.17.0, pytest 8.4.2 Native pip-compile, explicit .lock file pattern; uv header identifies input and output
Guidance tools/manual/requirements.in and hash-locked requirements.lock: zensical 0.0.73, pytest 8.4.2, Playwright 1.64.1 Native pip-compile; regenerate from the repository root with --output-file=tools/manual/requirements.lock
Robot AGENTS.md guidance v4.1.0; README guidance/release links v2.0.3; Taskfile provenance comment v4.1.0 Opt-in annotated fixtures only; no downstream edits or silent reconciliation of different pins
Robot README verifier v1.0.1, clone command, catalog v1.1.0; guidance reporter script and docs v1.4.0 Deferred coupled repositories; not in custom allowlist
Task 3.54.0 in setup Action inputs, installers, README; robot Dockerfile installer URL, checksum and command Deferred checksum/input coupling; never update only one member
Guidance host packages*.txt, shell image strings, generated-docs installer checksum Deferred distro-specific and checksum-coupled updates
Guidance adoption examples v1.0.0, illustrative v1.2.3, host/editor observations v4.2.1 with source commits; robot docs/adr, docs/issues and version examples Historical or illustrative text stays unchanged

No second updater configuration was found. Docker build service names and Task schema version: '3' are not package pins. Node engine minimums describe supported runtimes; they are not exact dependency releases. Robot workflows also contain floating actions/checkout@v4; that existing gap is not a strict pin and this slice does not silently convert it. SHA-pinned Actions with major-version comments remain integrity-pinned exceptions.

Annotation contract

Only AGENTS.md, README.md, and docs/dependency-pins.md accept the Markdown marker. It must immediately precede one complete link on its own line:

<!-- renovate: guidelines -->
[Working guidelines v4.1.0](https://github.com/Living-Proof-Labs/collaboration-guidelines/blob/v4.1.0/AGENTS.md)

The link label and URL are replaced together; path and fragment are retained. The datasource is github-releases, matching its published-release contract. Repeated annotated links are supported. Unannotated links, historical prose, unrelated repositories, aliases, prereleases and non-SemVer tags are excluded. An annotation inside a code fence is still an explicit opt-in: this is a regex manager, not a Markdown parser. Keep teaching examples in excluded files such as this document. Do not annotate historical examples.

The root Taskfile.yml accepts this variable form; commands should use the variable rather than duplicate the version:

vars:
  # renovate: guidelines
  GUIDELINES_VERSION: 'v4.1.0'

Guidance workflow calls and custom references share a package group. Adoption must first reconcile intentionally different current versions; grouping alone cannot prove compatibility or force different allowed ranges to the same target.

Verification and adoption

Run task renovate:verify with Docker and Task installed. Run task renovate:extract for a credential-free local extraction dry run. The pinned official Renovate image supplies its runtime and validator. No host Node or Python installation is required. Reports go to artifacts/renovate/.

The local platform supports extraction and lookup, not branch creation. Fixtures and validator success are not evidence of a hosted bot pull request, refreshed lockfiles, successful installation of proposed dependencies, or a merge gate. Consumer update pull requests must test actual proposed releases and regenerated locks.

After review and publication, consumers may extend this preset using Renovate's github>Living-Proof-Labs/collaboration-guidelines:renovate-preset#TAG syntax, replacing TAG with the full published release containing this file. v4.2.2 does not contain it. Do not adopt a branch or guessed future release. The preset is deliberately not named renovate.json, so merging it does not activate repository onboarding. Test downstream annotations in a separate reviewed PR.

Mend-hosted Renovate runs the installed service. Repository owners and agents review its proposals using the normal contribution process. This preset does not install Apps, change permissions or configure branch protection. Do not run a second updater over the same references.

Pause the installation through its approved owner, or disable the consumer configuration in a PR. Revert a bad update/configuration through a PR, restore known-good readable tags and locks, and rerun tests. Never move an old tag.

References: regex managers, validator, local dry runs, versioned presets, native preset updates, pip-compile.

The generated-docs lock header records this regeneration command, because Renovate 44.181.7 rejects a space-separated --output-file argument:

uv pip compile requirements.in --generate-hashes --output-file=requirements.lock

The manual lock is regenerated from the repository root with the same equals form. Renovate 44.236.5 rejects the short -o option (Option -o not supported (yet)):

uv pip compile tools/manual/requirements.in --generate-hashes --output-file=tools/manual/requirements.lock

Only that command comment changes; locked package versions and hashes do not. The fixture tests import the official image's extraction/replacement APIs. These are internal APIs, deliberately tied to the pinned image; an image upgrade must pass this suite. Tests do not reimplement a dependency resolver.

The fixture transition uses real published tags: v4.1.0 resolves to e409022ccbf25419749f5c073205a3fd1afb157f, and v4.2.2 resolves to 6a031f151cb810d69eef58291213bbfc8e94a347. Both refs and the v4.2.2 release record were read through GitHub on 2026-10-26. This is dated provenance, not a claim that the bot detects future tag mutation. The offline tests prove the transition mechanically; they do not contact GitHub to rediscover these tags.

Docs brand lock updates

The docs brand lock is intentionally excluded from Mend-hosted updates. Its version, resolved commit and CSS checksum must change together. The dormant dedicated runner is a second, narrowly scoped writer with a renovate-docs-brand/ branch prefix and prConcurrentLimit: 1. It handles only the brand lock; Mend retains the other dependency updates. Do not enable a consumer caller or schedule until the reusable provenance check and rendered-manual checks are adopted and proven. A failed regeneration can still produce a version-only proposal, which the provenance check must reject.


Documentation home · Docs: v9.15.0 · Version and source · Help / report an issue · License