fix(skills): reject invalid frontmatter YAML by phernandez · Pull Request #896 · basicmachines-co/basic-memory · GitHub
Skip to content

fix(skills): reject invalid frontmatter YAML - #896

Merged
phernandez merged 2 commits into
mainfrom
codex/fix-invalid-skill-yaml
Jun 5, 2026
Merged

fix(skills): reject invalid frontmatter YAML#896
phernandez merged 2 commits into
mainfrom
codex/fix-invalid-skill-yaml

Conversation

@phernandez

Copy link
Copy Markdown
Member

Summary

  • tighten the dependency-free skill frontmatter parser to reject unquoted plain-scalar values containing colon-space
  • add regression coverage for the Codex loader failure shape while preserving nested schema frontmatter behavior

Test Plan

  • uv run pytest tests/ci/test_validate_skills.py -q
  • uv run ruff check scripts/validate_skills.py tests/ci/test_validate_skills.py
  • uv run ruff format --check scripts/validate_skills.py tests/ci/test_validate_skills.py
  • just typecheck
  • just package-check-skills
  • just package-check

Signed-off-by: phernandez <paul@basicmachines.co>
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Signed-off-by: phernandez <paul@basicmachines.co>
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

@phernandez
phernandez merged commit ce4b5d4 into main Jun 5, 2026
26 of 29 checks passed
@phernandez
phernandez deleted the codex/fix-invalid-skill-yaml branch June 5, 2026 18:14
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