fix: proxy MCP and expose EKAP verification gates

This commit is contained in:
2026-09-15 17:54:14 +03:00
parent 26b250735c
commit 6c32581952
7 changed files with 190 additions and 6 deletions
+7
View File
@@ -22,3 +22,10 @@ test('ordinary upstream failures stay retryable', () => {
retryable: true,
});
});
test('KIK HTTP 428 is also exposed as the same manual verification gate', () => {
const result = sourceFailure(new Error('KİK sunucusu isteği reddetti (HTTP 428).'));
assert.equal(result.status, 428);
assert.equal(result.body.code, 'HUMAN_VERIFICATION_REQUIRED');
assert.equal(result.body.manualAction, true);
});