pub fn render_format(
value: Value,
format: OutputFormat,
presentation: PresentationMode,
) -> StringExpand description
Render a successful verb result value to a wire string using the given format.
Called at the single serialization seam (ADR-078 §9) AFTER all $prev chain
resolution and AFTER the PresentationMode transform.
Error envelopes (ok=false) are never passed here — the caller must handle
them as compact JSON directly (ADR-078 §8.2).
When format is OutputFormat::Json, returns compact JSON (serde_json::to_string).
When format is OutputFormat::Auto or OutputFormat::Table, applies the
redundancy-reduction pre-pass (§7) — unless presentation is PresentationMode::Verbose
— then dispatches to the shape-aware renderer.