mirror of
https://github.com/cexll/myclaude.git
synced 2025-12-24 13:47:58 +08:00
- Added Skills System Enhancements section to CHANGELOG - Documented new skills: codeagent, product-requirements, prototype-prompt-generator - Removed deprecated test files (tests/test_*.py) - Updated release date to 2025-12-13 Generated with swe-agent-bot Co-Authored-By: swe-agent-bot <agent@swe-agent.ai>
5.0 KiB
5.0 KiB
Changelog
5.2.0 - 2025-12-13
🚀 Core Features
Skills System Enhancements
- New Skills: Added
codeagent,product-requirements,prototype-prompt-generatortoskill-rules.json - Auto-Activation: Skills automatically trigger based on keyword/pattern matching via hooks
- Backward Compatibility: Retained
skills/codex/SKILL.mdfor existing workflows
Multi-Backend Support (codeagent-wrapper)
- Renamed:
codex-wrapper→codeagent-wrapperwith pluggable backend architecture - Three Backends: Codex (default), Claude, Gemini via
--backendflag - Smart Parser: Auto-detects backend JSON stream formats
- Session Resume: All backends support
-r <session_id>cross-session resume - Parallel Execution: DAG task scheduling with global and per-task backend configuration
- Concurrency Control:
CODEAGENT_MAX_PARALLEL_WORKERSenv var limits concurrent tasks (max 100) - Test Coverage: 93.4% (backend.go 100%, config.go 97.8%, executor.go 96.4%)
Dev Workflow
/dev: 6-step minimal dev workflow with mandatory 90% test coverage
Hooks System
- UserPromptSubmit: Auto-activate skills based on context
- PostToolUse: Auto-validation/formatting after tool execution
- Stop: Cleanup and reporting on session end
- Examples: Skill auto-activation, pre-commit checks
Skills System
- Auto-Activation:
skill-rules.jsonregex trigger rules - codeagent skill: Multi-backend wrapper integration
- Modular Design: Easy to extend with custom skills
Installation System Enhancements
merge_jsonoperation: Auto-mergesettings.jsonconfiguration- Modular Installation:
python3 install.py --module dev - Verbose Logging:
--verbose/-venables terminal real-time output - Streaming Output:
op_run_commandstreams bash script execution - Configuration Cleanup: Removed deprecated
ghmodule fromconfig.json
📚 Documentation
docs/architecture.md(21KB): Architecture overview with ASCII diagramsdocs/CODEAGENT-WRAPPER.md(9KB): Complete usage guidedocs/HOOKS.md(4KB): Customization guideREADME.md: Added documentation index, corrected default backend description
🔧 Important Fixes
codeagent-wrapper
- Fixed Claude/Gemini backend
-C(workdir) and-r(resume) parameter support (codeagent-wrapper/backend.go:80-120) - Corrected Claude backend permission flag logic
if cfg.SkipPermissions(codeagent-wrapper/backend.go:95) - Fixed parallel mode startup banner duplication (codeagent-wrapper/main.go:184-194 removed)
- Extract and display recent errors on abnormal exit
Logger.ExtractRecentErrors()(codeagent-wrapper/logger.go:156) - Added task block index to parallel config error messages (codeagent-wrapper/config.go:245)
- Refactored signal handling logic to avoid duplicate nil checks (codeagent-wrapper/main.go:290-305)
- Removed binary artifacts from tracking (codeagent-wrapper, *.test, coverage.out)
Installation Scripts
- Fixed issue #55:
op_run_commanduses Popen + selectors for real-time streaming output - Fixed issue #56: Display recent errors instead of entire log
- Changed module list header from "Enabled" to "Default" to avoid ambiguity
CI/CD
- Removed
.claude/config file validation step (.github/workflows/ci.yml:45) - Updated version test case from 5.1.0 → 5.2.0 (codeagent-wrapper/main_test.go:23)
Commands & Documentation
- Reverted
skills/codex/SKILL.mdtocodex-wrapperfor backward compatibility
dev-workflow
- Replaced Codex skill → codeagent skill throughout
- Added UI auto-detection: backend tasks use codex, UI tasks use gemini
- Corrected agent name:
develop-doc-generator→dev-plan-generator
⚙️ Configuration & Environment Variables
New Environment Variables
CODEAGENT_SKIP_PERMISSIONS: Control permission check behavior- Claude backend defaults to
--dangerously-skip-permissionsenabled, set totrueto disable - Codex/Gemini backends default to permission checks enabled, set to
trueto skip
- Claude backend defaults to
CODEAGENT_MAX_PARALLEL_WORKERS: Parallel task concurrency limit (default: unlimited, recommended: 8, max: 100)
Configuration Files
config.schema.json: Addedop_merge_jsonschema validation
⚠️ Breaking Changes
codex-wrapper → codeagent-wrapper rename
Migration:
python3 install.py --module dev --force
Backward Compatibility: codex-wrapper/main.go provides compatibility entry point
📦 Installation
# Install dev module
python3 install.py --module dev
# List all modules
python3 install.py --list-modules
# Verbose logging mode
python3 install.py --module dev --verbose
🧪 Test Results
✅ All tests passing
- Overall coverage: 93.4%
- Security scan: 0 issues (gosec)
- Linting: Pass
📄 Related PRs & Issues
- PR #53: Enterprise Workflow with Multi-Backend Support
- Issue #55: Installation script execution not visible
- Issue #56: Unfriendly error logging on abnormal exit
👥 Contributors
- Claude Sonnet 4.5
- Claude Opus 4.5
- SWE-Agent-Bot