Part of #82
Question
When the editor saves a layout, does it produce canonical (lossy) YAML via Pydantic model_dump(), or does it use ruamel.yaml to preserve comments and formatting? The trade-off: canonical is simple and always valid, but strips inline comments and manual formatting. Preserving comments requires carrying the original raw YAML alongside the parsed model and merging edited fields back in. Decide which path v1 ships.
Part of #82
Question
When the editor saves a layout, does it produce canonical (lossy) YAML via Pydantic
model_dump(), or does it useruamel.yamlto preserve comments and formatting? The trade-off: canonical is simple and always valid, but strips inline comments and manual formatting. Preserving comments requires carrying the original raw YAML alongside the parsed model and merging edited fields back in. Decide which path v1 ships.