Three fixes for validation consistency: 1. bd create --validate now uses LintIssue() instead of ValidateTemplate(), bringing it to parity with bd lint. A non-empty --acceptance field now satisfies the "Acceptance Criteria" requirement without needing the heading in --description. (GH#2468 parity) 2. --dry-run no longer bypasses --validate. Validation now runs before the dry-run exit, so users get feedback on template issues during preview. 3. New validation.on-close config option (none|warn|error, default: none). When enabled, warns on terse close reasons (<20 chars) or default "Closed" reasons. Mirrors existing validation.on-create pattern. Co-Authored-By: seanmartinsmith <114885497+seanmartinsmith@users.noreply.github.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bead.go | ||
| bead_test.go | ||
| issue.go | ||
| issue_test.go | ||
| template.go | ||
| template_test.go | ||