···4040 raw = toml.parse(frontmatterStr) as Record<string, unknown>;
4141 } else {
4242 // Use CORE_SCHEMA to keep dates as strings rather than Date objects
4343- raw = (yaml.load(frontmatterStr, { schema: yaml.CORE_SCHEMA }) as Record<string, unknown>) ?? {};
4343+ raw =
4444+ (yaml.load(frontmatterStr, { schema: yaml.CORE_SCHEMA }) as Record<
4545+ string,
4646+ unknown
4747+ >) ?? {};
4448 }
45494650 // Apply field mappings to normalize to standard PostFrontmatter fields