story-kit: start 72_bug_story_creation_does_not_quote_yaml_special_characters_in_name

This commit is contained in:
Dave
2026-02-23 14:24:17 +00:00
parent 4ac6c4d114
commit 7132291507

View File

@@ -0,0 +1,23 @@
# Bug 72: Story creation does not quote YAML special characters in name
## Description
The create_story MCP tool writes the name value into YAML front matter without quoting. If the name contains YAML-special characters like colons, the resulting front matter is invalid YAML and fails to parse.
## How to Reproduce
1. Call create_story with a name containing a colon, e.g. "Server-owned agent completion: remove report_completion dependency"
2. Open the generated .md file
3. Observe the front matter parser rejects it
## Actual Result
Invalid front matter: mapping values are not allowed in this context
## Expected Result
The name value should be quoted in the front matter so special characters are safe, e.g. name: "My story: with colons"
## Acceptance Criteria
- [ ] Bug is fixed and verified