CascadingDev/assets/templates/rules
rob 19d6119542 fix: Disable unnecessary automation outputs during initial setup
Disabled two outputs that were causing errors during first commit:

1. implementation_gate (features.ai-rules.yml)
   - Was trying to generate implementation.discussion.md on every request.md commit
   - Should only run when feature status = READY_FOR_IMPLEMENTATION
   - Error: "Sanitized patch missing diff header"
   - Fix: Set enabled: false by default
   - Users can enable in project .ai-rules.yml when needed

2. readme normalizer (root.ai-rules.yml)
   - Was trying to update README.md whenever policies.yml was staged
   - Caused errors during initial commit
   - Error: "Sanitized patch missing diff header"
   - Fix: Set enabled: false by default
   - Users can enable when they want AI to maintain README

Benefits:
- Clean setup with no [runner] errors
- Faster first commit (fewer AI calls)
- Users can enable features incrementally as needed
- Only essential automation runs by default (feature discussions)

Remaining warnings are expected:
- [agents] warnings: Claude CLI permission prompts (normal behavior)
- [summary] warnings: Template markers not found (handled gracefully)

Testing:
Setup now completes cleanly with only feature.discussion.md generated.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 01:44:18 -03:00
..
features.ai-rules.yml fix: Disable unnecessary automation outputs during initial setup 2025-11-01 01:44:18 -03:00
root.ai-rules.yml fix: Disable unnecessary automation outputs during initial setup 2025-11-01 01:44:18 -03:00