feat: add comprehensive test suite, CI/CD workflows, and install command
Major improvements to SuperClaude Framework infrastructure and testing:
## New Features
- Add 'superclaude install' command to install slash commands (/research, /index-repo, /agent, /recommend)
- Create comprehensive test suite with 71 tests (70 passing, 1 skipped)
- Add GitHub Actions CI/CD workflows for automated testing
- Add essential documentation files (PLANNING.md, TASK.md, KNOWLEDGE.md)
## Testing
- tests/unit/: 59 tests covering PM Agent components
- test_confidence.py: 13 tests for ConfidenceChecker
- test_self_check.py: 14 tests for SelfCheckProtocol
- test_reflexion.py: 9 tests for ReflexionPattern
- test_token_budget.py: 12 tests for TokenBudgetManager
- test_cli_install.py: 12 tests for install command (NEW)
- tests/integration/: 11 tests for pytest plugin integration
- tests/conftest.py: Shared fixtures for all tests
## CI/CD Workflows
- .github/workflows/test.yml: Comprehensive test matrix
- Tests on Python 3.10, 3.11, 3.12
- Lint and format checks with ruff
- Pytest plugin verification
- SuperClaude doctor health checks
- Coverage reporting with Codecov
- .github/workflows/quick-check.yml: Fast PR validation (~2-3 min)
- .github/workflows/README.md: Workflow documentation
## Documentation
- PLANNING.md: Architecture, design principles, absolute rules
- TASK.md: Current tasks, priorities, backlog
- KNOWLEDGE.md: Accumulated insights, best practices, troubleshooting
## Bug Fixes
- Fix .gitignore contradictions (remove conflicting Claude Code patterns)
- Fix TokenBudgetManager to properly validate and default invalid complexity
- Update package.json version to 4.1.6 (sync with VERSION file)
## CLI Improvements
- src/superclaude/cli/install_commands.py: Command installation logic
- src/superclaude/cli/main.py: Add 'install' command with --list and --force options
- README.md: Update installation instructions with correct commands
## Breaking Changes
None - all changes are backwards compatible
## Migration Guide
Users should run 'superclaude install' after upgrading to install slash commands
Fixes #466 (indirectly by clarifying installation process)
Refs #419 (plugin system - documentation updated)
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 18:21:22 +01:00
|
|
|
# TASK.md
|
|
|
|
|
|
|
|
|
|
**Current Tasks, Priorities, and Backlog for SuperClaude Framework**
|
|
|
|
|
|
|
|
|
|
> This document tracks active development tasks, priorities, and the project backlog.
|
|
|
|
|
> Read this file at the start of each development session to understand what needs to be done.
|
|
|
|
|
|
|
|
|
|
**Last Updated**: 2025-11-12
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 🚨 **Critical Issues (Blocking Release)**
|
|
|
|
|
|
|
|
|
|
### ✅ **COMPLETED**
|
|
|
|
|
|
|
|
|
|
1. **[DONE]** Version inconsistency across files
|
|
|
|
|
- ✅ Fixed VERSION file, README files (commit bec0b0c)
|
2025-11-12 17:37:27 +01:00
|
|
|
- ✅ Updated package.json to 4.1.7
|
feat: add comprehensive test suite, CI/CD workflows, and install command
Major improvements to SuperClaude Framework infrastructure and testing:
## New Features
- Add 'superclaude install' command to install slash commands (/research, /index-repo, /agent, /recommend)
- Create comprehensive test suite with 71 tests (70 passing, 1 skipped)
- Add GitHub Actions CI/CD workflows for automated testing
- Add essential documentation files (PLANNING.md, TASK.md, KNOWLEDGE.md)
## Testing
- tests/unit/: 59 tests covering PM Agent components
- test_confidence.py: 13 tests for ConfidenceChecker
- test_self_check.py: 14 tests for SelfCheckProtocol
- test_reflexion.py: 9 tests for ReflexionPattern
- test_token_budget.py: 12 tests for TokenBudgetManager
- test_cli_install.py: 12 tests for install command (NEW)
- tests/integration/: 11 tests for pytest plugin integration
- tests/conftest.py: Shared fixtures for all tests
## CI/CD Workflows
- .github/workflows/test.yml: Comprehensive test matrix
- Tests on Python 3.10, 3.11, 3.12
- Lint and format checks with ruff
- Pytest plugin verification
- SuperClaude doctor health checks
- Coverage reporting with Codecov
- .github/workflows/quick-check.yml: Fast PR validation (~2-3 min)
- .github/workflows/README.md: Workflow documentation
## Documentation
- PLANNING.md: Architecture, design principles, absolute rules
- TASK.md: Current tasks, priorities, backlog
- KNOWLEDGE.md: Accumulated insights, best practices, troubleshooting
## Bug Fixes
- Fix .gitignore contradictions (remove conflicting Claude Code patterns)
- Fix TokenBudgetManager to properly validate and default invalid complexity
- Update package.json version to 4.1.6 (sync with VERSION file)
## CLI Improvements
- src/superclaude/cli/install_commands.py: Command installation logic
- src/superclaude/cli/main.py: Add 'install' command with --list and --force options
- README.md: Update installation instructions with correct commands
## Breaking Changes
None - all changes are backwards compatible
## Migration Guide
Users should run 'superclaude install' after upgrading to install slash commands
Fixes #466 (indirectly by clarifying installation process)
Refs #419 (plugin system - documentation updated)
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 18:21:22 +01:00
|
|
|
- ⚠️ Note: pyproject.toml intentionally uses 0.4.0 (Python package versioning)
|
|
|
|
|
|
|
|
|
|
2. **[DONE]** Plugin system documentation misleading
|
|
|
|
|
- ✅ Added warnings to CLAUDE.md about v5.0 status
|
|
|
|
|
- ✅ Clarified README.md installation instructions
|
|
|
|
|
- ✅ Referenced issue #419 for tracking
|
|
|
|
|
|
|
|
|
|
3. **[DONE]** Missing test directory
|
|
|
|
|
- ✅ Created tests/ directory structure
|
|
|
|
|
- ✅ Added comprehensive unit tests (confidence, self_check, reflexion, token_budget)
|
|
|
|
|
- ✅ Added integration tests for pytest plugin
|
|
|
|
|
- ✅ Added conftest.py with shared fixtures
|
|
|
|
|
|
|
|
|
|
4. **[DONE]** Missing key documentation files
|
|
|
|
|
- ✅ Created PLANNING.md with architecture and rules
|
|
|
|
|
- ✅ Created TASK.md (this file)
|
|
|
|
|
- ✅ Created KNOWLEDGE.md with insights
|
|
|
|
|
|
|
|
|
|
5. **[DONE]** UV dependency not installed
|
|
|
|
|
- ✅ UV installed by user
|
|
|
|
|
- 📝 TODO: Add UV installation docs to README
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 🔥 **High Priority (v4.1.7 Patch Release)**
|
|
|
|
|
|
|
|
|
|
### 1. Complete Placeholder Implementations
|
|
|
|
|
**Status**: TODO
|
|
|
|
|
**File**: `src/superclaude/pm_agent/confidence.py`
|
|
|
|
|
**Lines**: 144, 162, 180, 198
|
|
|
|
|
|
|
|
|
|
**Issue**: Core confidence checker methods are placeholders:
|
|
|
|
|
- `_no_duplicates()` - Should search codebase with Glob/Grep
|
|
|
|
|
- `_architecture_compliant()` - Should read CLAUDE.md for tech stack
|
|
|
|
|
- `_has_oss_reference()` - Should search GitHub for implementations
|
|
|
|
|
- `_root_cause_identified()` - Should verify problem analysis
|
|
|
|
|
|
|
|
|
|
**Impact**: Confidence checking not fully functional
|
|
|
|
|
|
|
|
|
|
**Acceptance Criteria**:
|
|
|
|
|
- [ ] Implement actual code search in `_no_duplicates()`
|
|
|
|
|
- [ ] Read and parse CLAUDE.md in `_architecture_compliant()`
|
|
|
|
|
- [ ] Integrate with web search for `_has_oss_reference()`
|
|
|
|
|
- [ ] Add comprehensive validation in `_root_cause_identified()`
|
|
|
|
|
- [ ] Add unit tests for each implementation
|
|
|
|
|
- [ ] Update documentation with examples
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 4-6 hours
|
|
|
|
|
**Priority**: HIGH
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### 2. Fix .gitignore Contradictions
|
|
|
|
|
**Status**: TODO
|
|
|
|
|
**File**: `.gitignore`
|
|
|
|
|
**Lines**: 102-106
|
|
|
|
|
|
|
|
|
|
**Issue**: Contradictory patterns causing confusion:
|
|
|
|
|
```gitignore
|
|
|
|
|
.claude/ # Ignore directory
|
|
|
|
|
!.claude/ # But don't ignore it?
|
|
|
|
|
.claude/* # Ignore contents
|
|
|
|
|
!.claude/settings.json # Except this file
|
|
|
|
|
CLAUDE.md # This file is tracked but listed here
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Solution**:
|
|
|
|
|
- Remove `.claude/` from gitignore (it's project-specific)
|
|
|
|
|
- Only ignore user-specific files: `.claude/history/`, `.claude/cache/`
|
|
|
|
|
- Remove `CLAUDE.md` from gitignore (it's project documentation)
|
|
|
|
|
|
|
|
|
|
**Acceptance Criteria**:
|
|
|
|
|
- [ ] Update .gitignore with correct patterns
|
|
|
|
|
- [ ] Verify tracked files remain tracked
|
|
|
|
|
- [ ] Test on fresh clone
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 30 minutes
|
|
|
|
|
**Priority**: MEDIUM
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### 3. Add UV Installation Documentation
|
|
|
|
|
**Status**: TODO
|
|
|
|
|
**Files**: `README.md`, `CLAUDE.md`, `docs/getting-started/installation.md`
|
|
|
|
|
|
|
|
|
|
**Issue**: CLAUDE.md requires UV but doesn't document installation
|
|
|
|
|
|
|
|
|
|
**Solution**:
|
|
|
|
|
- Add UV installation instructions to README
|
|
|
|
|
- Add fallback commands for users without UV
|
|
|
|
|
- Document UV benefits (virtual env management, speed)
|
|
|
|
|
|
|
|
|
|
**Acceptance Criteria**:
|
|
|
|
|
- [ ] Add UV installation section to README
|
|
|
|
|
- [ ] Provide platform-specific install commands
|
|
|
|
|
- [ ] Add fallback examples (python -m pytest vs uv run pytest)
|
|
|
|
|
- [ ] Update CLAUDE.md with UV setup instructions
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 1-2 hours
|
|
|
|
|
**Priority**: MEDIUM
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### 4. Run Test Suite and Fix Issues
|
|
|
|
|
**Status**: TODO
|
|
|
|
|
|
|
|
|
|
**Tasks**:
|
|
|
|
|
- [ ] Run `uv run pytest -v`
|
|
|
|
|
- [ ] Fix any failing tests
|
|
|
|
|
- [ ] Verify all fixtures work correctly
|
|
|
|
|
- [ ] Check test coverage: `uv run pytest --cov=superclaude`
|
|
|
|
|
- [ ] Aim for >80% coverage
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 2-4 hours
|
|
|
|
|
**Priority**: HIGH
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 📋 **Medium Priority (v4.2.0 Minor Release)**
|
|
|
|
|
|
|
|
|
|
### 5. Implement Mindbase Integration
|
|
|
|
|
**Status**: TODO
|
|
|
|
|
**File**: `src/superclaude/pm_agent/reflexion.py`
|
|
|
|
|
**Line**: 173
|
|
|
|
|
|
|
|
|
|
**Issue**: TODO comment for Mindbase MCP integration
|
|
|
|
|
|
|
|
|
|
**Context**: Reflexion pattern should persist learned errors to Mindbase MCP for cross-session learning
|
|
|
|
|
|
|
|
|
|
**Acceptance Criteria**:
|
|
|
|
|
- [ ] Research Mindbase MCP API
|
|
|
|
|
- [ ] Implement connection to Mindbase
|
|
|
|
|
- [ ] Add error persistence to Mindbase
|
|
|
|
|
- [ ] Add error retrieval from Mindbase
|
|
|
|
|
- [ ] Make Mindbase optional (graceful degradation)
|
|
|
|
|
- [ ] Add integration tests
|
|
|
|
|
- [ ] Document usage
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 6-8 hours
|
|
|
|
|
**Priority**: MEDIUM
|
|
|
|
|
**Blocked by**: Mindbase MCP availability
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### 6. Add Comprehensive Documentation
|
|
|
|
|
**Status**: IN PROGRESS
|
|
|
|
|
|
|
|
|
|
**Remaining tasks**:
|
|
|
|
|
- [ ] Add API reference documentation
|
|
|
|
|
- [ ] Create tutorial for PM Agent patterns
|
|
|
|
|
- [ ] Add more examples to KNOWLEDGE.md
|
|
|
|
|
- [ ] Document MCP server integration
|
|
|
|
|
- [ ] Create video walkthrough (optional)
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 8-10 hours
|
|
|
|
|
**Priority**: MEDIUM
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### 7. Improve CLI Commands
|
|
|
|
|
**Status**: TODO
|
|
|
|
|
**File**: `src/superclaude/cli/main.py`
|
|
|
|
|
|
|
|
|
|
**Enhancements**:
|
|
|
|
|
- [ ] Add `superclaude init` command (initialize project)
|
|
|
|
|
- [ ] Add `superclaude check` command (run confidence check)
|
|
|
|
|
- [ ] Add `superclaude validate` command (run self-check)
|
|
|
|
|
- [ ] Improve `superclaude doctor` output
|
|
|
|
|
- [ ] Add progress indicators
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 4-6 hours
|
|
|
|
|
**Priority**: MEDIUM
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 🔮 **Long-term Goals (v5.0 Major Release)**
|
|
|
|
|
|
|
|
|
|
### 8. TypeScript Plugin System
|
|
|
|
|
**Status**: PLANNED
|
|
|
|
|
**Issue**: [#419](https://github.com/SuperClaude-Org/SuperClaude_Framework/issues/419)
|
|
|
|
|
|
|
|
|
|
**Description**: Complete plugin system architecture allowing:
|
|
|
|
|
- Project-local plugin detection via `.claude-plugin/plugin.json`
|
|
|
|
|
- Plugin marketplace distribution
|
|
|
|
|
- TypeScript-based plugin development
|
|
|
|
|
- Auto-loading of agents, commands, hooks, skills
|
|
|
|
|
|
|
|
|
|
**Milestones**:
|
|
|
|
|
- [ ] Design plugin manifest schema
|
|
|
|
|
- [ ] Implement plugin discovery mechanism
|
|
|
|
|
- [ ] Create plugin SDK (TypeScript)
|
|
|
|
|
- [ ] Build plugin marketplace backend
|
|
|
|
|
- [ ] Migrate existing commands to plugin format
|
|
|
|
|
- [ ] Add plugin CLI commands
|
|
|
|
|
- [ ] Write plugin development guide
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 40-60 hours
|
|
|
|
|
**Priority**: LOW (v5.0)
|
|
|
|
|
**Status**: Proposal phase
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### 9. Enhanced Parallel Execution
|
|
|
|
|
**Status**: PLANNED
|
|
|
|
|
|
|
|
|
|
**Description**: Advanced parallel execution patterns:
|
|
|
|
|
- Automatic dependency detection
|
|
|
|
|
- Parallel wave optimization
|
|
|
|
|
- Resource pooling
|
|
|
|
|
- Failure recovery strategies
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 20-30 hours
|
|
|
|
|
**Priority**: LOW (v5.0)
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
### 10. Advanced MCP Integration
|
|
|
|
|
**Status**: PLANNED
|
|
|
|
|
|
|
|
|
|
**Description**: Deep integration with MCP servers:
|
|
|
|
|
- Serena: Code understanding (2-3x faster)
|
|
|
|
|
- Sequential: Token-efficient reasoning (30-50% reduction)
|
|
|
|
|
- Tavily: Enhanced web research
|
|
|
|
|
- Context7: Official docs integration
|
|
|
|
|
- Mindbase: Cross-session memory
|
|
|
|
|
|
|
|
|
|
**Estimated Effort**: 30-40 hours
|
|
|
|
|
**Priority**: LOW (v5.0)
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 🐛 **Known Issues**
|
|
|
|
|
|
|
|
|
|
### Non-Critical Bugs
|
|
|
|
|
|
|
|
|
|
1. **Unused methods in confidence.py**
|
|
|
|
|
- `_has_existing_patterns()` and `_has_clear_path()` defined but never called
|
|
|
|
|
- Consider removing or integrating into assess()
|
|
|
|
|
- Priority: LOW
|
|
|
|
|
|
|
|
|
|
2. **sys.path manipulation in cli/main.py**
|
|
|
|
|
- Line 12: `sys.path.insert(0, ...)` shouldn't be necessary
|
|
|
|
|
- Should rely on proper package installation
|
|
|
|
|
- Priority: LOW
|
|
|
|
|
|
|
|
|
|
3. **package.json references deleted bin/ files**
|
|
|
|
|
- Lines 6-7: postinstall/update scripts reference non-existent files
|
|
|
|
|
- Need to update or remove these scripts
|
|
|
|
|
- Priority: MEDIUM
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 📊 **Metrics and Goals**
|
|
|
|
|
|
|
|
|
|
### Test Coverage Goals
|
|
|
|
|
- Current: 0% (tests just created)
|
|
|
|
|
- Target v4.1.7: 50%
|
|
|
|
|
- Target v4.2.0: 80%
|
|
|
|
|
- Target v5.0: 90%
|
|
|
|
|
|
|
|
|
|
### Documentation Goals
|
|
|
|
|
- Current: 60% (good README, missing details)
|
|
|
|
|
- Target v4.1.7: 70%
|
|
|
|
|
- Target v4.2.0: 85%
|
|
|
|
|
- Target v5.0: 95%
|
|
|
|
|
|
|
|
|
|
### Performance Goals
|
|
|
|
|
- Parallel execution: 3.5x speedup (already achieved)
|
|
|
|
|
- Token efficiency: 30-50% reduction with proper budgeting
|
|
|
|
|
- Confidence check ROI: 25-250x token savings
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 🔄 **Backlog (Unprioritized)**
|
|
|
|
|
|
|
|
|
|
- [ ] Add pre-commit hooks
|
|
|
|
|
- [ ] Set up CI/CD pipeline
|
|
|
|
|
- [ ] Add benchmark suite
|
|
|
|
|
- [ ] Create Docker image
|
|
|
|
|
- [ ] Add telemetry (opt-in)
|
|
|
|
|
- [ ] Create VS Code extension
|
|
|
|
|
- [ ] Add interactive tutorials
|
|
|
|
|
- [ ] Implement agent orchestration
|
|
|
|
|
- [ ] Add workflow automation
|
|
|
|
|
- [ ] Create plugin templates
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 📝 **Notes for Contributors**
|
|
|
|
|
|
|
|
|
|
### How to Use This File
|
|
|
|
|
|
|
|
|
|
1. **Starting work**: Pick a task from "High Priority" section
|
|
|
|
|
2. **Completing a task**: Move to "Completed" and update status
|
|
|
|
|
3. **Adding a task**: Add to appropriate priority section with:
|
|
|
|
|
- Clear description
|
|
|
|
|
- Acceptance criteria
|
|
|
|
|
- Estimated effort
|
|
|
|
|
- Priority level
|
|
|
|
|
|
|
|
|
|
### Task Status Values
|
|
|
|
|
- **TODO**: Not started
|
|
|
|
|
- **IN PROGRESS**: Currently being worked on
|
|
|
|
|
- **BLOCKED**: Waiting on external dependency
|
|
|
|
|
- **REVIEW**: Awaiting code review
|
|
|
|
|
- **DONE**: Completed and merged
|
|
|
|
|
|
|
|
|
|
### Priority Levels
|
|
|
|
|
- **CRITICAL**: Blocking release, must fix immediately
|
|
|
|
|
- **HIGH**: Important for next release
|
|
|
|
|
- **MEDIUM**: Nice to have, plan for upcoming release
|
|
|
|
|
- **LOW**: Future enhancement, no immediate timeline
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 🤝 **Need Help?**
|
|
|
|
|
|
|
|
|
|
- **Questions about tasks**: Open an issue on GitHub
|
|
|
|
|
- **Want to pick up a task**: Comment on related issue or PR
|
|
|
|
|
- **Stuck on implementation**: Check KNOWLEDGE.md for insights
|
|
|
|
|
- **Architecture questions**: Review PLANNING.md
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
*This file is actively maintained and updated frequently. Check back often for new tasks and priorities.*
|
|
|
|
|
|
|
|
|
|
**Next Review Date**: 2025-11-19 (weekly review)
|