Skip to content

A bridge that goes while its terminal lives reads as the process gone (jobs and subagents read "ended with the session") #701

Closed

Description

@SSFSKIM

When the sminos bridge of a terminal session on this Mac stops answering (its socket gone, its child restarted) while the terminal's engine process still runs, MAWS's lane A driver takes the session's process as gone (unbridge in src/services/lane-a/driver.ts).

For its background shells (since P5 O9) and now its subagents (UX wave U8d), that means: every job and agent the rows hold no end for reads "ended with the session", the Subagents and Background tasks cards leave, and the panel's Done says "ended with the session", until the bridge answers again and a fresh watch derives the truth. Meanwhile the transcript's own agents row follows the holder registry (U8b's M6), not the bridge, so it can still say the agent works while the panel says it ended.

Asked: give the driver a way to tell "the bridge went" from "the process went". It has the holder registry's live record, which drop already reads. While the record says the process lives, it could read a bridge loss as "status unknown" (provisional, not settled), not exited/session.

Where: unbridge and drop in src/services/lane-a/driver.ts; SessionFollow.processGone in src/services/lane-a/follow.ts; one reading for jobs and agents.

Evidence: the U8d execution document (docs/doperpowers/plans/2026-11-15-ux-wave-U8d-terminal-subagents.md), R5 and "Where the source cannot know" 7.

Acceptance: with a terminal session whose bridge stops answering while its engine process lives and an agent or a background shell runs, the Subagents and Background tasks cards and the panel do not read "ended with the session"; they read as the document's "status unknown" until the bridge answers again; when the process itself goes, they read "ended with the session" as today. Unit cases in src/services/lane-a/driver.test.ts and follow.test.ts; one scene in e2e:lane-a.

Spawned by UX wave U8d (ticket 599). Builds on that landing; not before it is on master.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P3
    on Nov 15, 2026
  2. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 20, 2026
  3. SSFSKIM commented on Nov 20, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: batch 7, group C

  4. added
    status:in-review
    and removed
    status:in-progress
    on Nov 20, 2026
  5. SSFSKIM commented on Nov 20, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: batch 7, PR #804

  6. removed
    status:in-review
    on Nov 20, 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

    bugpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions