extract_refinement


Description:

public void extract_refinement (Details task)

Parses single-task refinement output.

Expects section "Task": walk contents - List → first List.to_key_map()task.update_props(map); Block (FENCED_CODE) → task.code_blocks.add(block). Appends to issues on missing section/list or task validation. Content format: **What is needed**, **Skill**, **References**, **Expected output**, **Skill call**; optional fenced code block.

Parameters:

task

the task to update with refined props and code blocks