Dotfiles Maintenance Runbook¶
This runbook captures recovery and release maintenance operations for this repository.
Signed History Recovery (February 19, 2026)¶
Purpose: Recover from strict signature enforcement failures caused by legacy/non-compliant commit history.
When to use:
- Pushes are blocked by signature policy on historical commits.
- Merge ancestry contains commits that can't be validated by the current principal/key policy.
Procedure:
- Create a backup ref for current
main. - Build a rewritten signed baseline commit from the current tree.
- Push the rewritten branch to remote.
- Temporarily allow force-push on
mainprotections/rulesets. - Force-update
mainto the rewritten signed baseline. - Disable force-push again immediately.
- Re-run CI and verify required checks are green.
- Repoint the release tag/target as needed.
Verification commands:
git verify-commit HEAD
gh run list --workflow ci.yml --branch main --limit 1
gh release view v0.2.501 --json tagName,targetCommitish,url
Release Closeout Checklist¶
For every release update:
mainbranch is clean and synced.- CI is green on the release commit.
- Annotated release tag points to the intended commit.
- GitHub release target is correct (
mainor explicit commit). - Branch protections/rulesets are restored to strict state.
- Local apply has completed:
Security Scan Guardrails¶
We prevent gitleaks historical-scan regressions with:
- Shallow checkout (
fetch-depth: 1,fetch-tags: false) in gitleaks jobs. - A workflow-dispatch guard script:
tools/ci/guard-gitleaks-checkout.sh.
Manual verification: