HF RL Explorer

Add schema-based frontmatter validation to contentFileResource and parseRawContentFile

Add schema-based frontmatter validation to contentFileResource and parseRawContentFile: a task in LegoFlow-SWE (Harbor dataset). The validation must integrate with any library implementing the Standard Schema interface ( StandardSchemaV1 ). Examples include Valibot, Zod, ArkType, etc. The…

The task

The validation must integrate with any library implementing the **Standard Schema** interface (`StandardSchemaV1`). Examples include Valibot, Zod, ArkType, etc. The `~standard.validate()` method returns either `{ value: T }` on success or `{ issues: Issue[] }` on failure.

Part of Lego-X/LegoFlow-SWE.