Repository navigation
fix: #11 The frontmatter of every AI item is YAML a strict parser reads - #12
Merged
Merged
Conversation
A description with ": " in a plain value is a second key to a YAML parser: the item reached the other AI command-line assistants with an empty description. Reworded, and a test reads the frontmatter the strict way. AI-Generated: Yes Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
Closes #11
The description of the item below held
:in a plain YAML value, which a strict parser reads as a second key and rejects. The clause is now set off with an em dash, as the other descriptions do; nothing else in the items changed.ai/agents/projects-site-keeper.mdtests/items.test.tsgains one test, "the frontmatter of every item is YAML a strict parser reads": for every agent, skill and command of the manifest, a plain value with:or#in it, or starting with a sign YAML keeps for itself, fails; a quoted value has to be closed. It fails on1.0.xbefore the rewording and passes after.npm run lintclean;npm test: 13 pass, 0 fail.Checked on a workspace with the changed file in place:
--install --cli geminiwrites the whole description, where the published item arrives withdescription: ''.Not run: Gemini CLI, Codex and the other assistants themselves (signed out or not on the machine): what was checked is the file the workspace writes for them.
AI-Generated: Yes
Checkpoints
🤖 Generated with Claude Code