One file per post, and the path is the URLP4
YAML frontmatter for the metadata and the fields, and the post's first rich-text field as the document body — with the file recording which field that was, so reading it back never needs the model. A URL is unique per site so the tree cannot collide, and the folder travels in frontmatter because the two namespaces are deliberately separate. A file whose path and url disagree is an error, not a guess: a half-done rename is a move on one side and a create on the other.
---
postType: Page
title: Launching Shio 2026.3
status: DRAFT
folder: folder:acme/
bodyField: content
---
Shio is a CMS whose primary operator is a coding agent.