pub fn validate_tree(
tree: &DocTree,
contract: &Contract,
path: &str,
) -> Vec<Finding>Expand description
Validate a pre-parsed tree against a contract: outline scan, structure plane (with node-local rules), content plane (frontmatter schema + content leaves), doc-scoped rules, deterministic sort.