Skip to the content.

Task 24 — Реестр инструментов

Phase: 2 Status: done Owner: — Slug: tool-registry

Goal

Навыки объявляют HTTP, FS, shell, DB, GPIO/MQTT и MCP-инструменты из data/Tools/; реестр хранит allow/deny, схемы, лимиты и health state.

Acceptance criteria

Sub-tasks

Scope / Likely files

src/agent/Tools/Registry/, src/agent/Tools/Source/

Dependencies

Implementation notes

2026-08-12

Добавлено:

Config/AppConfig.cs — ToolRegistryConfig:

Tools/Registry/Models.cs — 5 типов:

Tools/Registry/IToolRegistryService.cs — интерфейс:

Tools/Registry/ToolRegistryService.cs — реализация:

Tools/Registry/ToolHealthService.cs — BackgroundService:

Tools/Registry/ToolDiscovery.cs — file-based discovery:

Tools/RegistryController.cs — 6 endpoints:

DI (CLI + WebAPI):

Tests — 29 новых тестов:

Validation:

Risks / Rollback

Безопасность динамической загрузки; подписанные sources.