Skip to content

fix(validation): support Windows line endings - #3

Open
qadsawee79 wants to merge 2 commits into
finna:mainfrom
qadsawee79:main
Open

fix(validation): support Windows line endings#3
qadsawee79 wants to merge 2 commits into
finna:mainfrom
qadsawee79:main

Conversation

@qadsawee79

Copy link
Copy Markdown

What changed

  • Accept both LF and CRLF line endings when validating skill YAML frontmatter.
  • Ignore generated Understand Anything cache data.

Why

The validator previously required LF-only frontmatter delimiters, causing valid
skills with Windows line endings to fail validation. The generated analysis cache
is local tool state and should not appear as repository work.

Impact

Finn-loop validation now behaves consistently on Windows and Unix-like systems,
while generated analysis data stays out of commits and pull requests.

Validation

  • node scripts/validate.mjs
  • Result: validated 3 skills, README links, and 8 safety contracts.

@qadsawee79
qadsawee79 marked this pull request as ready for review July 25, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant