Skip to content

tower: mail to the architect held with no-composer-marker after a Tower restart on Windows #1920

Closed

Description

@amrmelsayed

Problem

On native Windows, mail to the main architect is held with busy:no-composer-marker although the architect's claude session is live and its composer is on screen. The hold never clears on its own. Reported by the owner 2026-11-18, codev 3.3.7 (local install from main at 5e328c5), claude 2.1.327.

Evidence (from ~/.agent-farm/tower.log and afx inbox)

  • 2026-11-17T23:27:52Z: Tower restarted by pnpm local-install; Reconnected shellper session → 887fdcae… (architect for codev).
  • 23:30:52Z: Cron message held (busy:no-composer-marker) af-cron → architect.
  • 23:32:04Z: Message held (busy:no-composer-marker): builder-task-_205 → main (a "PR ready" notification, so real work was blocked on it).
  • Both escalated after 60 s and are still held. replay-snapshot lines for the same session in that window are 3.3-4.1 KB.
  • An older message from 2026-11-02 is held with the same detail.

All three current holds post-date a Tower restart that reconnected to an existing session. Not established: whether a session that Tower spawned fresh shows the same.

What is and is not known

  • The detail is no-composer-marker (the gate found no row matching /^[❯›]/ in the mirror), not user-text. The owner's impression is that the gate believes the input has text; the log from earlier on 2026-11-17 does show busy:user-text and busy:composer-redraw holds to main, which were not examined and may be a second problem.
  • Ruled out by reading: the mirror is seeded on reconnect (PtySession.attachShellper, packages/codev/src/terminal/pty-session.ts:318-405), so "mirror starts empty after reconnect" is not the cause as designed. Whether the seed is sufficient under ConPTY (claude repaints incrementally; ConPTY re-renders) is open.
  • Candidates, none tested: the reconnect seed under ConPTY does not contain the composer row; geometry mismatch between the mirror and the real TUI after reconnect (F1 — Tower-vs-PTY dimension divergence causes indefinite false-busy (render gate) #1482 territory); the composer row not starting with the marker in this claude version or layout; a held message never being re-evaluated after the screen becomes classifiable.

Fix shape

  1. Capture what the gate sees: dump the mirror's viewport for the held architect session at the moment of a no-composer-marker verdict (the Spec 1658 recorder's scrubbed .diagnostic output is the existing tool), on a session reconnected after a Tower restart and on a freshly spawned one.
  2. Fix the cause the capture shows, with a fixture from the scrubbed capture.
  3. Check the busy:user-text holds to main from 2026-11-17T09:34Z-09:36Z against the same capture approach, and say whether they were correct holds (a human typing) or false ones.

Acceptance

  • After a Tower restart on Windows, afx send architect "…" to an idle architect delivers.
  • A fixture reproduces the false no-composer-marker and passes with the fix.
  • POSIX gate fixtures and the ConPTY replay suite stay green; no hold is converted into a force-inject.

Related: Spec 1313 (mailbox-first delivery), Spec 1658 M15 (ConPTY ghost cursor held mail), #1482, #1664.

Activity

  1. added
    area/tower
    on Nov 17, 2026
  2. amrmelsayed commented on Nov 17, 2026

    @amrmelsayed
    CollaboratorAuthor

    On it! Working on this with the PIR protocol (plan + dev-approval gates before PR).

  3. added 17 commits that reference this issue on Nov 18, 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