refactor: renombrar agents/specials → agents/_specials

Establece la convención de que directorios con prefijo _ en agents/
son del sistema (templates, specials), no agentes desplegables.

Cambios:
- Renombrar agents/specials/ → agents/_specials/
- Actualizar path en cmd/launcher/main.go (startOrchestrator)
- Documentar convención _ en CLAUDE.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-09 21:24:06 +00:00
parent d0ebaa5317
commit c1d118f269
6 changed files with 5 additions and 2 deletions
+3
View File
@@ -61,6 +61,7 @@ devagents/types.go Runner interface (comun a Agent y Robot)
devagents/runtime.go Agent{}: ensambla core + shell (runtime completo con LLM)
devagents/robot.go Robot{}: runtime ligero command-only (sin LLM, reglas, memoria)
agents/<id>/ agent.go (reglas puras) + config.yaml + prompts/system.md
agents/_specials/ agentes especiales del sistema (orchestrator, etc.)
tools/ tool registry + tool implementations (subpackages)
tools/mcptools/ bridge: convierte MCP tools → tools.Tool
tools/skilltools/ tools para interactuar con skills (search, load, run)
@@ -112,6 +113,8 @@ Dos tipos de runtime: **Agent** (completo, con LLM) y **Robot** (ligero, solo co
Config: `agent.type: "agent"` (default) o `agent.type: "robot"`.
Templates: `agents/_template/` (agent) y `agents/_template_robot/` (robot).
**Convención `_` prefijo**: los directorios con prefijo `_` en `agents/` son del sistema, no agentes desplegables. Incluye: `_template`, `_template_robot`, `_specials`.
| ID | Tipo | LLM | Descripcion |
|----|------|-----|-------------|
| assistant-bot | agent | GPT-4o | Asistente general, DMs |
+2 -2
View File
@@ -283,10 +283,10 @@ type orchHandle struct {
cfg *config.SpecialConfig
}
// startOrchestrator scans agents/specials/orchestrator/config.yaml and
// startOrchestrator scans agents/_specials/orchestrator/config.yaml and
// initializes the orchestrator if found and enabled.
func startOrchestrator(agentBus *bus.Bus, logger *slog.Logger) (*orchHandle, error) {
cfgPath := filepath.Join("agents", "specials", "orchestrator", "config.yaml")
cfgPath := filepath.Join("agents", "_specials", "orchestrator", "config.yaml")
if _, err := os.Stat(cfgPath); os.IsNotExist(err) {
return nil, err
}