Skip to content

porch: a consult that RAN but returned no VERDICT is treated as REQUEST_CHANGES (should be a non-blocking skip) — causes review-loop churn #1033

Open

Description

@waleedkadous

Problem

In porch's review loop, when a consult lane runs but returns no parseable VERDICT, porch defaults that to REQUEST_CHANGES. Combined with a lane that can't produce a verdict (see companion: the agy/Gemini lane going off-task), this drives the review loop to iterate until max_iterations even when every working reviewer has APPROVE'd — pure churn (≈ iterations × N consults wasted per phase).

The lane-unavailable case is already handled gracefully: a missing/unauthenticated lane skips non-blockingly. The gap is the ran-but-no-verdict case — it should be treated the same as a non-blocking skip (the reviewer effectively abstained), not as a substantive REQUEST_CHANGES.

Repro (spir-987, phase_1, 2026-06-11/12)

  • Codex: APPROVE. Claude: APPROVE. build + 5 tests green.
  • Gemini (agy): iter1 timed out → skipped (correct, non-blocking). iter2 ran but off-task → no VERDICT → porch scored it REQUEST_CHANGES → loop. Reached iter3 of max_iterations=8 with nothing actually wrong.

Expected

  • A consult that ran but produced no parseable verdict → treat as a non-blocking abstention/skip (log it, don't count it as REQUEST_CHANGES), matching the unavailable-lane behavior.
  • Only an explicit REQUEST_CHANGES (with findings) should block / drive another iteration.
  • Optionally: surface "lane X abstained: no verdict parsed" in the consult log so it's visible, not silent.

Impact

Without this, one misbehaving lane can burn the full max_iterations budget on every phase even when consensus among working reviewers is APPROVE. Companion to the agy-off-task consult bug (filed alongside). Distinct from #753 (Codex false-alarm content) — this is about absent verdicts, not wrong ones.

Activity

  1. added
    bug
    area/porch
    on Jun 12, 2026
  2. added a commit that references this issue on Jul 1, 2026
  3. waleedkadous commented on Aug 3, 2026

    @waleedkadous
    ContributorAuthor

    New datum, 2026-08-03, from a sibling workspace: the missing-VERDICT case is not agy-specific. A codex CMAP run (bugfix PR review, completed normally in 102.8s) emitted no VERDICT/SUMMARY/CONFIDENCE header block at all — raw output was KEY_ISSUES + PR_SUMMARY + a timing line, despite the prompt's EXACT-format instruction. The builder disclosed the absence honestly rather than self-inferring a verdict, so no harm done in that run, but two implications for the fix here:

    1. The ran-but-no-VERDICT handling must be lane-agnostic — treating it as an agy quirk (agy/Gemini consult lane goes off-task on structured reviews — emits no VERDICT, breaking the porch consult loop #1032) undercounts it.
    2. Anything that parses verdicts should treat "no verdict token" as an explicit tri-state outcome (approve / request-changes / no-verdict), never silently mapping it to either verdict — a missing token invites builders to self-infer approval.

    Possibly related to the known codex-applies-repo-conventions drift (#753 research). Raw transcript available from the reporting workspace on request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/porchbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions