Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@
}
],
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "npx --yes block-no-verify@1.1.2"
}
]
},
{
"matcher": "Task",
"hooks": [
Expand Down
12 changes: 12 additions & 0 deletions Agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@ Strong success criteria let you loop independently. Weak criteria ("make it work

---

## Git Hook Safety

**Never bypass git hooks.**

- Do not use `--no-verify` on `git commit` or `git push`
- Do not override `core.hooksPath` to disable hooks
- If a hook fails, fix the underlying issue — do not skip the hook

Git hooks enforce quality gates (tests, linting, secret scanning). Bypassing them defeats those safeguards. The `.claude/settings.json` in this repo includes [`block-no-verify`](https://github.com/tupe12334/block-no-verify) to enforce this automatically.

---

## Clean Architecture

Follow these layered boundaries when building features:
Expand Down