Hey folks, for far too long I have been trying to automating update the *.mdc/RULE.md and I keep facing the same problem: Rule Frontmatter Format.
I still do not understand what format suppose to be, it feels like YAML but it is not YAML since things like globs: […] brackets would cause issue or globs: “…” double quotes also. Unless it is actually YAML and the issue is just a display issue in the IDE
Let alone with the fact that I do not have a union type representing the discrimination union between AlwaysApplySchema ApplyIntelligentlySchema ApplyToSpecificFilesSchema ApplyManuallySchema … having to check the combination of values to figure out the “valid” values …
I don’t get it.
I don’t have the specification format, and the discrimination union is way too complex for LLMs to do the basic modifications.
I would appreciate if Cursor decides to be YAML based and add a type or kind or whatever to the frontmatter that decides the validity of the rest of the values.




