Skip to content

Render gate holds all mail to agy 1.5.x agents: the composer glyph and hint are now 24-bit colour, the agy profile expects palette colours #2015

Done

Description

@waleedkadous

Problem

Every afx send to an agent running the Antigravity CLI (agy) 1.5.x is held with busy:no-composer-marker and never delivers. The agent can send; it cannot receive. Seen on 2026-11-28 with an architect launched as agy --model gemini-4-carbon-high …:

[INFO] Message held (busy:no-composer-marker): architect:main → <agy architect>
[WARN] [mailbox] LIVENESS: <agy architect> held no-profile for 10 consecutive checks with recent output — unrecognized app; …

The sender had to dismiss the held messages.

Root cause

A profile is found (resolveProfile matches the agy basename and returns AGY_PROFILE). Its colour anchors no longer match the screen. AGY_PROFILE was measured on agy 1.1.13, which drew its prompt glyph and idle hint in palette colours. agy 1.5.19 draws them in 24-bit colour.

agy 1.1.13 (fixtures) agy 1.5.19 (captured 2026-11-28) profile expects
composer > glyph ESC[1;94m (palette 12) ESC[38;2;138;180;248m markerFgPalette: 12
idle hint text ESC[90m (palette 8) ESC[38;2;154;160;166m placeholderFgPalette: 8

Raw composer rows from a real 1.5.19 idle screen (132 columns, ESC shown as ^[):

^[[38;2;60;64;67m────────…────────^[[m
^[[38;2;138;180;248m>^[[m ^[[38;2;154;160;166mAuto mode: edits & safe commands auto-approved (shift+tab to cycle)^[[m
^[[38;2;60;64;67m────────…────────^[[m
^[[38;2;154;160;166m? for shortcuts^[[m … ^[[38;2;249;171;0mauto^[[38;2;154;160;166m · Gemini 4 Carbon · high^[[m

and the bare-marker mode on the same version:

^[[38;2;138;180;248m>^[[m

render-gate.ts line 260 requires cell.isFgPalette() && cell.getFgColor() === profile.markerFgPalette, so a 24-bit glyph is never the marker: no-composer-marker. The hint test near line 555 has the same shape, so once the marker is fixed the idle hint would read as typed text and hold as busy:user-text. Both need fixing together.

Fix (prescribed)

  • Let a profile state the marker colour and the placeholder colour as a palette index or a 24-bit RGB value, and give AGY_PROFILE both sets: palette 12 / palette 8 (1.1.x) and 138,180,248 / 154,160,166 (1.5.x). Keep the cursor-row anchor as it is.
  • Do not loosen the test to "any colour": the comment on AGY_PROFILE explains why > alone is not the composer (menu cursor, transcript echo). Widen only to the measured values.
  • Capture the fixtures from a real agy 1.5.x in a PTY, as the 1.1.13 ones were: idle with hint, bare marker, a typed draft, the slash menu, a turn echo. Check each captured screen's echo and menu > colours so the new RGB value does not also match them; if it does, report that before choosing an anchor.
  • Adjacent, fix in the same PR: the liveness warning says held no-profile and "unrecognized app" for a hold whose reason was no-composer-marker. It should name the real reason (a recognised app whose composer was not found: a drifted profile).
  • agy updates itself (it went 1.5.18 → 1.5.19 during this investigation), so record the measured version beside the values.

Testing

  • Unit: the new 1.5.x fixtures classify as the 1.1.13 ones do (idle and bare marker clean; draft, menu and trust busy), and every existing agy, claude and codex fixture still passes.
  • Real path: start an agy agent in a workspace, afx send it a message while it is idle, and confirm delivered and that the message was submitted. Then type a draft in its composer and confirm a send is held as busy:user-text.
  • No load test is needed.

Suggested protocol: BUGFIX.

Activity

  1. added
    area/tower
    on Nov 28, 2026
  2. waleedkadous commented on Nov 29, 2026

    @waleedkadous
    ContributorAuthor

    On it! Working on a fix now.

  3. added 5 commits that reference this issue on Nov 29, 2026
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/tower

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions