feat: add fail-closed Aider development skill

This commit is contained in:
john
2026-07-24 19:48:04 +08:00
parent 1c82b34ad9
commit be9c25f1d0
15 changed files with 320 additions and 7 deletions
+15
View File
@@ -43,6 +43,21 @@ test('tool gateway selects openhands for page_data_dev_complex by default', () =
assert.equal(gateway.selectExecutor({ taskType: 'page_data_dev_complex' }), 'openhands');
});
test('tool gateway honors an explicitly required Aider executor over task defaults', () => {
const gateway = createToolGateway({ env: {} });
assert.equal(gateway.selectExecutor({
taskType: 'page_data_dev_complex',
userMessage: {
metadata: {
memindRun: {
executor: 'aider',
selectedChatSkill: 'aider-development',
},
},
},
}), 'aider');
});
test('tool gateway dry run builds executor launch plan without spawning', async () => {
const plans = [];
const gateway = createToolGateway({