GeezerVison is showing github.com — agy-proxy: bridge tool calls so antigravity-agy can seat in tool-using route pools · Issue #2603 · developing-today/code
agy-proxy: bridge tool calls so antigravity-agy can seat in tool-using route pools #2603DescriptionFound 2026-10-30 by Codex review (P1) on the opencode route-audit PR, and verified against the source:
bin/agy-proxy.mjs is text-only. It builds its prompt solely from body.messages (formatPrompt / extractLatestUserPrompt, ~line 864) and never reads body.tools; its chat responses contain only text content with finish_reason: 'stop' (~line 1057) and never structured tool_calls. bin/antigravity-ls-proxy.mjs bridges tool calls; agy does not.
Consequence: seating antigravity-agy as a leaf in a tool-using route pool (gemini-flash-plan, sonnet-plan, opus-plan) silently terminates agent turns — the model answers in plain text, the turn ends as a 'success', and no failover to a tool-capable door happens. Until this is fixed, agy leaves belong only in text/burn roles (its existing argon seats), never as failover for tool-using pools.
Acceptance: the proxy forwards tool definitions to the agy backend and returns structured tool_calls (streaming and non-streaming) in the OpenAI shape, with tests alongside the existing bin/agy-proxy.test.mjs suite. After it lands, the route pools named above can gain agy leaves for a genuine second Antigravity door (the ls proxy outage of 2026-10-24/25 is the motivating incident: 38 ConnectionRefused failures in gemini-flash-plan with nothing to fail over to). Activitydezren39 commented on Oct 30, 2026 Intake review
Related: bin/antigravity-ls-proxy.mjs (the sibling proxy that already bridges tool calls — the reference implementation); #2624 (commandcode-proxy unit GC defect, same proxy family, different issue)
Notes: Found 2026-10-30 by Codex review (P1) on the opencode route-audit PR and verified against source: bin/agy-proxy.mjs is text-only — it builds its prompt from body.messages (~line 864), never reads body.tools, and returns only text content with finish_reason 'stop' (~line 1057). The body already states its acceptance inline (forward tool definitions, return structured tool_calls streaming and non-streaming in OpenAI shape, tests alongside bin/agy-proxy.test.mjs), so this pass is labels-only. Until fixed, agy leaves belong only in text/burn roles, never as failover for tool-using pools.
Risks: Seating agy in a tool-using pool today silently terminates agent turns as 'success' with no failover — a correctness failure that looks like a completed turn in every dashboard.
Suggested approach: Port the tool-call bridging shape from bin/antigravity-ls-proxy.mjs: forward body.tools to the agy backend, translate its responses into OpenAI tool_calls for both streaming and non-streaming paths, and extend bin/agy-proxy.test.mjs to cover a full tool round-trip.
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-10-30T08:12Z (2026-10-30 03:12 CDT)
- Found via: monitor reconciliation
- Task: Duty 2 intake enrichment — labels normalized and
meta/enriched applied; acceptance criteria appended to the body only where no acceptance section existed (original body preserved verbatim above it). Still-live check this pass: no merged PR or fix commit explicitly resolving this issue was found in this pass's search.
- Expectation: see the effort label; done = the acceptance criteria are met.
- Links: this issue
developing-today commented on Nov 3, 2026 agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03 dezren39 commented on Nov 8, 2026 🤖 Agent note · picked up
- Agent: queue worker (repo-worker-code), lane code-a
- Session / ID: task 12679
- Found via: queue claim (direct lane)
- Task: task 12679 (small_fix, follow-on of triage task 12071) for issue agy-proxy: bridge tool calls so antigravity-agy can seat in tool-using route pools #2603 — fresh revalidation 2026-11-08: issue agy-proxy: bridge tool calls so antigravity-agy can seat in tool-using route pools #2603 OPEN, no hard-stop labels. The implementation remainder is OPEN PR feat(agy-proxy): bridge tool calls for tool-using route pools (#2603) #5136 (branch
queue/8634-2603-agy-proxy-tool-calls): mergeable_state dirty (conflicts with current main) and 5 undispositioned Codex P2 findings (tool_choice, call IDs, resident-history invalidation, fence backticks, XML string preservation). This task shepherds PR feat(agy-proxy): bridge tool calls for tool-using route pools (#2603) #5136: rebase, fix + test the Codex findings, merge under the standing criteria, then close issue agy-proxy: bridge tool calls so antigravity-agy can seat in tool-using route pools #2603 (PR body lacks a closing keyword).
- Expectation: PR feat(agy-proxy): bridge tool calls for tool-using route pools (#2603) #5136 merged with findings dispositioned, or parked with the exact resume condition.
- Links: PR feat(agy-proxy): bridge tool calls for tool-using route pools (#2603) #5136, issue agy-proxy: bridge tool calls so antigravity-agy can seat in tool-using route pools #2603
dezren39 commented on Nov 8, 2026 🤖 Agent note · done — closed as not planned (superseded by decommission)
dezren39 commented on Nov 8, 2026 🤖 Agent note · done — superseded
Evidence (fresh, 2026-11-08, verified two ways).
Guardrail note. The operational warning in this issue (never seat agy as failover for tool-using pools) is moot for the same reason: there is no agy proxy left to seat. If antigravity tool support is wanted in the native opencode providers, that is new work in developing-today-forks/opencode, not a remainder of this issue.
Earlier triage history stands: task 7958 (still live, 2026-11-03), task 8634 (PR #5136 opened), task 12071 (remainder = shepherd PR #5136). This task completes that shepherding with the superseded verdict the decommission requires.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|