You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The agy-backed gemini consult lane, when the CLI is missing / unauthenticated / timed out, writes a skip artifact with VERDICT: COMMENT. Porch's parseVerdict treats COMMENT as an approving verdict (allApprove), so a lane that never ran counts as a passing third reviewer. Additionally, parseVerdict's no-verdict fallback returns COMMENT, so any lane emitting unparseable output (off-task, garbage, template echo) is silently recorded as approval too.
Observed downstream (entriq issue #2467, spec 2458): a 3-way consult silently degraded to 2-way with a fake third verdict; the skipped lane, when re-run manually via a working CLI, returned REQUEST_CHANGES with the single most serious finding of the round on a money-critical spec. The stub would have passed it through the gate.
Expected
A skip is the ABSENCE of a review. It should be non-blocking for phase progression (the Spec 778 guarantee stands — remaining reviewers carry the phase), but must never count as an approving reviewer, must be visibly disclosed at the gate ("reduced coverage"), and an all-lanes-skipped round must not pass on zero evidence.
Field corroboration from an adopting workspace (details scrubbed) — three incidents across two builders and two days:
Incident A (2026-07-16) — three identical invocations of the same --type impl consult, minutes apart: attempt 1 SKIPPED (hollow stub), attempt 2 real VERDICT: APPROVE (84.4s), attempt 3 real VERDICT: APPROVE (37.3s).
Incident B (2026-07-17, different builder) — real APPROVE in one run, then "agy produced no review output" stubs on the same unchanged tree; the retry stubbed as well. The builder declined to bank the stubs and shipped the phase on codex+claude.
What this adds to the issue:
The stub occupies a verdict slot. The skip artifact carries VERDICT: COMMENT / SUMMARY: Gemini lane skipped… / CONFIDENCE: LOW — exactly the hazard this issue describes, observed in the field: anything counting verdicts mechanically scores a 2-way review as a 3-way.
The stub's self-diagnosis is flat wrong. It instructs "install the CLI … and run agy once to sign in" — while agy v1.1.3 was installed, signed in, and produced real reviews from the identical command minutes later. An operator following the stub's advice would chase a nonexistent auth problem and never find the real (intermittent) cause.
Retry effectiveness varies. In incident A a single retry sufficed (~1-in-3 flake); in incident B the retry stubbed too. A fixed one-retry policy is sometimes enough, sometimes not — another reason the stub must not be verdict-shaped when retries run out.
Prompt size appears correlated, and the flake is intermittent within a session. The impl-lane prompt was ~860KB (spec+plan+diff); spec- and plan-phase gemini lanes on the same projects never flaked. The lane works, then skips, on an unchanged tree minutes apart — pointing at a transient in the large-payload path, not environment/auth state.
Minor docs-note candidate: during a retry, the --output file still holds the previous attempt's stub until the new attempt completes — trust the [gemini (agy) …] completion marker in the log, not the output file mid-run. (This read-before-write race caused an initial misread of incident A.)
Raw logs for incident A (full ~860KB prompts, all three attempts) are preserved off-issue; available on request.
Activity
waleedkadous commentedon Jul 19, 2026
Field corroboration from an adopting workspace (details scrubbed) — three incidents across two builders and two days:
Incident A (2026-07-16) — three identical invocations of the same
--type implconsult, minutes apart: attempt 1 SKIPPED (hollow stub), attempt 2 realVERDICT: APPROVE(84.4s), attempt 3 realVERDICT: APPROVE(37.3s).Incident B (2026-07-17, different builder) — real APPROVE in one run, then "agy produced no review output" stubs on the same unchanged tree; the retry stubbed as well. The builder declined to bank the stubs and shipped the phase on codex+claude.
What this adds to the issue:
VERDICT: COMMENT / SUMMARY: Gemini lane skipped… / CONFIDENCE: LOW— exactly the hazard this issue describes, observed in the field: anything counting verdicts mechanically scores a 2-way review as a 3-way.agyonce to sign in" — while agy v1.1.3 was installed, signed in, and produced real reviews from the identical command minutes later. An operator following the stub's advice would chase a nonexistent auth problem and never find the real (intermittent) cause.Minor docs-note candidate: during a retry, the
--outputfile still holds the previous attempt's stub until the new attempt completes — trust the[gemini (agy) …]completion marker in the log, not the output file mid-run. (This read-before-write race caused an initial misread of incident A.)Raw logs for incident A (full ~860KB prompts, all three attempts) are preserved off-issue; available on request.