Repository navigation
Description
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_PROFILEboth sets: palette 12 / palette 8 (1.1.x) and138,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_PROFILEexplains 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-profileand "unrecognized app" for a hold whose reason wasno-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 sendit a message while it is idle, and confirmdeliveredand that the message was submitted. Then type a draft in its composer and confirm a send is held asbusy:user-text. - No load test is needed.
Suggested protocol: BUGFIX.
Activity
waleedkadous commentedon Nov 29, 2026
On it! Working on a fix now.
[Bugfix #2015] Fix: accept agy 1.5.x's 24-bit composer colours; name …
[Bugfix #2015] Test: agy 1.5.20 fixtures classify like 1.1.13's; the …
[Bugfix #2015] Thread: real-path harness results
[Bugfix #2015] Fix: CMAP nits: say why the attribute digest omits bol…
[Bugfix #2015] Test: give the #1919 import-walk test the same sized t…