Summary
Introduce taxonomy annotations for all checked-in product .feature scenarios. Then enforce annotation cardinality in the integration framework standards checker.
Rationale
The current suite has no consistent use of @cap and @feat tags. Enforcing the rule now would fail all existing product scenarios. The annotation rollout must complete before standards-check rejects missing or duplicate tags.
Affected areas
tests/framework/suites/it/features/**/*.feature
tests/framework/suites/ui/features/**/*.feature
tests/framework/cmd/standards/main.go, specifically checkFeatures
Required changes
- Define and apply exactly one
@cap tag and one @feat tag to every product scenario.
- Update
checkFeatures to parse scenario boundaries.
- Make
checkFeatures reject product scenarios with zero or multiple @cap tags.
- Make
checkFeatures reject product scenarios with zero or multiple @feat tags.
- Preserve the existing feature validation checks.
Acceptance criteria
- Every checked-in product scenario has exactly one
@cap tag and exactly one @feat tag.
standards-check reports missing and duplicate taxonomy annotations per scenario.
- Existing feature validation remains active.
- Tests cover valid, missing, and duplicate annotations.
Backlinks
Summary
Introduce taxonomy annotations for all checked-in product
.featurescenarios. Then enforce annotation cardinality in the integration framework standards checker.Rationale
The current suite has no consistent use of
@capand@feattags. Enforcing the rule now would fail all existing product scenarios. The annotation rollout must complete beforestandards-checkrejects missing or duplicate tags.Affected areas
tests/framework/suites/it/features/**/*.featuretests/framework/suites/ui/features/**/*.featuretests/framework/cmd/standards/main.go, specificallycheckFeaturesRequired changes
@captag and one@feattag to every product scenario.checkFeaturesto parse scenario boundaries.checkFeaturesreject product scenarios with zero or multiple@captags.checkFeaturesreject product scenarios with zero or multiple@feattags.Acceptance criteria
@captag and exactly one@feattag.standards-checkreports missing and duplicate taxonomy annotations per scenario.Backlinks