Bug
S001 (required-sections) requires exact heading text. A heading like:
## Acceptance Criteria — spec-linter v0.0.1
fails with Missing required section: "Acceptance Criteria" even though the section is clearly present. Found by dogfooding on the UnityInFlow root CLAUDE.md, which suffixes the section name with the tool/version it applies to.
Expected
A required section should match on prefix (heading starts with the required name, followed by end-of-line or a separator like —, -, :), so versioned or scoped headings pass.
Notes
Workaround used: move the suffix into an ### subsection under a bare ## Acceptance Criteria heading.
🤖 Filed via Claude Code while dogfooding v0.0.1
Bug
S001 (required-sections) requires exact heading text. A heading like:
## Acceptance Criteria — spec-linter v0.0.1fails with
Missing required section: "Acceptance Criteria"even though the section is clearly present. Found by dogfooding on the UnityInFlow root CLAUDE.md, which suffixes the section name with the tool/version it applies to.Expected
A required section should match on prefix (heading starts with the required name, followed by end-of-line or a separator like
—,-,:), so versioned or scoped headings pass.Notes
Workaround used: move the suffix into an
###subsection under a bare## Acceptance Criteriaheading.🤖 Filed via Claude Code while dogfooding v0.0.1