Fix critical installer syntax error and document command caching issue #85 #86
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
Fixes the critical bash syntax error in setup.sh that prevented command updates from working.
Problems Solved
1. ✅ Bash Syntax Error (Critical)
Problem: setup.sh failed when users selected 'y' to update commands:
Solution: Corrected pipe syntax to pass arguments properly:
2. 📋 Command Caching Issue (Documented)
Problem: /update-documentation command still calls original script despite local file containing wrapper path.
Root Cause: Claude Code command caching - commands may require restart to reload.
Current Status:
Testing Performed
bash -s -- --overwrite-commandssyntax works correctly./setup-claude-code.sh --overwrite-commandssuccessfully overwrites all filesFiles Changed
User Impact
Before: setup.sh completely broken when users try to update commands
After: setup.sh works correctly, updates commands automatically
Next Steps
The command caching issue may resolve with Claude Code restart. If it persists, it's a Claude Code behavior that's outside Agent OS control - the files are correct and the wrapper works properly.
Closes #85