pub fn render_finish_summary(args: &FinishTaskArgs) -> StringExpand description
Render a FinishTaskArgs into human-readable summary text.
Why: Shared by FinishTaskTool::execute (so the tool’s own ToolResult
content is meaningful) AND agent_loop::build_finish_output (so the final
AgentOutput.content on explicit finish reflects the SAME structured
report) — one rendering, no drift between the two call sites.
What: "Task <status>: <summary>" followed by an optional Changes: list
and an optional Tests: line.
Test: tests::render_includes_status_and_summary,
tests::execute_with_changes_and_tests_renders_all_fields.