@christianmaf80/agentic-workflow 1.30.0-beta.8 → 1.30.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/workflows/init.md +20 -13
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ blocking: true
|
|
|
19
19
|
- Cargar el bootstrap mínimo de índices.
|
|
20
20
|
- Detectar idioma de conversación y confirmar explícitamente.
|
|
21
21
|
- **Seleccionar estrategia de ciclo de vida (Long/Short)**.
|
|
22
|
-
- Crear el **
|
|
22
|
+
- Crear el **init candidate** con timestamp `<timestamp>-init.md` en `.agent/artifacts/candidate/`.
|
|
23
23
|
- **Solo si el Gate se cumple**, preguntar por la tarea a realizar y lanzar el ciclo correspondiente.
|
|
24
24
|
|
|
25
25
|
## Orquestación y Disciplina (SYSTEM INJECTION)
|
|
@@ -81,9 +81,9 @@ El agente **DEBE** adherirse a estas meta-reglas de comportamiento durante TODA
|
|
|
81
81
|
- Preguntar al desarrollador:
|
|
82
82
|
- "Por favor, selecciona la estrategia: **Long** (9 fases completas) o **Short** (3 fases simplificadas)."
|
|
83
83
|
- Si no hay selección → ir a **Paso 9 (FAIL)**.
|
|
84
|
-
- Registrar la selección en el
|
|
84
|
+
- Registrar la selección en el init candidate `<timestamp>-init.md`.
|
|
85
85
|
|
|
86
|
-
6. **Crear el
|
|
86
|
+
6. **Crear el init candidate `<timestamp>-init.md` (OBLIGATORIO)**
|
|
87
87
|
- El artefacto **DEBE** crearse usando **exactamente** la estructura definida en:
|
|
88
88
|
- `templates.init`
|
|
89
89
|
- Todos los campos obligatorios del template **DEBEN** completarse.
|
|
@@ -92,11 +92,15 @@ El agente **DEBE** adherirse a estas meta-reglas de comportamiento durante TODA
|
|
|
92
92
|
- No se permite modificar, omitir ni reinterpretar la estructura del template.
|
|
93
93
|
|
|
94
94
|
7. Escribir el fichero en:
|
|
95
|
-
-
|
|
95
|
+
- `.agent/artifacts/candidate/<timestamp>-init.md`
|
|
96
96
|
|
|
97
|
-
8.
|
|
97
|
+
8. Indexar el init candidate en:
|
|
98
|
+
- `artifacts.candidate.index`
|
|
99
|
+
- Registrar la ruta del nuevo init (`.agent/artifacts/candidate/<timestamp>-init.md`).
|
|
100
|
+
|
|
101
|
+
9. **Validar Gate con Runtime (OBLIGATORIO)**:
|
|
98
102
|
- **ANTES** de evaluar el Gate, el agente **DEBE** llamar a `runtime.validate_gate` con:
|
|
99
|
-
- `taskPath`: `.agent/artifacts/candidate
|
|
103
|
+
- `taskPath`: `.agent/artifacts/candidate/<timestamp>-init.md`
|
|
100
104
|
- `agent`: `architect-agent`
|
|
101
105
|
- `expectedPhase`: `init`
|
|
102
106
|
- **Opcionalmente**, usar `debug_read_logs` para auditar que los pasos previos fueron registrados.
|
|
@@ -104,14 +108,14 @@ El agente **DEBE** adherirse a estas meta-reglas de comportamiento durante TODA
|
|
|
104
108
|
- Si Gate FAIL → ir a **Paso 9 (FAIL)**.
|
|
105
109
|
- Si Gate PASS → continuar.
|
|
106
110
|
|
|
107
|
-
|
|
111
|
+
10. FAIL (obligatorio)
|
|
108
112
|
- Declarar `init` como **NO completado**.
|
|
109
113
|
- Explicar exactamente qué requisito falló.
|
|
110
114
|
- Pedir la acción mínima necesaria.
|
|
111
115
|
- **No preguntar por la tarea**.
|
|
112
116
|
- Terminar el workflow en estado bloqueado.
|
|
113
117
|
|
|
114
|
-
|
|
118
|
+
11. PASS (solo si Gate PASS)
|
|
115
119
|
- Preguntar por la tarea:
|
|
116
120
|
- "¿Qué tarea quieres iniciar ahora? Dame un título corto y el objetivo."
|
|
117
121
|
- Una vez recibidos título y objetivo:
|
|
@@ -120,12 +124,14 @@ El agente **DEBE** adherirse a estas meta-reglas de comportamiento durante TODA
|
|
|
120
124
|
|
|
121
125
|
## Output (REQUIRED)
|
|
122
126
|
- Artefacto creado:
|
|
123
|
-
|
|
127
|
+
- `.agent/artifacts/candidate/<timestamp>-init.md`
|
|
128
|
+
- Index actualizado:
|
|
129
|
+
- `artifacts.candidate.index`
|
|
124
130
|
|
|
125
131
|
## Gate (REQUIRED)
|
|
126
132
|
Requisitos (todos obligatorios):
|
|
127
133
|
1) Existe el artefacto:
|
|
128
|
-
-
|
|
134
|
+
- `.agent/artifacts/candidate/<timestamp>-init.md`
|
|
129
135
|
2) En su YAML:
|
|
130
136
|
- `language.value` no vacío
|
|
131
137
|
- `language.confirmed == true`
|
|
@@ -139,6 +145,7 @@ Requisitos (todos obligatorios):
|
|
|
139
145
|
- El agente ha verificado conectividad MCP (`runtime_chat`).
|
|
140
146
|
- El agente ha llamado `runtime.run` para iniciar el workflow.
|
|
141
147
|
- El agente ha llamado `runtime.validate_gate` antes de evaluar el Gate.
|
|
142
|
-
7)
|
|
143
|
-
8)
|
|
144
|
-
9)
|
|
148
|
+
7) El init candidate está indexado en `artifacts.candidate.index`.
|
|
149
|
+
8) No se cargaron índices fuera del set permitido (solo `.agent/index.md`, `agent.domains.rules.index`, `rules.constitution.index`).
|
|
150
|
+
9) El Root Index `.agent/index.md` fue cargado antes de cualquier otro índice.
|
|
151
|
+
10) **Auditoría de logs**: Los pasos del workflow deben estar registrados en el buffer de logs del runtime.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christianmaf80/agentic-workflow",
|
|
3
|
-
"version": "1.30.
|
|
3
|
+
"version": "1.30.1-beta.7",
|
|
4
4
|
"description": "Portable agentic workflow orchestration system with strict identity and gate discipline",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"displayName": "Agentic Workflow",
|