fix(gitflow): pre-commit exempts only .claude memory, tasks, audits, deploy

Any .claude/** set passed on main/develop, rules and settings included, and a git mv hid its source. The hook now allowlists the side-car dirs and lists with --no-renames; both hook copies regenerated, citers reworded.
This commit is contained in:
bchanot committed 2026-11-06 17:13:58 +01:00
1 parent 97c6afcbc8
commit c5bd0f8312
7 files changed
+51 -21

No files matched your search

+2 -2
View File
@@ -32,8 +32,8 @@ doc reconciliation & curation skills (+ `/refactor`), run OUTSIDE an assistance
`/bugfix` `/hotfix` `/ship-feature` a working branch already exists (this check
returns WORKING) and the memory commit rides it. The aiguillage only fires when
such a skill is invoked directly on `main`/`develop` — i.e. memory IS the work,
with no code branch to follow. That is the leak it closes: the `.claude/**` hook
exemption still lets a *manual* memory commit through on a protected base, but a
with no code branch to follow. That is the leak it closes: the `.claude/` allowlist hook exemption
still lets a *manual* memory commit through on a protected base, but a
skill-driven one now branches to `chore/*` first.
**Integration is human-gated by default** — these flows commit, they do not merge.