Skip to content

Block Stop and push on unreviewed prose - #235

Merged
mindsocket merged 1 commit into
mainfrom
claude/project-thread-gk1uog
Nov 14, 2026
Merged

mindsocket merged 1 commit into
mainfrom
claude/project-thread-gk1uog

Conversation

@mindsocket

Copy link
Copy Markdown
Owner

Requested by Rog · project thread

scripts/prose-check.sh exits 2 while the branch adds *.md lines or code comment lines (against origin/main, untracked files included) that no doc-review has marked. It runs as a second Stop hook and in pre-push. --mark stores a hash of the additions in .git/; deletions never block.

Pre-push also blocks you, not only agents: run --mark or skip with LEFTHOOK=0.


Generated by Claude Code

scripts/prose-check.sh hashes the docs and code comments the branch adds
against origin/main. The Stop hook and pre-push exit 2 until doc-review
has run and `--mark` records that hash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019XphpcWhwJWodgw4PpUSKK
@claude

claude Bot commented Nov 13, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@mindsocket
mindsocket merged commit 2f022b5 into main Nov 14, 2026
2 checks passed
@mindsocket
mindsocket deleted the claude/project-thread-gk1uog branch November 14, 2026 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants