feat(skills): add registry doctor diagnostics and docs

This commit is contained in:
William Valentin
2026-02-16 00:53:25 -08:00
parent 23609a03a4
commit ae36248da8
11 changed files with 298 additions and 23 deletions
+18
View File
@@ -664,3 +664,21 @@ describe('configSchema — agents truthfulness/autonomy', () => {
})).toThrow();
});
});
describe('configSchema — skills registry source', () => {
const minimalConfig = {
telegram: { bot_token: 'test', allowed_chat_ids: [1] },
models: { default: { provider: 'anthropic', model: 'claude-3' } },
};
it('accepts skills.registry_source when provided', () => {
const result = configSchema.parse({
...minimalConfig,
skills: {
registry_source: 'https://registry.example/catalog.json',
},
});
expect(result.skills.registry_source).toBe('https://registry.example/catalog.json');
});
});