From 7305a967a710700fc0e57e7ce4c44314002b0ebf Mon Sep 17 00:00:00 2001 From: Tym Rabchuk Date: Fri, 22 May 2026 12:07:08 -0400 Subject: [PATCH 1/2] feat(workflows): prefer agy:agy-review for general-tier in tri-* workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Google's AGY (Antigravity CLI) launched 2026-05-19 as the official successor to Gemini CLI. Consumer Gemini CLI access stops 2026-06-18. The `agy-plugin-cc` plugin (https://github.com/5uck1ess/agy-plugin-cc) now ships an `agy:agy-review` subagent that fills the same general-tier non-Claude reviewer slot the gemini-rescue agent used to fill. Updates the dispatch-prompt guidance in: - tri-review.yml — review-smart (mentions AGY as an option alongside codex/Gemini for the smart tier), review-general (AGY preferred, Gemini fallback, codex if neither) - tri-debug.yml — general-diagnosis prefers AGY - tri-dispatch.yml — general-take prefers AGY - tri-security.yml — audit-auth prefers AGY Gemini-backed plugins remain valid fallbacks; codex stays as the last resort when neither Google reviewer is installed. Fast-tier prompts (Haiku-backed, Gemini-Flash-backed) are unchanged — AGY has no dedicated fast-tier variant. No engine, schema, or runner-Go changes. Workflow YAML is loaded at runtime; build sanity check passes. --- workflows/tri-debug.yml | 3 ++- workflows/tri-dispatch.yml | 3 ++- workflows/tri-review.yml | 13 ++++++++----- workflows/tri-security.yml | 3 ++- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/workflows/tri-debug.yml b/workflows/tri-debug.yml index 4579e3c..ee6478f 100644 --- a/workflows/tri-debug.yml +++ b/workflows/tri-debug.yml @@ -19,7 +19,8 @@ steps: model: general prompt: | DISPATCH, DO NOT ANSWER. Invoke the Agent tool - with a non-Claude general-tier subagent (prefer a Gemini-backed agent, or a + with a non-Claude general-tier subagent (prefer `agy:agy-review` for the + Google-model perspective; fall back to a Gemini-backed agent or a different external than smart-diagnosis used). In non-Claude hosts, use a distinct delegated subagent or external CLI diagnostician when available. Report verbatim. Stop if none diff --git a/workflows/tri-dispatch.yml b/workflows/tri-dispatch.yml index 373b5aa..4a2512c 100644 --- a/workflows/tri-dispatch.yml +++ b/workflows/tri-dispatch.yml @@ -17,7 +17,8 @@ steps: model: general prompt: | DISPATCH, DO NOT ANSWER. Invoke the Agent tool with a non-Claude - general-tier subagent (prefer Gemini; at minimum distinct from + general-tier subagent (prefer `agy:agy-review` (Google AGY), fall + back to a Gemini-backed subagent; at minimum distinct from smart-take's subagent). In non-Claude hosts, use a distinct delegated subagent or external CLI respondent when available. Report verbatim. Stop if none available. Subagent prompt: "{{input}} Give a clear, balanced answer." diff --git a/workflows/tri-review.yml b/workflows/tri-review.yml index 532fc8c..2fb17c8 100644 --- a/workflows/tri-review.yml +++ b/workflows/tri-review.yml @@ -17,8 +17,9 @@ steps: model diversity. You (the calling model) must NOT write this review yourself. Invoke the Agent tool with a non-Claude subagent (`codex:codex-rescue` is the standard smart-tier - external reviewer; any available Gemini or external senior reviewer - also qualifies). In non-Claude hosts, use the equivalent delegated + external reviewer; an available AGY (`agy:agy-review`) / Gemini-backed + reviewer or other senior external reviewer also qualifies). In + non-Claude hosts, use the equivalent delegated subagent or external CLI reviewer if available. Pass the diff from {{gather}} and report the subagent's verdict verbatim. If no external-model subagent is available, stop and tell @@ -31,10 +32,12 @@ steps: model: general prompt: | DISPATCH, DO NOT ANSWER. Invoke the Agent tool with a non-Claude - general-tier reviewer (e.g. a Gemini-backed reviewer plugin, or - `codex:codex-rescue` if no Gemini is available — but prefer a + general-tier reviewer. Prefer `agy:agy-review` (Google AGY / + Antigravity CLI — the current Google reviewer; Gemini CLI is being + retired). Fall back to a Gemini-backed reviewer plugin, or + `codex:codex-rescue` if neither is available — but prefer a different model than review-smart used, or the tri-* property is - lost). In non-Claude hosts, use a distinct delegated subagent or + lost. In non-Claude hosts, use a distinct delegated subagent or external CLI reviewer when available. Report verbatim. Stop if no external subagent is available. The subagent prompt should be: "Review this code for quality and diff --git a/workflows/tri-security.yml b/workflows/tri-security.yml index a976e8e..291fafe 100644 --- a/workflows/tri-security.yml +++ b/workflows/tri-security.yml @@ -29,7 +29,8 @@ steps: model: general prompt: | DISPATCH, DO NOT ANSWER. Invoke the Agent tool - with a non-Claude general-tier subagent (prefer Gemini; at minimum distinct from + with a non-Claude general-tier subagent (prefer `agy:agy-review` (Google + AGY); fall back to a Gemini-backed subagent; at minimum distinct from audit-injection's subagent). In non-Claude hosts, use a distinct delegated subagent or external CLI reviewer when available. Report verbatim. Stop if none available. Subagent prompt: "Security audit — authentication and From 0d3535e167353cbe3c43c35f9c10c6990eeed10b Mon Sep 17 00:00:00 2001 From: Tym Rabchuk Date: Fri, 22 May 2026 12:22:43 -0400 Subject: [PATCH 2/2] =?UTF-8?q?fix(workflows):=20address=20review=20?= =?UTF-8?q?=E2=80=94=20explicit=20codex=20fallback=20+=20smart-tier=20carv?= =?UTF-8?q?e-out?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two review findings from PR #103: 1. tri-debug, tri-dispatch, tri-security now name `codex:codex-rescue` as the explicit last-resort general-tier fallback (mirroring the three-step chain already in tri-review). Without it, a box with neither AGY nor a Gemini plugin installed would stall instead of falling through to codex. 2. tri-review's review-smart prompt no longer lists `agy:agy-review` as a smart-tier candidate. AGY is preferred for general-tier; if the calling model claimed it for smart-tier too, general-tier would have no distinct model and the tri-* property would break. The smart-tier prompt now explicitly reserves AGY for the general-tier slot below. --- workflows/tri-debug.yml | 6 ++++-- workflows/tri-dispatch.yml | 7 ++++--- workflows/tri-review.yml | 10 ++++++---- workflows/tri-security.yml | 5 +++-- 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/workflows/tri-debug.yml b/workflows/tri-debug.yml index ee6478f..a25c152 100644 --- a/workflows/tri-debug.yml +++ b/workflows/tri-debug.yml @@ -20,8 +20,10 @@ steps: prompt: | DISPATCH, DO NOT ANSWER. Invoke the Agent tool with a non-Claude general-tier subagent (prefer `agy:agy-review` for the - Google-model perspective; fall back to a Gemini-backed agent or a - different external than smart-diagnosis used). In non-Claude hosts, use a + Google-model perspective; fall back to a Gemini-backed agent, or + `codex:codex-rescue` if neither is available — but prefer a different + external than smart-diagnosis used to preserve model diversity). In + non-Claude hosts, use a distinct delegated subagent or external CLI diagnostician when available. Report verbatim. Stop if none available. Subagent prompt: "Debug this issue: {{input}}. What's diff --git a/workflows/tri-dispatch.yml b/workflows/tri-dispatch.yml index 4a2512c..5564ed4 100644 --- a/workflows/tri-dispatch.yml +++ b/workflows/tri-dispatch.yml @@ -17,9 +17,10 @@ steps: model: general prompt: | DISPATCH, DO NOT ANSWER. Invoke the Agent tool with a non-Claude - general-tier subagent (prefer `agy:agy-review` (Google AGY), fall - back to a Gemini-backed subagent; at minimum distinct from - smart-take's subagent). In non-Claude hosts, use a distinct delegated + general-tier subagent (prefer `agy:agy-review` (Google AGY); fall + back to a Gemini-backed subagent, or `codex:codex-rescue` if neither + is available — at minimum distinct from smart-take's subagent). + In non-Claude hosts, use a distinct delegated subagent or external CLI respondent when available. Report verbatim. Stop if none available. Subagent prompt: "{{input}} Give a clear, balanced answer." diff --git a/workflows/tri-review.yml b/workflows/tri-review.yml index 2fb17c8..673af04 100644 --- a/workflows/tri-review.yml +++ b/workflows/tri-review.yml @@ -16,10 +16,12 @@ steps: DISPATCH, DO NOT ANSWER. This is tri-review — the whole point is model diversity. You (the calling model) must NOT write this review yourself. Invoke the Agent tool with a non-Claude subagent - (`codex:codex-rescue` is the standard smart-tier - external reviewer; an available AGY (`agy:agy-review`) / Gemini-backed - reviewer or other senior external reviewer also qualifies). In - non-Claude hosts, use the equivalent delegated + (`codex:codex-rescue` is the standard smart-tier external reviewer; + any other senior external reviewer also qualifies. Note: + `agy:agy-review` (Google AGY) is reserved for the general-tier slot + below — claiming it here would leave general-tier without a + distinct model and break the tri-* property). In non-Claude hosts, + use the equivalent delegated subagent or external CLI reviewer if available. Pass the diff from {{gather}} and report the subagent's verdict verbatim. If no external-model subagent is available, stop and tell diff --git a/workflows/tri-security.yml b/workflows/tri-security.yml index 291fafe..107f182 100644 --- a/workflows/tri-security.yml +++ b/workflows/tri-security.yml @@ -30,8 +30,9 @@ steps: prompt: | DISPATCH, DO NOT ANSWER. Invoke the Agent tool with a non-Claude general-tier subagent (prefer `agy:agy-review` (Google - AGY); fall back to a Gemini-backed subagent; at minimum distinct from - audit-injection's subagent). In non-Claude hosts, use a distinct delegated + AGY); fall back to a Gemini-backed subagent, or `codex:codex-rescue` if + neither is available — at minimum distinct from audit-injection's + subagent). In non-Claude hosts, use a distinct delegated subagent or external CLI reviewer when available. Report verbatim. Stop if none available. Subagent prompt: "Security audit — authentication and authorization. Diff: {{gather}}. Check for: broken auth, missing