Redo .pre-commit-config.yaml Forgejo agentic-os migration (rev/hook-list mismatch broke the tree) #57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
While landing coilysiren/website#1 (regenerate
.claude/lockdown), the canonical checkout (~/projects/coilysiren/website) carried an uncommitted, broken migration of.pre-commit-config.yaml's managed agentic-os block. I discarded it to unblock the fast-forward merge and am filing this so the migration is redone correctly. The discarded WIP is saved at/tmp/website-precommit-forgejo-wip.yamlon kais-macbook-pro (ephemeral).What the WIP tried to do
Migrate the managed block from the GitHub mirror to canonical Forgejo:
repo: https://github.com/coilysiren/agentic-os->https://forgejo.coilysiren.me/coilyco-flight-deck/agentic-osrev: v0.6.0->rev: v0.13.1context-load-points,repo-pointer-skills,misplaced-skills,agent-compose-size,agent-compose-dedup,trufflehogWhy it was broken
pre-commit runfails:The hook list belongs to a newer Forgejo agentic-os tag than
v0.13.1. Cached manifests confirmagent-compose-size,agent-compose-dedup, andagent-compose-driftexist only at a tag abovev0.13.1(thev0.13.1manifest stops atmisplaced-skills). So the rev and the hook list are mismatched - either the rev needs bumping to the tag that actually ships those hooks, or the unavailable hooks dropped.Looks like automated repoint drift (cf.
77b3664 chore(repoint): rewrite coilysiren/<moved-repo> refs to new orgs) that bumped the URL + rev + hook list inconsistently.What landed instead (#1)
The merged commit keeps the working managed block (
github.com/coilysiren/agentic-osv0.6.0) and only removes the stale localcoily-trailerhook (see below). The Forgejo migration is intentionally not part of #1.Bonus finding: stale
coily-trailerhookThe repo's local
coily-trailerprepare-commit-msghook calledcoily git trailer-hook, which coily v2.53.0 removed (the autoAudit-log:trailer feature is replaced by the manualcoily git audit-showquery). It errored on every commit, blocking the tree. #1 removed it. When the managed-block migration is redone, confirm no managedcoily-trailerhook is re-introduced against a coily that no longer providestrailer-hook.Action
Redo the managed-block Forgejo migration with a consistent (rev, hook-list) pair: pick the Forgejo agentic-os tag that actually ships
agent-compose-*and pin the rev to it, or trim the hook list to whatv0.13.1provides. Thenpre-commit run --all-filesmust pass before committing.