-
由 Will Chen 提交于
## Summary - Add a Stop hook that checks for incomplete tasks before allowing Claude to stop - The hook blocks stopping if any tasks are in pending or in_progress status - Includes comprehensive tests for the hook behavior ## Test plan - Run the test suite: python3 .claude/hooks/tests/test_stop_hook.py - Verify all tests pass (no tasks allows stop, completed tasks allow stop, pending/in_progress tasks block stop) #skip-bugbot Generated with Claude Code <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds a Stop hook to prevent early stopping when work isn’t done. Uses a stricter, prompt-based check of the conversation context with a default bias to continue. - **New Features** - Stop hook returns {"ok": true} to allow stop or {"ok": false, "reason": "..."} to continue. - Evaluates task completion, unresolved errors, follow-ups, and work quality. - Biases to continue unless everything is truly complete; registered under Stop in .claude/settings.json with a 30s timeout. <sup>Written for commit 059862cf76e0df9dd9149df2c8acd840c06dbc15. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --------- Co-authored-by:Claude Opus 4.5 <noreply@anthropic.com>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| commands/dyad | ||
| hooks | ||
| skills/multi-pr-review | ||
| settings.json |