π Bug Fixes
Socrates Template Loading Error Fixed
Resolved confusing "Error reading file" messages during Socrates initialization.
What changed:
- Removed redundant template loading step (Step 4) from Socrates initialization
- Simplified initialization process from 6 steps to 5 steps
- Fixed Plan command template paths (
.cddocβ.cdd) - Updated documentation to reflect streamlined initialization
Why this matters:
The cdd new command already stamps the complete template structure into spec files, making separate template loading unnecessary. This change eliminates error messages while
maintaining full functionality.
Impact:
- β¨ Cleaner, more professional initialization output
- β‘ Faster Socrates startup (one fewer file read operation)
- β No breaking changes - all functionality preserved
π Quality Improvements
Test Coverage Growth:
- Test suite expanded from 111 to 210 tests (89% increase!)
- Code coverage: 94%
- All quality gates passing: Black, Ruff, pytest
Updated Documentation:
- README badges now reflect current test metrics
- Socrates feature documentation updated
- Both English and Portuguese versions synchronized
π¦ Installation
pip install --upgrade cdd-claude
π Links
- https://pypi.org/project/cdd-claude/0.1.5/
- https://github.com/guilhermegouw/context-driven-documentation/compare/v0.1.4...v0.1.5
- https://github.com/guilhermegouw/context-driven-documentation/blob/main/specs/tickets/bug-socrates-error-file-load/spec.yaml