precommit_hooks_rev pinned to v0.14.0 - apply would downgrade catalog hooks fleet-wide #324

Closed
opened 2026-06-14 05:44:01 +00:00 by coilysiren · 0 comments
Owner

Problem

precommit_hooks_rev in ansible/roles/precommit-hooks/defaults/main.yml is pinned to v0.14.0, but:

  • the fleet's repos currently pin v0.16.0 in their .pre-commit-config.yaml
  • the latest agentic-os release is v0.20.0

So make ansible-sync action=apply would downgrade the catalog hooks across every managed repo (v0.16.0 -> v0.14.0), and the managed block is two minor releases behind the latest regardless.

Effect

make ansible-sync (check) shows a managed-block diff reverting rev and dropping newer hook ids on every repo. Apply is unsafe until the default is bumped.

Fix

Bump precommit_hooks_rev to the current canonical release (v0.20.0 as of filing) and re-run make ansible-sync to confirm the diff now upgrades rather than downgrades. Consider whether the rev should be sourced from the latest tag instead of a hand-maintained default so it stops drifting.

Found while running make ansible-sync.

## Problem `precommit_hooks_rev` in `ansible/roles/precommit-hooks/defaults/main.yml` is pinned to `v0.14.0`, but: - the fleet's repos currently pin `v0.16.0` in their `.pre-commit-config.yaml` - the latest `agentic-os` release is `v0.20.0` So `make ansible-sync action=apply` would **downgrade** the catalog hooks across every managed repo (v0.16.0 -> v0.14.0), and the managed block is two minor releases behind the latest regardless. ## Effect `make ansible-sync` (check) shows a managed-block diff reverting `rev` and dropping newer hook ids on every repo. Apply is unsafe until the default is bumped. ## Fix Bump `precommit_hooks_rev` to the current canonical release (`v0.20.0` as of filing) and re-run `make ansible-sync` to confirm the diff now upgrades rather than downgrades. Consider whether the rev should be sourced from the latest tag instead of a hand-maintained default so it stops drifting. Found while running `make ansible-sync`.
Sign in to join this conversation.
No description provided.