Skip to content

fix(workflow): ephemeral node Bot replies still land in Chief / persistent Bot chat as queued 「Reply from …」 #1524

Closed

Description

@Birfy

Written-by: FlyBot Product

Symptom

During a live Workflow run, node Bots (e.g. Review / Verify / Rework) still deliver their step replies into the Main Bot / Chief conversation as queued inbound messages ([Reply from Review …], [Reply from Verify …], …). Owner screenshot shows Chief with 「3 条排队消息」 while those nodes finish — the same replies that should stay inside the Workflow run/graph only.

Owner requirement (stated 2026-10-27, still violated on LIVE): Workflow node replies must not be delivered as messages into Chief / persistent Bot chats; node I/O stays in the run/graph only. Only Chief / persistent sidebar Bots may appear in the conversation UI.

Related but different: #1452 / stage stageMessages() hides kind: 'bot' rows in the Workflow stage pane; that does not stop host delivery into Chief. #1518 is scroll jump on hidden stage rows — also separate.

Expected

  • A Workflow ephemeral node Bot's reply is consumed by the Workflow runner (stepResult / reply handle) and recorded on the run/graph.
  • That reply must not appear in Chief (or any other persistent sidebar Bot) as a chat bubble, queued message, or 「收到回复 / Reply from」 inbound line.
  • Persistent Bot ↔ persistent Bot messaging is unchanged.

Hypothesis (verify; discard if wrong)

Live runs dispatch a step from the Main Bot to the ephemeral node Bot; when the node answers with role: 'reply', core/ds-bot delivery.js still prefixes [Reply from ${fromName}] and enqueues it into the Main Bot session. The Workflow plugin advances the run from the same reply, but does not suppress that host delivery path for ownsBot(from).

Acceptance

  • Live Workflow node replies never appear in Chief / persistent Bot chat (bubble or busy queue).
  • Run still advances on those replies; graph / node status / stage system lines still work.
  • Regression test covering “ephemeral reply is handled and not delivered to Main Bot chat”.
  • changelog fragment + Docs-not-needed (or subsystem doc line) per repo rules.

Evidence

Owner screenshot attached (Chief conversation, 3 queued Reply-from lines from Workflow nodes during a live run). Prod tip at report time still 55e1c27a (pre-#1503/#1512); please reproduce on main tip as well.

Activity

  1. Birfy commented on Oct 28, 2026

    @Birfy
    CollaboratorAuthor

    Owner screenshot attached below (Chief: 3 queued Reply-from lines from Workflow nodes).

  2. Birfy commented on Oct 28, 2026

    @Birfy
    CollaboratorAuthor

    Owner screenshot: #1524 (local copy on implementer: uploads/chief-workflow-leak.png). File is attached to the cloud agent launch.

  3. Birfy commented on Oct 28, 2026

    @Birfy
    CollaboratorAuthor

    Owner screenshot (Chief: 3 queued Reply-from lines from Workflow nodes during a live run):

    Chief queued Reply-from Workflow nodes

    Chief queued Reply-from Workflow nodes

  4. added 13 commits that reference this issue on Oct 28, 2026
    9b89794
    b5f7b0b
    9b57230
    202f5bc
    a66c446
    9348d09
    d808c72
    fc93662
    7f1b8af
    577d8ed
    680d516
    d70948f
    84d5f54
  5. added a commit that references this issue on Oct 28, 2026
    a406fee
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions