You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Room: an approved gated-skill request runs outside the room and its reply reaches no one there #4549
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