fix(#1179): require security authority wiring (#1189)
ci/woodpecker/push/publish Pipeline was canceled

Co-authored-by: Ghost <>
This commit was merged in pull request #1189.
This commit is contained in:
Ghost
2026-08-20 16:19:45 +00:00
committed by gate-merge-01
co-authored by Ghost <>
parent 20ad89c86b
commit 9b6869fab7
8 changed files with 434 additions and 17 deletions
@@ -80,6 +80,10 @@ const mockMcpClient = {
getToolDefinitions: vi.fn(() => []),
};
const allowAuthorization = {
authorize: vi.fn().mockResolvedValue({ allowed: true }),
};
function buildService(
redis: typeof mockRedis | null = mockRedis,
mcpClient: {
@@ -98,6 +102,7 @@ function buildService(
null,
mockChatGateway as never,
mcpClient as never,
allowAuthorization as never,
);
}