Fix cc-lint findings: hook bugs, permissions, docs#362
Merged
Conversation
…idate-bash - Add tsconfig.json and tsconfig.*.json to config-protection.sh (closes #349) - Use session_id from stdin JSON instead of PID for compact counter (closes #341) - Switch validate-bash-commands.py to hookSpecificOutput JSON format (closes #342) - Apply shfmt tab indentation to touched shell scripts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Ensures prettier runs via bunx for portability in environments where prettier isn't globally installed. Also applies shfmt tab indentation. Closes #343 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…nt name - Add Write(*.sh) to settings.json permissions (closes #344) - Document all 9 hooks in CLAUDE.md (was missing 4: config-protection, prompt-injection-guard, suggest-compact, context-monitor) - Remove redundant name: field from obsidian-cli/SKILL.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
tsconfig.jsonto config-protection.sh case statement (closes config-protection.sh doesn't detect tsconfig.json #349)hookSpecificOutputJSON format (closes validate-bash-commands.py output format inconsistent with other hooks #342)bunx prettierinstead of bareprettierin auto-format hook (closes auto-format.sh calls prettier directly instead of bunx prettier #343)Write(*.sh)permission to settings.json (closes Missing Write(*.sh) permission #344)name:field from obsidian-cli/SKILL.mdTest plan
🤖 Generated with Claude Code