Repository navigation
refactor: rename ai_declaration_options to ai_declaration_checkboxes - #700
Conversation
The entries are the texts of the template's checkboxes. Our other list options name what they hold (ai_disclosure_trailers, allow_commit_types), and "option" already means a config key in the docs. The CC5xx range is renamed Pull request rules so title rules can join it later. Neither name has been released.
Walkthrough
Merge Risk:
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #700 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 15 15
Lines 2705 2705
Branches 536 536
=========================================
Hits 2705 2705 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merging this PR will not alter performance1 warning
Comparing Footnotes
|



Renames two names from #699 before they ship. Neither has been released.
Before
Rule range:
CC5xx Pull request description rulesAfter
Rule range:
CC5xx Pull request rulesWhy
ai_disclosure_trailers,allow_commit_types,prohibited_patterns);optionsdoes not, and in the docs "option" already means a config key.ai-declarationand the ID CC501 stay. "Declaration" stays apart from "disclosure", which means the commit trailers here (CC014,ai_disclosure_trailers); the README now says templates often head the section "AI disclosure".Checked
ruff check,ruff format --check, andpytest: 1681 passed, coverage 100%.Summary by CodeRabbit
ai_declaration_checkboxesfor the CC501 check.ai_declaration_checkboxesname. Existing checkbox validation and rule behavior remain unchanged.