diff --git a/src/core/tasks/review-edge-case-hunter.xml b/src/core/tasks/review-edge-case-hunter.xml index f312e1b2e..0aa82287e 100644 --- a/src/core/tasks/review-edge-case-hunter.xml +++ b/src/core/tasks/review-edge-case-hunter.xml @@ -15,16 +15,16 @@ Ignore the rest of the codebase unless the provided content explicitly reference Return ONLY a valid JSON array of objects. Each object must contain exactly these four fields and nothing else: -{ +[{ "location": "file:line", "trigger_condition": "one-line description (max 15 words)", "guard_snippet": "minimal code sketch that closes the gap", "potential_consequence": "what could actually go wrong (max 15 words)" -} -No extra text, no explanations, no markdown wrapping. +}] +No extra text, no explanations, no markdown wrapping. An empty array [] is valid when no unhandled paths are found. - MANDATORY: Execute ALL steps in the flow section IN EXACT ORDER + MANDATORY: Execute steps in the flow section IN EXACT ORDER unless a halt-condition triggers DO NOT skip steps or change the sequence HALT immediately when halt-conditions are met Each action xml tag within step xml tag is a REQUIRED action to complete that step @@ -39,7 +39,7 @@ No extra text, no explanations, no markdown wrapping. Load the content to review from provided input or context - If content to review is empty, ask for clarification and abort task + If content to review is empty or unreadable, HALT per halt-conditions Identify content type (diff, full file, or function) to determine scope rules