feat: Change installation directory to ~/.claude/commands/sc/

- Updated default installation path from ~/.claude/commands/ to ~/.claude/commands/sc/
- This maintains the /sc: namespace through directory organization
- Updated install_commands() default path in install_commands.py
- Updated CLI --target default in main.py to ~/.claude/commands/sc
- Updated list_installed_commands() to look in sc subdirectory
- All tests passing (70 passed, 1 skipped)
- Verified real installation: commands now install to ~/.claude/commands/sc/

Commands retain their /sc: prefix through name field in frontmatter:
- /sc:research - Deep web research
- /sc:index-repo - Repository indexing
- /sc:agent - Specialized AI agents
- /sc:recommend - Command recommendations
- /sc - Main help/dispatcher

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
mithun50
2025-11-11 18:37:03 +01:00
parent 8c0559ca9a
commit ad80f57f63
8 changed files with 325 additions and 14 deletions

View File

@@ -0,0 +1,44 @@
# Mistake Record: test_database_connection
**Date**: 2025-11-11
**Error Type**: ConnectionError
---
## ❌ What Happened
Could not connect to database
```
No traceback
```
---
## 🔍 Root Cause
Not analyzed
---
## 🤔 Why Missed
Not analyzed
---
## ✅ Fix Applied
Ensure database is running and credentials are correct
---
## 🛡️ Prevention Checklist
Not documented
---
## 💡 Lesson Learned
Not documented

View File

@@ -0,0 +1,44 @@
# Mistake Record: test_reflexion_with_real_exception
**Date**: 2025-11-11
**Error Type**: ZeroDivisionError
---
## ❌ What Happened
division by zero
```
simulated traceback
```
---
## 🔍 Root Cause
Not analyzed
---
## 🤔 Why Missed
Not analyzed
---
## ✅ Fix Applied
Check denominator is not zero before division
---
## 🛡️ Prevention Checklist
Not documented
---
## 💡 Lesson Learned
Not documented

View File

@@ -0,0 +1,44 @@
# Mistake Record: unknown
**Date**: 2025-11-11
**Error Type**: FileNotFoundError
---
## ❌ What Happened
config.json not found
```
No traceback
```
---
## 🔍 Root Cause
Not analyzed
---
## 🤔 Why Missed
Not analyzed
---
## ✅ Fix Applied
Create config.json in project root
---
## 🛡️ Prevention Checklist
Not documented
---
## 💡 Lesson Learned
Not documented