fix(gateway,agent): only enforce session sendPolicy=deny when delivering

Co-authored-by: wenxu007 <270593229+wenxu007@users.noreply.github.com>
This commit is contained in:
clawsweeper
2026-05-03 01:11:33 +00:00
parent 2a1e42c8a0
commit 76679676f1

View File

@@ -2802,6 +2802,7 @@ describe("gateway agent handler", () => {
const respond = await runMainAgent("smoke", "non-delivery-deny");
expect(mocks.resolveSendPolicy).not.toHaveBeenCalled();
expect(respond).not.toHaveBeenCalledWith(
false,
undefined,