CoAgent8
    Preparing search index...

    Module review/gate

    State Envelope verdict gate for review responses.

    AI-to-AI communication between Author (Antigravity) and Reviewer (Codex) uses structured envelopes:

    REVIEW: <turn>
    SNAPSHOT: <sha>
    COVERAGE: COMPLETE | PARTIAL
    VERDICT: READY | BLOCKED
    [P1/P2/P3] <file>:<line>
    CHECKS: typecheck=<PASS|FAIL|NOT_RUN>; tests=<PASS|FAIL|NOT_RUN>
    END_REVIEW
    

    The terminator belongs to the server (owner decision 2026-10-18, ENVELOPE-001): the prompt ends the envelope with CHECKS, and an envelope without END_REVIEW is complete only when CHECKS is its last line and the turn's own completion evidence says the answer was not cut off; the formatter then appends the terminator. A model-written END_REVIEW is still accepted, and an observed length stop blocks either way.

    CoAgent8 evaluates the review verdict programmatically: any P1/P2 blocker, PARTIAL coverage, truncation or an incomplete envelope makes the server verdict BLOCKED. The reviewer's text is never rewritten; the server verdict and its causes are reported beside it. A read-only reviewer cannot run checks, so a required check reported NOT_RUN does not block: READY then says which checks did not run, and the author and CI run them (rule 03).

    ReviewGateContext
    StateEnvelopeEvaluation
    TurnCompletion
    alignEnvelopeReviewTurn
    appendEnvelopeTerminator
    evaluateStateEnvelopeGate