Troubleshooting
Common issues and solutions for AI Context System v6.0.
Commands Not Working
Slash Commands Don't Execute
Symptoms:
- Type
/saveand nothing happens - No command suggestions when typing
/ - Commands not recognized
Check:
ls .claude/commands/
# Should show 8 files:
# init-context.md, save.md, update-context-system.md,
# review-security.md, review-performance.md,
# review-accessibility.md, review-seo.md, review-cost.mdSolution:
# If missing, reinstall:
git clone --depth 1 https://github.com/rexkirshner/ai-context-system.git
cp -r ai-context-system/.claude/commands .claude/
cp ai-context-system/.claude/VERSION .claude/
rm -rf ai-context-system
# Then restart Claude Code sessionMultiple .claude Directories
Symptoms:
- Commands execute but affect wrong project
- Context files appear in wrong location
Cause: Multiple .claude directories in parent folders.
Check:
find ~ -name ".claude" -type d 2>/dev/null | head -20Solution:
# Remove .claude from parent directories
rm -rf /path/to/parent/.claude
# Keep only your project's .claudeContext Files
Missing Context Files
Symptoms:
context/STATUS.mddoesn't exist/savefails to update status
Solution:
# Initialize context files
/init-contextThis creates:
CLAUDE.md— Entry point (at project root)context/STATUS.md— Current statecontext/DECISIONS.md— Decision log
Context Files Exist But Wrong Format
Symptoms:
- Files have v5.x format (SESSIONS.md, Quick Reference, etc.)
/savestops with "STATUS.md is in v5.x format" message
Cause: v6.0.2 added a format guard to prevent /save from corrupting v5.x context files.
Solution:
Run the migration script:
curl -O https://raw.githubusercontent.com/rexkirshner/ai-context-system/main/migrate-to-v6.sh
chmod +x migrate-to-v6.sh
./migrate-to-v6.shOr manually update STATUS.md to v6.0 format:
# Status
SchemaVersion: 1
LastUpdated: YYYY-MM-DD
HeadCommit: [git SHA or N/A]
Objective: [current goal]
## Working Set
- [files you're touching]
## Next Actions
- [concrete next steps]
## Blocked On
- (None)See Migration Guide for full details.
Git Integration
HeadCommit Shows N/A
Symptoms:
HeadCommit: N/ACause: Not a git repository, or running from subdirectory.
Check:
git rev-parse --short HEADSolution:
- If not a git repo, this is expected behavior
- If git repo, ensure you're running from project root
HeadCommit Stale (Different from Current HEAD)
Symptoms:
- STATUS.md shows
HeadCommit: abc123 - But
git rev-parse --short HEADshowsdef456
Cause: Commits were made outside the context system (by another tool, team member, or CI).
Solution: This is a warning that STATUS.md might be outdated. Review before continuing:
# See what changed
git log abc123..HEAD --oneline
# Then update
/saveInstallation Issues
Clone Fails
Symptoms:
fatal: could not create work tree dirCheck:
# Verify you have write permission
ls -la .
# Check disk space
df -hSolution:
- Ensure you have write permissions to current directory
- Free up disk space if needed
Commands Not Recognized After Install
Symptoms:
- Files exist in
.claude/commands/ - But
/savedoesn't work
Solution:
# Exit and restart Claude Code
exit
claudeClaude Code loads command definitions once per session. After installation, you need to start a new session.
Version Issues
Need to Update
Check current version:
cat .claude/VERSIONUpdate to latest:
/update-context-systemOr manually:
git clone --depth 1 https://github.com/rexkirshner/ai-context-system.git
cp -r ai-context-system/.claude/commands .claude/
cp ai-context-system/.claude/VERSION .claude/
rm -rf ai-context-systemMigrating from v5.x
If you have v5.x installed (22 commands, agents, scripts), use the migration script:
curl -O https://raw.githubusercontent.com/rexkirshner/ai-context-system/main/migrate-to-v6.sh
chmod +x migrate-to-v6.sh
./migrate-to-v6.shThe /update-context-system command does not handle pre-v6 migrations.
See Migration Guide for full details.
"/update-context-system says I'm on pre-v6"
This is correct behavior. The command only handles v6.x → v6.y upgrades.
Use the migration script instead (see above).
"/save says STATUS.md is in v5.x format"
This is a format guard preventing corruption of v5.x context files.
See Context Files Exist But Wrong Format above for the solution.
"migrate-to-v6.sh says I'm already on v6.x"
Correct. You don't need the migration script. Use /update-context-system for v6.x → v6.y upgrades.
"migrate-to-v6.sh says no v5.x installation detected"
This means you don't have any v5.x artifacts. Either:
- This is a fresh project — use
/init-contextto set up - You already migrated — use
/update-context-systemfor future upgrades
Common Workflow Issues
Can't Resume After Break
Symptoms:
- Don't know where to start
- Last session unclear
Cause: Didn't run /save before break.
Prevention:
# Always before breaks:
/saveRecovery:
# Check git log for recent changes
git log --oneline -10
# Check file modification times
ls -lt src/
# Reconstruct and update STATUS.md manuallyLost Track of Working Set
Symptoms:
- Working Set lists files you're no longer touching
- Forgot to update it when focus shifted
Solution:
# Update STATUS.md with current Working Set
/saveThe /save command updates the Working Set based on the session's work.
Decisions Not Captured
Symptoms:
- Made important decision yesterday
- No record in DECISIONS.md
Note: /save now records decisions autonomously. If a decision wasn't captured, you can add it manually.
Manual entry: Add to context/DECISIONS.md:
---
## YYYY-MM-DD: [Area] Decision Title
Why: [reason for the decision]
Tradeoff: [what you gave up]
RevisitWhen: [trigger to revisit]Emergency Recovery
Reinstall Everything
If system is broken:
# 1. Backup context
cp -r context context-backup
# 2. Remove old installation
rm -rf .claude
# 3. Reinstall
git clone --depth 1 https://github.com/rexkirshner/ai-context-system.git
mkdir -p .claude
cp -r ai-context-system/.claude/commands .claude/
cp ai-context-system/.claude/VERSION .claude/
rm -rf ai-context-system
# 4. Restore context
mv context-backup/* context/
# 5. Restart Claude Code
exit
claudeContext Files Corrupted
If STATUS.md or DECISIONS.md are broken:
# Check git history
git log context/STATUS.md
git checkout HEAD~1 context/STATUS.md
# Or recreate from template
/init-context
# (Will create new files, then merge in old content manually)Getting Help
Documentation
GitHub
Reporting Bugs
Include:
- What you were trying to do
- What command you ran
- What error you got
- System info:bash
cat .claude/VERSION ls -la .claude/commands/ ls -la context/
Still Stuck?
If none of these solutions work:
- Check GitHub Issues
- File a new issue with details
- Ask in GitHub Discussions
Remember: When in doubt, /save!