Skip to content

Room: an approved gated-skill request runs outside the room and its reply reaches no one there #4549

Open

Description

@obasilakis

Summary

When a gated skill request made in a room is approved, the approved run starts as a detached task. Nothing posts its reply back into the room, and the requester gets no notice of the outcome.

What the code does

  • skill_gate_service._dispatch_approved starts the approved run from the frozen dispatch. resume_session_id, system_prompt and images are not frozen (DISPATCH_FIELDS marks them DROP), so the run has no room session, no user-facing room prompt and no attached images.
  • A room wake's requester is KIND_CHANNEL. outcome_delivery returns OUTCOME_DELIVERY_NONE for that kind, so no Inbox notice or task is sent.
  • Nothing in shared_sessions/ picks up the approved execution and posts it as a room turn.

Expected

The approved run's reply appears in the room it was requested from, like the ask continuation (abilityai/trinity-enterprise#1135) returns as a room turn.

Acceptance criteria

  • An approved room request's reply is posted into the originating room, attributed to the agent.
  • A denied or expired request posts a notice into the room.
  • The run is framed for the room's audience (user-facing caution when a person is in the room).
  • A test covers approve → reply in the room.

Notes

Found while reviewing #4505. Read from code, not reproduced on a live stack.

Activity

  1. added
    theme-reliability
    complexity-medium
    status-ready
    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

    complexity-mediumpriority-p2status-readytheme-reliabilitytype-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions