torchcell.paper.tables.read_frontmatter

read_frontmatter(path: str | Path, *, default_title: str = 'Untitled') → str[source]

Return the leading dendron ---...--- block of a note (verbatim), or a minimal one if absent – so a regenerated note keeps its dendron identity.