Skip to content

afx interrupt sends Enter by default, which selects whatever a dialog has highlighted #93

Closed

Description

@pseudoseed

Follow-up to #21, item 4. Split out because it is a destructive-default decision, not a fix.

afx interrupt sends ESC followed by Enter. When the composer holds a selection dialog rather than free text, that Enter selects the highlighted option.

On 2026-08-21 the highlighted option was Retry the deactivate call, which would have deactivated the whole workspace and killed the architect session. ESC dismissed the dialog first, so the Enter landed harmlessly — but that was ordering luck, not a guarantee. Any dialog that does not dismiss on ESC gets a blind Enter.

Sending Enter at an unknown dialog is a destructive act chosen by whatever happens to be highlighted.

The Enter is not gratuitous — it is what makes queued messages process after the ESC ends the turn, which is the command's primary purpose (Spec 1273). So flipping the default breaks the main use case. Two options:

Refuse when the screen shows a dialog. Classify before sending; if the composer holds text or a menu, refuse the Enter and point at afx send --interrupt. Needs a Tower endpoint exposing the current gate verdict, which does not exist yet. In the user-text case afx interrupt is useless anyway (ESC does not clear typed text, per #21), so refusing loses nothing.

Or make --no-enter the default and add --enter for the turn-ending use. Safer by construction, breaks existing muscle memory and scripts.

--no-enter already exists, so the safe path is available today — it is just not the default and nothing warns.

Activity

  1. added
    area/tower
    on Aug 24, 2026
  2. pseudoseed commented on Aug 25, 2026

    @pseudoseed
    OwnerAuthor

    On it! Working on a fix now.

  3. added 5 commits that reference this issue on Aug 25, 2026
    304e33a
    666eb91
    9aa2801
    b35c17c
    11b24ab
  4. added a commit that references this issue on Aug 25, 2026
    b1373b2
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