mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-21 18:47:02 +03:00
Fix Codex skill version metadata (#703)
Move Codex and .agents skill versions under metadata while keeping all version readers compatible with legacy top-level frontmatter.\n\nAI assistance: prepared with Codex under maintainer direction.
This commit is contained in:
@@ -162,6 +162,15 @@ describe('generateYamlFrontmatter', () => {
|
||||
expect(result).toContain('user-invocable: true');
|
||||
});
|
||||
|
||||
test('should generate nested metadata', () => {
|
||||
const result = generateYamlFrontmatter({
|
||||
name: 'test',
|
||||
metadata: { version: '1.2.3' },
|
||||
});
|
||||
|
||||
expect(result).toContain('metadata:\n version: 1.2.3');
|
||||
});
|
||||
|
||||
test('should roundtrip: generate and parse back', () => {
|
||||
const original = {
|
||||
name: 'roundtrip-test',
|
||||
|
||||
Reference in New Issue
Block a user