diff --git a/.github/workflows/cursor-automation.yml b/.github/workflows/cursor-automation.yml index f745e1d64..4ffffb639 100644 --- a/.github/workflows/cursor-automation.yml +++ b/.github/workflows/cursor-automation.yml @@ -4669,7 +4669,7 @@ jobs: lastAutomationRequestAt, lastCodexSummaryAt: latestCodexReview.at, }); - if (['fix', 'give_up'].includes(decision.action)) { + if (['fix', 'give_up', 'mark_ready'].includes(decision.action)) { const marker = ``; const alreadyDispatched = issueComments.some((comment) => diff --git a/scripts/cursor-automation.test.cjs b/scripts/cursor-automation.test.cjs index 9a466c1f1..491410167 100644 --- a/scripts/cursor-automation.test.cjs +++ b/scripts/cursor-automation.test.cjs @@ -79,7 +79,7 @@ test('Codex polling dispatches actionable submitted reviews to the fix loop', () assert.match(poll, /actions: write/); assert.match(poll, /DISPATCH_TOKEN:/); assert.match(poll, /latestCodexReview/); - assert.match(poll, /\['fix', 'give_up'\]\.includes\(decision\.action\)/); + assert.match(poll, /\['fix', 'give_up', 'mark_ready'\]\.includes\(decision\.action\)/); assert.match(poll, /cursor-codex-dispatch:review-id=/); assert.match(poll, /const alreadyDispatched/); assert.match(poll, /let dispatchRejected = false/);