[bug] Outside review reported as unavailable when the reviewer answers in another language: the Recommendation line needs the literal word "because"

Open Beginner friendly
#5,039 0 comments 0 reactions 0 assignees View on GitHub

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

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 review and proposal gates, a completed review needs a line matching /^Recommendation:[\t ]*[^\r\n]+\bbecause\b[\t ]*\S[^\r\n]+$/im;
  • line 207: the ## Recommendation heading 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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from garrytan/gstack

All issues in garrytan/gstack

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.