Skip to content

extract --check: add content-hash mode to catch within-version drift #1

Description

@malinfossum

node tools/extract.mjs design-system <target> --check compares only the version anchor header, so consumer files can drift within the same version undetected. This happened on the ds-identity-spec branch: fix commit df88543 drifted 3 scaffold files, caught only by the final whole-branch review.

Proposal: hash each extracted file against its canonical source so --check reports any content difference, not just version mismatches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions