From 61753824ee34f77dbd3bdb3568ea7e5311a001d5 Mon Sep 17 00:00:00 2001 From: Chad Scribner Date: Thu, 23 Apr 2026 11:29:13 +0200 Subject: [PATCH] fix(docs): add Stop hook to lifecycle placement table The lifecycle table documented SessionStart and PreToolUse/PostToolUse stages but omitted Stop, which has an active repo-level hook (scripts/lint-markdown.sh) for markdown linting. Addresses post-merge feedback on PR #77. Co-Authored-By: Claude Opus 4.6 --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f5b05080..8170a3a4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -124,6 +124,7 @@ Place each check at the right stage: | **One-time setup** | CodeRabbit config, tool installation | Documentation only — verify once, not every session | | **Session start** | Submodule staleness, undocumented tools | Repo-level hook (`SessionStart`) | | **Pre-tool / post-tool** | Block destructive git commands, detect secrets in file writes | Repo-level hook (`PreToolUse` / `PostToolUse`) | +| **Stop (session end)** | Markdown linting, cleanup tasks | Repo-level hook (`Stop`) | | **Pre-commit** | Secret scanning, lint checks | Git pre-commit hook or repo-level `PreToolUse` on Bash matcher | ### CLI Tools vs MCP Servers