Parse model annotations from skill frontmatter (#38467)

## What changed

- Add an optional `model` field to parsed and loaded skill metadata.
- Recognize `model: luna` while ignoring unsupported model values without
  preventing the rest of the skill metadata from loading.

## Testing

- Cover supported, absent, unsupported, and repaired frontmatter model values.

GitOrigin-RevId: 376b65555e81d29a5eae93cc4c2633aacf7cd7c8
This commit is contained in:
felixxia-oai authored and copyberry committed 2026-08-14 00:54:45 +00:00
1 parent c6dee5f49f
commit 3711943d11
17 files changed
+122 -1

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ fn test_skill_metadata(skill_doc_path: AbsolutePathBuf) -> SkillMetadata {
name: "test-skill".to_string(),
description: "test".to_string(),
short_description: None,
model: None,
interface: None,
dependencies: None,
policy: None,