Repository navigation
v2.1.0 - Tool Error Extraction & Workflow Tracking
v2.1.0 - Tool Error Extraction & Workflow Tracking
This release adds two improvements to claude-reflect:
New Features
Tool Error Extraction (#6)
Scan session files for repeated tool execution errors that reveal project-specific issues and convert them into CLAUDE.md guidelines.
What it extracts:
- Connection errors → "Check .env for service URLs"
- Environment undefined → "Load .env before accessing variables"
- Supabase/Postgres/Redis errors → "Check config"
- Module not found → "Verify project structure"
What it excludes:
- Claude Code guardrails (already known to Claude)
- Global Claude behavior (bash quoting, EISDIR)
- One-off errors (only 2+ occurrences)
Usage:
/reflect --scan-history --include-tool-errorsMandatory TodoWrite Tracking
The /reflect workflow now uses TodoWrite to track all 10+ phases, preventing steps from being skipped.
Why this matters:
- Complex workflows stay on track
- Real-time visibility into progress
- Each step acts as a checkpoint
Files Changed
commands/reflect.md- Added TodoWrite initialization + tool error stepscripts/extract_tool_errors.py- New CLI wrapperscripts/lib/reflect_utils.py- Error extraction functionsscripts/lib/semantic_detector.py- Error validationtests/test_tool_errors.py- 20 new tests
Stats
- 1,019 lines added
- 130 tests total (all passing)
Generated with Claude Code