chore: improve pre-commit hooks with auto-fix and comprehensive documentation#349
Merged
Merged
Conversation
- Enable auto-fix for trailing whitespace and EOF issues in pre-commit hooks - Remove duplicate conventional commit validation (use native hooks) - Add comprehensive hook system documentation - Remove problematic test-on-pr-desktop workflow - Apply formatting fixes to documentation files Pre-commit improvements: - Automatic whitespace fixing (no more manual cleanup) - Clear documentation of native vs pre-commit tool benefits - Disabled duplicate commit-msg validation to prevent conflicts - Enhanced install-hooks.sh with better documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
AlexMikhalev
added a commit
that referenced
this pull request
Apr 25, 2026
…ements chore: improve pre-commit hooks with auto-fix and comprehensive documentation
AlexMikhalev
added a commit
that referenced
this pull request
May 1, 2026
…ements chore: improve pre-commit hooks with auto-fix and comprehensive documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Significant improvements to the pre-commit hooks system that enhance developer experience and eliminate common friction points.
🛠️ Key Improvements
Automatic Whitespace Management
trailing-whitespaceandend-of-file-fixerhooks now automatically fix issuesEliminated Validation Conflicts
conventional-pre-commithook that was conflicting with superior native hooksEnhanced Documentation
scripts/install-hooks.shwith better explanationsCleaned Up Workflows
.github/workflows/test-on-pr-desktop.ymlthat was causing CI failures📋 Files Modified
.pre-commit-config.yamlscripts/install-hooks.shDocumentation files
docs/TAURI_KEYS_1PASSWORD.mddocs/specifications/terraphim-codebase-eval-check.mdRemoved files
.github/workflows/test-on-pr-desktop.yml- Problematic workflow causing CI failures✅ Benefits for Developers
🧪 Validation
🎯 Impact
This improvement provides immediate value to all developers working with the terraphim-agent codebase by:
The changes are backward compatible and enhance the existing development experience without breaking any functionality.
🤖 Generated with Claude Code