Skip to content

Tags: candybox-ai/agentforge

Tags

v2.0.0

Toggle v2.0.0's commit message
🔥 Rebrand to AgentForge v2.0.0

Major rebranding from "Claude Agent Dispatch" to "AgentForge" with complete
engineering migration and critical bug fixes from code review.

## Core Changes

### Rebranding & Migration
- ✅ Rename main script: bin/claude-agent-dispatch → bin/agentforge
- ✅ Add backward compatibility symlink (bin/claude-agent-dispatch → agentforge)
- ✅ Update all project references and GitHub URLs
- ✅ Dual environment variable support (AGENTFORGE_LANG + CLAUDE_AGENT_DISPATCH_LANG)
- ✅ Deprecation warnings for old command usage

### Documentation
- ✅ Complete README redesign (869 lines)
  - Modern layout with badges and visual hierarchy
  - Comparison table: AgentForge vs Traditional Frameworks
  - 2 Mermaid diagrams (system overview, workflow)
  - Comprehensive FAQ section
- ✅ Chinese README (docs/README_zh.md) - 333 lines
- ✅ Brand assets and guidelines (BRAND_ASSETS.md)
- ✅ Engineering reports and analysis docs

### Code Updates (40+ files)
- ✅ Core modules (recipe-generator.sh, feedback-collector.sh)
- ✅ All 5 official Recipe YAML files
- ✅ Configuration files (settings.yaml, agent-sources.yaml)
- ✅ Test and installation scripts
- ✅ Example documentation (4 files)

## Critical Bug Fixes (Code Review)

### 1. Regex Syntax Error (core/data-extractor.sh:228, 238)
**Issue**: Malformed regex pattern causing bash parse errors
```bash
# Before (BROKEN):
if [[ "$line" =~ [Ee]rror:|ERROR:|✗ ]]; then

# After (FIXED):
if [[ "$line" =~ [Ee]rror: ]] || [[ "$line" =~ ERROR: ]] || [[ "$line" =~ ✗ ]]; then
```

### 2. jq Type Check Bug (core/data-extractor.sh:94)
**Issue**: `jq 'type'` returns quoted string, comparison failed
**Fix**: Added `-r` flag for raw output

### 3. jq Pattern Matching Syntax (core/data-extractor.sh:107-108)
**Issue**: Incorrect context access in nested jq filter
```bash
# Before (BROKEN):
select($text | test(.pattern; "i"))

# After (FIXED):
. as $item | select($text | test($item.pattern; "i"))
```

### 4. Download URL (docs/README_zh.md:125)
**Issue**: Referenced old filename in installation instructions
**Fix**: Updated URL to point to bin/agentforge

### 5. Integration Test Fixes
- Fixed test input pattern for agent extraction
- Corrected function name: extract_tech_stack → detect_tech_stack

## Test Results
- Integration tests: 12/18 passing (67%, up from 56%)
- Critical data-extractor tests now passing ✅
- Main script functionality verified ✅

## Backward Compatibility
✅ **100% backward compatible**
- Old command still works with deprecation warning
- Environment variables support both old and new names
- Recipe format unchanged
- No breaking changes for existing users

## Files Modified
- **Created**: 1 new main script (bin/agentforge)
- **Modified**: 40+ files (core, recipes, configs, docs, tests)
- **Converted**: 1 symlink (bin/claude-agent-dispatch)
- **Documentation**: 9 new analysis and report files

## Migration Notes
- Users can continue using `claude-agent-dispatch` command
- Recommended to update to `agentforge` for future compatibility
- GitHub repository rename pending (manual operation)

---

🔥 AgentForge - Forge your workflow, evolve your agents

🤖 Generated with Claude Code
https://github.com/candybox-ai/agentforge

Co-Authored-By: Claude <noreply@anthropic.com>