Changed setup_project.py to only create request.md during setup, allowing the pre-commit hook automation to generate discussion and summary files. Problem (before): - setup_project.py created request.md, feature.discussion.md, and .sum.md - git commit staged ALL files and triggered pre-commit hook - runner.py saw request.md and tried to generate feature.discussion.md - But feature.discussion.md was already in the index → race condition - workflow.py also tried to update .sum.md → more conflicts Solution (now): - setup_project.py creates ONLY request.md - discussions/ directory is created but empty - First commit triggers automation: - runner.py sees request.md → generates feature.discussion.md (AI) - ensure_summary in pre-commit hook → creates .sum.md from template - workflow.py → updates .sum.md with vote data - No more conflicts between setup and automation Benefits: 1. No race condition - each file has one source of truth 2. Actually exercises the automation system on first commit 3. Generated files always match current automation rules 4. Simpler setup code (67 lines removed) Testing: The automation will now properly run on first commit instead of conflicting with pre-seeded files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cascadingdev | ||
| cascadingdev.egg-info | ||