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
@@ -55,6 +55,10 @@ const mockMcpClient = {
reconnectServer: vi.fn().mockResolvedValue(undefined),
};
const allowAuthorization = {
authorize: vi.fn().mockResolvedValue({ allowed: true }),
};
// ─── Helpers ─────────────────────────────────────────────────────────────────
function buildRegistry(): CommandRegistryService {
@@ -74,6 +78,7 @@ function buildExecutor(registry: CommandRegistryService): CommandExecutorService
null, // reloadService (optional)
null, // chatGateway (optional)
mockMcpClient as never,
allowAuthorization as never,
);
}