refactor: remove JSON output requirement from reviewer prompt
Let extractMetaOrThrow do its job — agent outputs naturally, LLM extract handles structuring.
This commit is contained in:
@@ -37,14 +37,7 @@ Review the current git diff in \`${cwd}\`. Give a clear **approve** or **reject*
|
|||||||
|
|
||||||
Only reject for **blocking issues** — things that must be fixed before merge. Do not mention minor style preferences or non-blocking suggestions; they will be ignored.
|
Only reject for **blocking issues** — things that must be fixed before merge. Do not mention minor style preferences or non-blocking suggestions; they will be ignored.
|
||||||
|
|
||||||
End with your verdict:
|
End with your verdict — clearly state whether the code is approved or rejected, and if rejected, list the blocking issues.`;
|
||||||
\`\`\`json
|
|
||||||
{ "status": "approved" }
|
|
||||||
\`\`\`
|
|
||||||
or
|
|
||||||
\`\`\`json
|
|
||||||
{ "status": "rejected", "issues": ["issue 1", "issue 2"] }
|
|
||||||
\`\`\``;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user