Skip to content

Use prek and 7-day release cooldowns - #108

Merged
jeyrb merged 1 commit into
mainfrom
alignment/prek-cooldown
Nov 8, 2026
Merged

jeyrb merged 1 commit into
mainfrom
alignment/prek-cooldown

Conversation

@jeyrb

@jeyrb jeyrb commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Applies the prek and 7-day cooldown rules from policies/project_standards.md (hq, 11-08).

  • mise.toml: prek replaces pre-commit. It reads the same .pre-commit-config.yaml, and pre-commit.ci is unchanged. Where pre-commit was a dev dependency, it's removed.
  • .mise/tasks/refresh: the shared copy from .github#10, which runs prek autoupdate --cooldown-days 7.
  • uv exclude-newer is 7 days, re-locked with XDG_CONFIG_HOME=/dev/null uv lock (uv 0.13.7), so only project settings apply.
  • Replaces refresh-deps.sh with the shared mise run refresh / mise run clean (sync-admin.sh).
  • Re-lock: drops pre-commit and its tree (virtualenv, nodeenv, identify, cfgv, distlib, filelock, python-discovery).

No workflow calls pre-commit, so CI is unaffected. After merging, run prek install -f once in your checkout to replace the pre-commit git hook.

Merge after .github#10. The exclude-newer-package exemptions are left alone; they're a decision in the linked hq issue.

Context: https://github.com/rhizomatics/hq-private/blob/main/reports/alignment/2026-11.md#addendum-policy-review-2026-11-08

🤖 Generated with Claude Code

- mise.toml: prek instead of pre-commit (same .pre-commit-config.yaml);
  pre-commit dropped from the dev dependencies where it was listed
- shared mise tasks from rhizomatics/.github (sync-admin.sh): refresh runs
  `prek autoupdate --cooldown-days 7`; replaces refresh-deps.sh where present
- uv exclude-newer 7 days (was 5), re-locked with project config only
- docs and CLAUDE.md: prek commands

Per policies/project_standards.md in rhizomatics/hq (prek, cooldown).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeyrb
jeyrb merged commit 603659d into main Nov 8, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant