pub fn extract_metadata(bytes: &[u8]) -> (Option<String>, Vec<String>)Expand description
Extract description and tags from a .prompt file without strict schema validation.
Unlike parse, this function parses the frontmatter as a generic YAML value,
so it tolerates unknown top-level fields (e.g. author:, license:) that are
not declared in the strict Frontmatter struct.
Tags are looked up at the top level (tags:) and under intentry.tags.
Returns (description, tags) — both may be empty on parse failure.