[bug] Outside review reported as unavailable when the reviewer answers in another language: the Recommendation line needs the literal word "because"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- bun, typescript
- Domain
- backend-api-design, testing-qa
Research direction
Start with the completion checks in lib/outside-review-result.ts and compare them with the prompt in office-hours/sections/second-opinion.md. Reproduce the issue using the review text in the report, then decide with maintainers whether to pin marker wording in the prompt or relax the check. Done when the reported Russian recommendation is handled as intended and the English example still works.
Written by the indexing model from the issue text.
Description
What happens
A Codex outside review that ran to completion and ended with VERDICT: FINDINGS is classified as missing coverage:
VERDICT: unavailable
FINDINGS: P1
REASON: missing_markers
Codex outside review unavailable: the response lacks the markers this gate requires (missing review completion recommendation).
The reviewer answered in Russian. It kept the English marker keys (**Severity: High.**, Recommendation:, VERDICT: FINDINGS) but translated the connector word inside the recommendation: Recommendation: <action> потому что <reason> instead of Recommendation: <action> because <reason>.
Where
lib/outside-review-result.ts (1.106.4.0, 025f2135; the same lines at 1.106.5.0):
- line 311: for the
reviewandproposalgates, a completed review needs a line matching/^Recommendation:[\t ]*[^\r\n]+\bbecause\b[\t ]*\S[^\r\n]+$/im; - line 207: the
## Recommendationheading form also requires\bbecause\b.
The outside-voice prompt (for example office-hours/sections/second-opinion.md) asks for a Recommendation: <action> because <reason> line, but does not say the marker lines must stay verbatim in English.
Repro without Codex
Two review files, identical except for the connector word, through bun lib/outside-review-result.ts --label 'Codex outside review' --exit 0 review <file>:
1. **Severity: High.** <finding text>
Recommendation: <action> потому что <reason>.
VERDICT: FINDINGS
gives VERDICT: unavailable / REASON: missing_markers (exit 1). The same file with because gives VERDICT: findings / FINDINGS: P1 (exit 3).
Why the reviewer answered in another language
The reviewer's global instructions file asks it to reply in the user's language. codex exec loads that file on every run, and nothing in the gate's prompt pins the marker lines to English. Any non-English user can hit this, and a finished review then reads as missing coverage.
What we would expect
Either the prompt states that marker lines (Severity:, Recommendation: … because …, VERDICT:) stay verbatim in English whatever the reply language, or the completion check stops requiring the literal word because (for example, any Recommendation: line with an action and a reason). The choice is the maintainers'.
Environment
- gstack 1.106.4.0 (025f2135) and 1.106.5.0; Codex CLI via
codex exec; Linux and Windows. - A search of open and closed issues for "because Recommendation localized" and "missing_markers language" found none about this.
- Dominant language
- TypeScript
- Stars
- 143k
- Forks
- 21.1k
- Avg merge
- 4h 18m
- Merged PRs (30d)
- 745
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from garrytan/gstack
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
garrytan/gstack#4986 · 2 comments ·
Maintainers usually reply within 1 day
-
[feature] Lane discipline: name the return for a mid-build finding that defeats the approved planOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
garrytan/gstack#4985 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
garrytan/gstack#4982 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Add: Alfa DramasOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maduki-tech/bautackt#4 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
moq-dev/moq#10463 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day