You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/SWARM_PROTOCOL.md
+39-12Lines changed: 39 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,8 @@ Keeps it under 300 words, outputs ONLY Markdown content.
72
72
73
73
When no API key is configured (`RB_HOST_RUNNER` set to `codex` or `generic`), Refresh uses a single-turn, tool-free Convention Agent (`build_single_turn_convention_agent()`) that collapses the three-stage chain into one generation.
74
74
75
+
**Important:** Host-runner mode for refresh is single-turn only. It does not use the full three-agent handoff chain.
76
+
75
77
## 💬 Ask Swarm: Dynamic Module Router
76
78
77
79
When you run `rb-ask "question"`, the Ask Swarm routes your question to the relevant module's agent and returns an answer with file paths and line numbers.
@@ -115,11 +117,11 @@ graph TD
115
117
**Responsibility:** Deep knowledge of a specific module
- Tools to explore code (read_file, search_code, etc.)
120
122
- Ability to hand off to other ModuleAgents for cross-module information
121
123
122
-
ModuleAgents are created dynamically based on the project scan (one agent per detected module).
124
+
ModuleAgents are created dynamically in the legacy swarm path (one agent per detected module). When structured artifacts exist, the ask pipeline uses `_ask_with_agent_md` instead, which routes directly via `map.md` without building the full swarm.
123
125
124
126
#### 📜 GitAgent
125
127
**Responsibility:** Git history and change analysis
Copy file name to clipboardExpand all lines: docs/es/SWARM_PROTOCOL.md
+39-12Lines changed: 39 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,8 @@ Lo mantiene bajo 300 palabras, genera SOLO contenido Markdown.
72
72
73
73
Cuando no hay API key configurada (`RB_HOST_RUNNER` establecido en `codex` o `generic`), Refresh usa un Agente de Convenciones de turno único sin herramientas (`build_single_turn_convention_agent()`) que colapsa la cadena de tres etapas en una sola generación.
74
74
75
+
**Importante:** El modo host-runner para refresh es de turno único solamente. No usa la cadena completa de handoff de tres agentes.
76
+
75
77
## 💬 Ask Swarm: Enrutador de Módulos Dinámico
76
78
77
79
Cuando ejecutas `rb-ask "pregunta"`, el Ask Swarm enruta tu pregunta al agente del módulo relevante y devuelve una respuesta con rutas de archivo y números de línea.
@@ -115,11 +117,11 @@ graph TD
115
117
**Responsabilidad:** Conocimiento profundo de un módulo específico
116
118
117
119
Cada módulo obtiene su propio agente con:
118
-
-Facts estructurados del módulo (claims JSON + evidencia de fuente)
120
+
-Conocimiento del agente del módulo (`agents/*.md` — resúmenes de módulos agrupados o `modules/*.md` heredado)
119
121
- Herramientas para explorar código (read_file, search_code, etc.)
120
122
- Capacidad de pasar el control a otros ModuleAgents para información entre módulos
121
123
122
-
Los ModuleAgents se crean dinámicamente basados en el escaneo del proyecto (un agente por módulo detectado).
124
+
Los ModuleAgents se crean dinámicamente en el camino de swarm heredado (un agente por módulo detectado). Cuando existen artefactos estructurados, el pipeline ask usa `_ask_with_agent_md` en su lugar, que enruta directamente vía `map.md` sin construir el swarm completo.
123
125
124
126
#### 📜 GitAgent
125
127
**Responsabilidad:** Historial de Git y análisis de cambios
0 commit comments