From eeb138b7d6546ca3fc7265bb6b5cb7a49cf046b8 Mon Sep 17 00:00:00 2001 From: OpeItcLoc03 Date: Mon, 8 Jun 2026 13:03:02 +0000 Subject: [PATCH] meta(tasks): claim [tdd-criteria-precommit-hook] in OpeItcLoc03/claude-skills by DESKTOP-NSEF0UK:claude-opus:35572 --- .tasks/STATUS.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.tasks/STATUS.md b/.tasks/STATUS.md index 3068b6f..0469edf 100644 --- a/.tasks/STATUS.md +++ b/.tasks/STATUS.md @@ -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 ---