Skip to content

fix(setup): block-style YAML for Goose and Hermes configs - #29

Merged
mathias-heide merged 1 commit into
mainfrom
fix/yaml-block-style
Sep 11, 2026
Merged

mathias-heide merged 1 commit into
mainfrom
fix/yaml-block-style

Conversation

@mathias-heide

Copy link
Copy Markdown
Contributor

Summary

summer setup goose on an empty config (and --print for goose/hermes) rendered the file as one flow mapping ({ extensions: { ... } }) because the writer started from parseDocument("{}"). It now starts from a fresh Document, so new files are block-style YAML like every hand-written Goose config. Existing files are untouched in style, as before.

Test plan

  • New test: printed snippet and a fresh Hermes file start with the block-style key
  • npx vitest run 1483 pass

🤖 Generated with Claude Code

An empty config file (and --print) started from parseDocument("{}"), so
the root was a flow mapping and the whole file rendered as one {...}
blob. Start from a fresh Document instead; existing files keep their
style as before.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@mathias-heide
mathias-heide merged commit d67e041 into main Sep 11, 2026
@mathias-heide
mathias-heide deleted the fix/yaml-block-style branch September 11, 2026 17:35
@mathias-heide mathias-heide mentioned this pull request Sep 11, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant