Skip to content

Fix grep exit-code-2 bug + README-SECTIONS updates for /safetycheck#3

Merged
fidgetcoding merged 1 commit into
mainfrom
fix/safetycheck-grep-patterns
Apr 5, 2026
Merged

Fix grep exit-code-2 bug + README-SECTIONS updates for /safetycheck#3
fidgetcoding merged 1 commit into
mainfrom
fix/safetycheck-grep-patterns

Conversation

@fidgetcoding
Copy link
Copy Markdown
Owner

Summary

  • Replace all explicit missing-file grep arguments with --include= recursive style across Checks 14, 18, 19, 20 — prevents exit code 2 false negatives when config files like .mcp.json or claude_desktop_config.json don't exist
  • Add /safetycheck row to README-SECTIONS/cheat-sheet.md skills table
  • Add Step 9 row to README-SECTIONS/step-ordering.md (was missing entirely)

Test plan

  • Run /safetycheck in a project that lacks .mcp.json — all 20 checks complete without exit code 2 errors
  • Verify cheat-sheet and step-ordering render correctly in README

🤖 Generated with claude-flow

- Replace all explicit missing-file grep args with --include= style to prevent
  exit code 2 false negatives across Checks 14, 18, 19, 20
- Add /safetycheck row to cheat-sheet.md skills table
- Add Step 9 row to step-ordering.md (was missing entirely)

Co-Authored-By: claude-flow <ruv@ruv.net>
@fidgetcoding fidgetcoding merged commit 7b449b6 into main Apr 5, 2026
1 check failed
@fidgetcoding fidgetcoding deleted the fix/safetycheck-grep-patterns branch April 5, 2026 02:30
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.

1 participant