fix(skill): valid YAML + ≤1024 description for ornn-agent-manual-cli frontmatter - #1186
Merged
Merged
Conversation
…#1185) The v1.4 description (#1183) was an unquoted YAML plain scalar containing "SKILLSET request: bundle" — a ': ' colon-space makes the yaml parser read a nested mapping, so ingest/refresh failed with INVALID_FRONTMATTER ("Nested mappings are not allowed in compact mappings"). skip_validation does not bypass it — YAML parse precedes format validation. The value was also ~1400 chars vs the schema's 1024 cap (skillFrontmatter.ts:225). Reword the offending clause (colon → semicolon/comma) and trim to 993 chars while keeping the trigger-oriented content. Verified with the API's own yaml.parse + validateSkillFrontmatter (both pass). Fixes #1185. Regression from #1183.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hotfix for a regression from #1183. The v1.4
descriptionbroke on skill ingest/refresh:SKILLSET request: bundle; the:(colon-space) makes theyamlparser read a nested mapping →INVALID_FRONTMATTER.skip_validationdoesn't help (YAML parse precedes format validation)..max(1024)cap atskillFrontmatter.ts:225.Fix
Reworded the offending clause (colon → semicolon/comma) and trimmed to 993 chars, keeping the trigger-oriented content (skills + skillsets + plugin-export + ownership-transfer triggers all retained).
Verification
Ran the API's own
yaml.parse+validateSkillFrontmatteron the fixed file:Docs-only (empty changeset); the skill is registry-sourced, not bundled into either image.
Fixes #1185. Regression from #1183.