Skip to content

Release v0.1.5 - Fix Socrates Template Loading

Latest

Choose a tag to compare

@guilhermegouw guilhermegouw released this 05 Nov 19:50

πŸ› 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