Skip to content

Lint: validate decisions-index against all decisions-index Feature REQs #15

@trakhimenok

Description

@trakhimenok

Summary

Add lint rules that validate spec/decisions/README.md (active decisions index) and spec/decisions/archived/README.md (archived decisions index) against every REQ in the decisions-index Feature (Status: Approved).

Source

Rules to implement

Rule REQ Scenario stub Auto-fix?
List section must use heading `## Decisions` list-section-heading wrong-list-section-heading-rejected No
Table must include columns #, Decision, Status, Date, Tags, Affected (in order) index-columns missing-index-columns-rejected No
No Superseded/Deprecated rows in active index status-excludes-archived archived-decision-in-active-index-rejected No
Rows in ascending numeric order by # numeric-ordering out-of-order-rows-rejected Yeslint --fix reorders
Archived index in chronological order by Date archived-index-chronological archived-index-out-of-order-rejected Yeslint --fix reorders
Adherence footer with correct URL adherence-footer missing-adherence-footer-rejected No

Also inherits shared Index rules from the Index Feature: completeness (every active Decision has a row), required sections minimum, adherence-footer delegation.

Dogfood fixture

The current spec/decisions/README.md in specscore/specscore has been updated to match the specified column set and must pass all new rules without modification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions