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>
This commit is contained in:
parent
80c9345e16
commit
19d6119542
|
|
@ -14,8 +14,11 @@ rules:
|
|||
path: "Docs/features/{feature_id}/discussions/feature.discussion.md"
|
||||
output_type: "feature_discussion_writer"
|
||||
implementation_gate:
|
||||
enabled: false # Disabled by default - enable when feature is ready for implementation
|
||||
path: "Docs/features/{feature_id}/discussions/implementation.discussion.md"
|
||||
output_type: "implementation_gate_writer"
|
||||
# To enable: set "enabled: true" in your project's .ai-rules.yml
|
||||
# This prevents unnecessary AI calls during initial feature discussion phase
|
||||
|
||||
feature_discussion_update:
|
||||
outputs:
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rules:
|
|||
readme:
|
||||
outputs:
|
||||
normalize:
|
||||
enabled: false # Disabled by default - enable in your project when you want AI to maintain README
|
||||
path: "{repo}/README.md"
|
||||
output_type: "readme_normalizer"
|
||||
instruction: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue