pub fn apply_tree_audit(doc: &mut PlanDocument, tree: &TreeReport)Expand description
Fold the verify stage’s result into a document the core pipeline assembled.
Appends "verify" to generator.stages, which is what tells a consumer the
two tree fields mean anything at all. Idempotent: running verify twice does
not list the stage twice.