mirror of
https://github.com/nextlevelbuilder/ui-ux-pro-max-skill.git
synced 2026-11-18 16:23:38 +00:00
* fix: pin relevance-fingerprinted files to LF evaluate-relevance.py hashes the raw bytes of core.py, design_system.py, reasoning_contract.py, relevance_metrics.py, itself, relevance-cases.json and every CSV under src/ui-ux-pro-max/data, including data/stacks. On a Windows checkout with core.autocrlf=true these become CRLF (data/stacks/*.csv is not matched by the existing data/*.csv pin) and the gate fails with 'runtimeFingerprint does not match' on a clean tree. Pin the missing files to LF, as is already done for the catalog data (#462/#478). * fix(cli): quote the test:python pattern so it runs on Windows The single-quoted -p 'test_*.py' is passed literally by cmd.exe, so unittest discovers nothing and exits with 'NO TESTS RAN', which stops verify:data on Windows. Double quotes work in both cmd.exe and POSIX shells.
19 lines
1.2 KiB
Plaintext
19 lines
1.2 KiB
Plaintext
# catalog-summary.json records sha256 hashes of the files below, computed over
|
|
# their bytes. A CRLF checkout therefore produces different hashes than an LF
|
|
# one, which makes `verify:data` fail on every other platform (see #462/#478).
|
|
# Pin these files to LF so the snapshot is reproducible everywhere.
|
|
src/ui-ux-pro-max/data/*.csv text eol=lf
|
|
src/ui-ux-pro-max/data/*.json text eol=lf
|
|
src/ui-ux-pro-max/data/stacks/*.csv text eol=lf
|
|
|
|
# scripts/evaluate-relevance.py fingerprints the raw bytes of these files, and
|
|
# the committed thresholds manifest records that hash. A CRLF checkout (for
|
|
# example core.autocrlf=true on Windows) changes the bytes, so the relevance
|
|
# gate fails with "runtimeFingerprint does not match" on a clean tree.
|
|
src/ui-ux-pro-max/scripts/core.py text eol=lf
|
|
src/ui-ux-pro-max/scripts/design_system.py text eol=lf
|
|
src/ui-ux-pro-max/scripts/reasoning_contract.py text eol=lf
|
|
src/ui-ux-pro-max/scripts/tests/fixtures/relevance-cases.json text eol=lf
|
|
scripts/evaluate-relevance.py text eol=lf
|
|
scripts/relevance_metrics.py text eol=lf
|