(cwd)
| 57 | } |
| 58 | |
| 59 | function buildSetupNote(cwd) { |
| 60 | const availability = getCodexAvailability(cwd); |
| 61 | if (availability.available) { |
| 62 | return null; |
| 63 | } |
| 64 | |
| 65 | const detail = availability.detail ? ` ${availability.detail}.` : ""; |
| 66 | return `Codex is not set up for the review gate.${detail} Run /codex:setup.`; |
| 67 | } |
| 68 | |
| 69 | function parseStopReviewOutput(rawOutput) { |
| 70 | const text = String(rawOutput ?? "").trim(); |
no test coverage detected