meta(tasks): claim [tdd-criteria-precommit-hook] in OpeItcLoc03/claude-skills by DESKTOP-NSEF0UK:claude-opus:35572
This commit is contained in:
@@ -140,7 +140,7 @@ fatal: Not possible to fast-forward, aborting.
|
||||
|
||||
---
|
||||
|
||||
## ⚪ [tdd-criteria-precommit-hook] — Optional pre-commit hook script that automates the bright-line checks from `tdd-criteria` Anti-loophole rules 1 and 4. Project owner opts in per-repo by symlinking / copying to `.git/hooks/pre-commit` (or via `husky` / `lefthook` integration if the project uses them).
|
||||
## 🔴 [tdd-criteria-precommit-hook] — Optional pre-commit hook script that automates the bright-line checks from `tdd-criteria` Anti-loophole rules 1 and 4. Project owner opts in per-repo by symlinking / copying to `.git/hooks/pre-commit` (or via `husky` / `lefthook` integration if the project uses them).
|
||||
|
||||
**Two checks** (both bright-line, both fail-closed):
|
||||
|
||||
@@ -205,10 +205,13 @@ The skill is **policy** that lives in claude-skills and gets pulled into agent c
|
||||
|
||||
Pre-commit hooks have `--no-verify`. Per `project-discipline` Rule 4 («never skip hooks unless user explicitly asks») agents must not use `--no-verify` — but humans can in emergencies. Each `--no-verify` use should be self-flagged in the commit body («bypassed pre-commit because: ...»). Not enforceable by the hook itself; this is a higher-level audit.
|
||||
|
||||
**Status:** ready
|
||||
**Status:** active
|
||||
**Where I stopped:** (not started)
|
||||
**Next action:** Решить, нужен ли hook (он опционален) — если да, написать `~/projects/claude-skills/scripts/tdd-criteria-precommit-hook.sh` по спеке в description, протестировать на `books` (Jest-конвенция `*.test.js`), задокументировать activation pattern. Если нет — закрыть как `wontfix` с пометкой что fence чисто социальная (commit subject visible в `git log`).
|
||||
**Branch:** master
|
||||
**Owner:** DESKTOP-NSEF0UK:claude-opus:35572
|
||||
**Claim token:** 9704392d-e7fd-48e8-9be3-acc4ab1201d3
|
||||
**Claim expires at:** 2026-06-08T13:13:02.558Z
|
||||
<!-- created-by: OpeItcLoc03@DESKTOP-NSEF0UK / from: .meeting-room / 2026-05-07T05:10:28.610Z -->
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user