context-first-cli 2.2.0 → 2.3.0

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.
@@ -11,6 +11,43 @@ Measure and document the quality of the implementation through objective metrics
11
11
  - Performance
12
12
  - Compliance with standards
13
13
 
14
+ ## 📋 Project Configuration
15
+
16
+ **⚠️ IMPORTANT: Always read the project configuration files BEFORE running this command!**
17
+
18
+ ### Required Files
19
+
20
+ 1. **`context-manifest.json`** (orchestrator root)
21
+ - List of project repositories
22
+ - Roles of each repository (metaspecs, application, etc.)
23
+ - URLs and dependencies between repositories
24
+
25
+ 2. **`ai.properties.md`** (orchestrator root)
26
+ - Project settings (`project_name`, `base_path`)
27
+ - Task management system (`task_management_system`)
28
+ - Credentials and specific configurations
29
+
30
+ ### How to Read
31
+
32
+ ```bash
33
+ # 1. Read context-manifest.json
34
+ cat context-manifest.json
35
+
36
+ # 2. Read ai.properties.md
37
+ cat ai.properties.md
38
+ ```
39
+
40
+ ### Essential Information
41
+
42
+ After reading the files, you will have:
43
+ - ✅ Complete list of project repositories
44
+ - ✅ Location of the metaspecs repository
45
+ - ✅ Base path to locate repositories
46
+ - ✅ Configured task management system
47
+ - ✅ Project-specific configurations
48
+
49
+ **🛑 DO NOT proceed without reading these files!** They contain critical information for the correct execution of the command.
50
+
14
51
  ## 📋 Prerequisites
15
52
 
16
53
  - Implementation completed (after `/work`)
@@ -57,14 +94,14 @@ Document:
57
94
 
58
95
  ### 2. Code Complexity
59
96
 
60
- Analyze the cyclomatic complexity of the modified files:
97
+ Analyze the cyclomatic complexity of modified files:
61
98
 
62
99
  ```markdown
63
100
  ## Code Complexity
64
101
 
65
102
  ### Files with High Complexity
66
- - **arquivo1.ts**: Complexity 15 (recommended: < 10)
67
- - **arquivo2.ts**: Complexity 12
103
+ - **file1.ts**: Complexity 15 (recommended: < 10)
104
+ - **file2.ts**: Complexity 12
68
105
 
69
106
  ### Recommendations
70
107
  - [Refactoring suggestion 1]
@@ -163,12 +200,12 @@ Identify technical debt introduced or resolved:
163
200
  ```markdown
164
201
  ## Technical Debt
165
202
 
166
- ### Introduced Debt
203
+ ### Debt Introduced
167
204
  - **Item 1**: [Description and justification]
168
205
  - Severity: High / Medium / Low
169
206
  - Resolution plan: [when and how to resolve]
170
207
 
171
- ### Resolved Debt
208
+ ### Debt Resolved
172
209
  - **Item 1**: [What was resolved]
173
210
  - Impact: [improvement achieved]
174
211
  ```
@@ -185,7 +222,7 @@ Create `./.sessions/<ISSUE-ID>/metrics.md`:
185
222
 
186
223
  ## Executive Summary
187
224
 
188
- - **Test Coverage**: X% (target: Y%)
225
+ - **Test Coverage**: X% (goal: Y%)
189
226
  - **Code Quality**: ✅ / ⚠️ / ❌
190
227
  - **Performance**: ✅ / ⚠️ / ❌
191
228
  - **Technical Debt**: Low / Medium / High
@@ -210,7 +247,7 @@ Create `./.sessions/<ISSUE-ID>/metrics.md`:
210
247
 
211
248
  ## Approval for Merge
212
249
 
213
- - [ ] Test coverage >= target
250
+ - [ ] Test coverage >= goal
214
251
  - [ ] No critical quality issues
215
252
  - [ ] Performance within requirements
216
253
  - [ ] Technical debt documented and approved
@@ -229,18 +266,18 @@ If the project has goals defined in metaspecs, validate:
229
266
  - **Performance**: < 100ms
230
267
 
231
268
  ### Status
232
- - Coverage: ✅ 85% (target: 80%)
233
- - Complexity: ⚠️ 12 (target: 10) - Justified
234
- - Performance: ✅ 85ms (target: 100ms)
269
+ - Coverage: ✅ 85% (goal: 80%)
270
+ - Complexity: ⚠️ 12 (goal: 10) - Justified
271
+ - Performance: ✅ 85ms (goal: 100ms)
235
272
  ```
236
273
 
237
274
  ## 🚨 Alerts
238
275
 
239
276
  If any metric is out of acceptable range:
240
- 1. 🛑 **DOCUMENT** the problem
277
+ 1. 🛑 **DOCUMENT** the issue
241
278
  2. 💬 **ALERT** the user
242
279
  3. 🔧 **PROPOSE** corrective actions
243
- 4. ⏸️ **CONSIDER** blocking the merge until resolved
280
+ 4. ⏸️ **CONSIDER** blocking the merge until resolution
244
281
 
245
282
  ---
246
283
 
@@ -252,11 +289,11 @@ If any metric is out of acceptable range:
252
289
 
253
290
  ---
254
291
 
255
- ## 🎯 Result
292
+ ## 🎯 Outcome
256
293
 
257
294
  After running this command, you will have:
258
295
  - Complete metrics report
259
296
  - Comparison with baseline and goals
260
297
  - Identification of quality issues
261
- - Recommended actions
298
+ - Recommendations for actions
262
299
  - Objective basis for merge approval
@@ -10,11 +10,49 @@ Create a structured record of technical and product decisions, ensuring:
10
10
  - **Audit**: Complete history of choices for future review
11
11
  - **Learning**: Documentation of trade-offs and alternatives considered
12
12
 
13
- **IMPORTANT**: This command does NOT generate new decisions. It only RECORDS decisions that have already been made during the development process.
13
+ **IMPORTANT**: This command DOES NOT generate new decisions. It only RECORDS decisions that have already been made during the development process.
14
+
15
+ ## 📋 Project Configuration
16
+
17
+ **⚠️ IMPORTANT: Always read the project configuration files BEFORE running this command!**
18
+
19
+ ### Required Files
20
+
21
+ 1. **`context-manifest.json`** (orchestrator root)
22
+ - List of project repositories
23
+ - Roles of each repository (metaspecs, application, etc.)
24
+ - URLs and dependencies between repositories
25
+
26
+ 2. **`ai.properties.md`** (orchestrator root)
27
+ - Project settings (`project_name`, `base_path`)
28
+ - Task management system (`task_management_system`)
29
+ - Credentials and specific configurations
30
+
31
+ ### How to Read
32
+
33
+ ```bash
34
+ # 1. Read context-manifest.json
35
+ cat context-manifest.json
36
+
37
+ # 2. Read ai.properties.md
38
+ cat ai.properties.md
39
+ ```
40
+
41
+ ### Essential Information
42
+
43
+ After reading the files, you will have:
44
+ - ✅ Complete list of project repositories
45
+ - ✅ Location of the metaspecs repository
46
+ - ✅ Base path to locate repositories
47
+ - ✅ Configured task management system
48
+ - ✅ Project-specific configurations
49
+
50
+ **🛑 DO NOT proceed without reading these files!** They contain critical information for the correct execution of the command.
51
+
14
52
 
15
53
  ## 📋 Prerequisites
16
54
 
17
- - You have run at least one of the commands that generate decisions:
55
+ - Have executed at least one of the commands that generate decisions:
18
56
  - `/spec` - generates PRD with product decisions
19
57
  - `/plan` - generates plan.md with technical decisions
20
58
  - `/work` - implementation generates decisions during development
@@ -47,9 +85,9 @@ Analyze the session files (`./.sessions/<ISSUE-ID>/`) to identify decisions:
47
85
  - Read `./.sessions/<ISSUE-ID>/work.md`
48
86
  - Identify decisions in:
49
87
  - Refactorings performed
50
- - Changes in approach
51
- - Optimizations applied
52
- - Handling of edge cases
88
+ - Approach changes
89
+ - Applied optimizations
90
+ - Edge case handling
53
91
 
54
92
  ### 2. Document Each Decision
55
93
 
@@ -145,7 +183,7 @@ For critical decisions, document the impact:
145
183
 
146
184
  Periodically review the decisions made:
147
185
  - Do they still make sense?
148
- - Were the trade-offs proven correct?
186
+ - Have the trade-offs proven correct?
149
187
  - Are there learnings to document?
150
188
  - Does any decision need to be reversed?
151
189
 
@@ -1,34 +1,71 @@
1
1
  # Warm-up - Context Loading
2
2
 
3
- This command prepares the environment by loading the complete context of the project and current workspace.
3
+ This command prepares the environment by loading the full context of the current project and workspace.
4
4
 
5
5
  ## 1. Identify Current Workspace
6
6
 
7
7
  Check if you are inside a workspace created by `context-cli`:
8
8
 
9
9
  ```bash
10
- # Check if you're in a workspace directory
10
+ # Check if you are in a workspace directory
11
11
  pwd
12
- # The workspace is usually at ~/workspaces/<ISSUE-ID>/
12
+ # The workspace is usually located at ~/workspaces/<ISSUE-ID>/
13
13
  ```
14
14
 
15
- If you're not in a workspace, ask the user which workspace to use or if you should create a new one with `feature:start`.
15
+ If you are not in a workspace, ask the user which workspace to use or if a new one should be created with `feature:start`.
16
+
17
+ ## 📋 Project Configuration
18
+
19
+ **⚠️ IMPORTANT: Always read the project configuration files BEFORE running this command!**
20
+
21
+ ### Required Files
22
+
23
+ 1. **`context-manifest.json`** (root of the orchestrator)
24
+ - List of project repositories
25
+ - Roles of each repository (metaspecs, application, etc.)
26
+ - URLs and dependencies between repositories
27
+
28
+ 2. **`ai.properties.md`** (root of the orchestrator)
29
+ - Project settings (`project_name`, `base_path`)
30
+ - Task management system (`task_management_system`)
31
+ - Credentials and specific configurations
32
+
33
+ ### How to Read
34
+
35
+ ```bash
36
+ # 1. Read context-manifest.json
37
+ cat context-manifest.json
38
+
39
+ # 2. Read ai.properties.md
40
+ cat ai.properties.md
41
+ ```
42
+
43
+ ### Essential Information
44
+
45
+ After reading the files, you will have:
46
+ - ✅ Complete list of project repositories
47
+ - ✅ Location of the metaspecs repository
48
+ - ✅ Base path to locate repositories
49
+ - ✅ Configured task management system
50
+ - ✅ Project-specific configurations
51
+
52
+ **🛑 DO NOT proceed without reading these files!** They contain critical information for the correct execution of the command.
16
53
 
17
54
  ## 2. Load Project Configuration
18
55
 
19
- You are already in the project's orchestrator (current repository root).
56
+ You are already in the project orchestrator (root of the current repository).
20
57
 
21
- 1. **Verify you're at the orchestrator root**: `pwd` should show the orchestrator directory
58
+ 1. **Verify you are at the orchestrator root**: `pwd` should show the orchestrator directory
22
59
  2. **Read the `context-manifest.json` file** at the orchestrator root
23
- 3. **Read the `ai.properties.md` file** to get local configurations (base_path, etc.)
60
+ 3. **Read the `ai.properties.md` file** to obtain local configurations (base_path, etc.)
24
61
 
25
62
  ## 3. Load Project Manifest
26
63
 
27
64
  Read the `context-manifest.json` from the orchestrator to understand:
28
65
  - Complete list of ecosystem repositories
29
- - MetaSpecs repository URL
66
+ - URL of the MetaSpecs repository
30
67
  - Dependencies between repositories
31
- - Role of each repository (application, library, service, specs-provider)
68
+ - Roles of each repository (application, library, service, specs-provider)
32
69
 
33
70
  ## 4. Load MetaSpecs
34
71
 
@@ -37,32 +74,32 @@ The MetaSpecs repository is **separate** and defined in `context-manifest.json`
37
74
  **Locate the metaspecs repository:**
38
75
 
39
76
  1. Read `context-manifest.json` and find the repository with `role: "metaspecs"`
40
- 2. Get the `id` of that repository (e.g., "my-project-metaspecs")
77
+ 2. Obtain the `id` of that repository (e.g., "my-project-metaspecs")
41
78
  3. Read `ai.properties.md` to get the `base_path`
42
- 4. The metaspecs repository is at: `{base_path}/{metaspecs-id}/`
79
+ 4. The metaspecs repository is located at: `{base_path}/{metaspecs-id}/`
43
80
 
44
81
  **Always read the index files first:**
45
82
 
46
83
  1. **`README.md`** - Project overview and documentation structure
47
84
  2. **`index.md`** (in root or subfolders) - Index of available specifications
48
85
 
49
- **Use the indexes as reference** to navigate to the specific specifications you need. Don't assume specific files exist - always consult the indexes first.
86
+ **Use the indexes as a reference** to navigate to the specific specifications you need. Do not assume specific files exist always consult the indexes first.
50
87
 
51
- ## 5. Load Current Session (if exists)
88
+ ## 5. Load Current Session (if any)
52
89
 
53
- Check if there's a saved session for this workspace:
90
+ Check if there is a saved session for this workspace:
54
91
 
55
92
  ```bash
56
- # Look for session in orchestrator
93
+ # Look for session in the orchestrator
57
94
  ls -la .sessions/<ISSUE-ID>/ 2>/dev/null
58
95
  ```
59
96
 
60
- If it exists, read the session files to recover the context from the last execution.
97
+ If it exists, read the session files to recover the context of the last execution.
61
98
 
62
99
  ## 6. Repository Context
63
100
 
64
101
  For each repository present in the workspace, read:
65
- - `README.md` - Repository purpose and overview
102
+ - `README.md` - Purpose and overview of the repository
66
103
  - Main configuration file (`package.json`, `pom.xml`, `requirements.txt`, etc.)
67
104
 
68
105
  ## 7. Smart Navigation
@@ -71,7 +108,7 @@ For each repository present in the workspace, read:
71
108
  - **Documentation**: Use MetaSpecs indexes as reference
72
109
  - **Wait for Instructions**: DO NOT read other files now. Wait for the next command.
73
110
 
74
- ## 8. Jidoka Principle (Stop When Detecting Problems)
111
+ ## 8. Jidoka Principle (Stop Upon Detecting Problems)
75
112
 
76
113
  If you detect misalignment, conflicts, or problems:
77
114
  1. 🛑 **STOP** immediately
@@ -82,4 +119,4 @@ If you detect misalignment, conflicts, or problems:
82
119
 
83
120
  **Provided arguments**: #$ARGUMENTS
84
121
 
85
- **Status**: Context loaded. Waiting for next command.
122
+ **Status**: Context loaded. Awaiting next command.
@@ -1,6 +1,6 @@
1
1
  # Refinamiento de Requisitos
2
2
 
3
- Eres un especialista en producto encargado de ayudar a refinar requisitos para el proyecto.
3
+ Usted es un especialista en producto encargado de ayudar a refinar requisitos para el proyecto.
4
4
 
5
5
  ## ⚠️ IMPORTANTE: Este Comando NO Implementa Código
6
6
 
@@ -8,7 +8,7 @@ Eres un especialista en producto encargado de ayudar a refinar requisitos para e
8
8
  - ✅ Validar requisitos contra metaspecs
9
9
  - ✅ Crear especificación refinada
10
10
  - ✅ Guardar documentación en `.sessions/`
11
- - ✅ Actualizar issue en el task manager
11
+ - ✅ Actualizar issue en el gestor de tareas
12
12
  - ❌ **NO implementar código**
13
13
  - ❌ **NO hacer ediciones en archivos de código**
14
14
  - ❌ **NO ejecutar pruebas o deploy**
@@ -17,76 +17,114 @@ Eres un especialista en producto encargado de ayudar a refinar requisitos para e
17
17
 
18
18
  ---
19
19
 
20
+ ## 📋 Configuración del Proyecto
21
+
22
+ **⚠️ IMPORTANTE: ¡Siempre lea los archivos de configuración del proyecto ANTES de ejecutar este comando!**
23
+
24
+ ### Archivos Obligatorios
25
+
26
+ 1. **`context-manifest.json`** (raíz del orchestrator)
27
+ - Lista de repositorios del proyecto
28
+ - Roles de cada repositorio (metaspecs, application, etc.)
29
+ - URLs y dependencias entre repositorios
30
+
31
+ 2. **`ai.properties.md`** (raíz del orchestrator)
32
+ - Configuraciones del proyecto (`project_name`, `base_path`)
33
+ - Sistema de gestión de tareas (`task_management_system`)
34
+ - Credenciales y configuraciones específicas
35
+
36
+ ### Cómo Leer
37
+
38
+ ```bash
39
+ # 1. Leer context-manifest.json
40
+ cat context-manifest.json
41
+
42
+ # 2. Leer ai.properties.md
43
+ cat ai.properties.md
44
+ ```
45
+
46
+ ### Información Esencial
47
+
48
+ Después de leer los archivos, usted tendrá:
49
+ - ✅ Lista completa de repositorios del proyecto
50
+ - ✅ Ubicación del repositorio de metaspecs
51
+ - ✅ Base path para localizar repositorios
52
+ - ✅ Sistema de gestión de tareas configurado
53
+ - ✅ Configuraciones específicas del proyecto
54
+
55
+ **🛑 NO continúe sin leer estos archivos!** Contienen información crítica para la correcta ejecución del comando.
56
+
57
+
20
58
  ## Objetivo
21
59
 
22
- Transformar un requisito inicial en especificación refinada y validada, lista para convertirse en PRD completo.
60
+ Transformar un requisito inicial en especificación refinada y validada, lista para convertirse en un PRD completo.
23
61
 
24
62
  ## Proceso
25
63
 
26
64
  ### 1. Fase de Aclaración
27
65
 
28
- Lee el requisito inicial y haz preguntas para alcanzar claridad total sobre:
66
+ Lea el requisito inicial y haga preguntas para alcanzar claridad total sobre:
29
67
  - **Objetivo**: ¿Por qué construir esto?
30
68
  - **Valor de Negocio**: ¿Qué métrica/persona impacta?
31
69
  - **Alcance**: ¿Qué incluye y qué NO incluye?
32
- - **Interacciones**: ¿Qué features/componentes existentes se ven afectados?
70
+ - **Interacciones**: ¿Qué funcionalidades/componentes existentes se ven afectados?
33
71
 
34
- Continúa haciendo preguntas hasta tener entendimiento completo.
72
+ Continúe haciendo preguntas hasta tener entendimiento completo.
35
73
 
36
74
  ### 2. Validación Contra Metaspecs
37
75
 
38
- **IMPORTANTE**: Primero lee `ai.properties.md` para obtener el `base_path`. Los índices YA deben estar en contexto (corriste `/warm-up`). Consulta los índices y lee SÓLO los documentos relevantes para validar el requisito.
76
+ **IMPORTANTE**: Primero lea `ai.properties.md` para obtener el `base_path`. Los índices YA deben estar en contexto (usted ejecutó `/warm-up`). Consulte los índices y lea SÓLO los documentos relevantes para validar el requisito.
39
77
 
40
78
  **Proceso de Validación**:
41
79
 
42
- 1. **Consulta los índices cargados** por `/warm-up`:
43
- - Lee `context-manifest.json` para encontrar el repositorio con `role: "metaspecs"`
44
- - Obtén el `id` de ese repositorio (ej: "my-project-metaspecs")
45
- - Lee `ai.properties.md` para obtener el `base_path`
80
+ 1. **Consulte los índices cargados** por `/warm-up`:
81
+ - Lea `context-manifest.json` para encontrar el repositorio con `role: "metaspecs"`
82
+ - Obtenga el `id` de ese repositorio (ej: "my-project-metaspecs")
83
+ - Lea `ai.properties.md` para obtener el `base_path`
46
84
  - El repositorio de metaspecs está en: `{base_path}/{metaspecs-id}/`
47
- - Consulta `{base_path}/{metaspecs-id}/index.md` - Visión general del proyecto
48
- - Consulta índices específicos (ej: `specs/business/index.md`, `specs/technical/index.md`)
85
+ - Consulte `{base_path}/{metaspecs-id}/index.md` - Visión general del proyecto
86
+ - Consulte índices específicos (ej: `specs/business/index.md`, `specs/technical/index.md`)
49
87
 
50
- 2. **Identifica documentos relevantes** para este requisito específico:
88
+ 2. **Identifique documentos relevantes** para este requisito específico:
51
89
  - En `specs/business/`: ¿Qué documentos de negocio son relevantes?
52
90
  - En `specs/technical/`: ¿Qué documentos técnicos son relevantes?
53
91
 
54
- 3. **Lee SÓLO los documentos relevantes** identificados (¡no leas todo!)
92
+ 3. **Lea SÓLO los documentos relevantes** identificados (¡no lea todo!)
55
93
 
56
- 4. **Valida el requisito** contra las metaspecs leídas:
94
+ 4. **Valide el requisito** contra las metaspecs leídas:
57
95
  - ✅ Alineación con estrategia y visión de producto
58
96
  - ✅ Atiende necesidades de las personas correctas
59
97
  - ✅ Compatible con stack tecnológico aprobado
60
- - ✅ Respeta decisiones arquitecturales (ADRs)
98
+ - ✅ Respeta decisiones arquitectónicas (ADRs)
61
99
  - ✅ Sigue reglas de negocio existentes
62
- - ⚠️ Identifica conflictos o violaciones
100
+ - ⚠️ Identifique conflictos o violaciones
63
101
 
64
- **Si identificas violaciones**: 🛑 **DETENTE** y pide aclaración al usuario antes de continuar (Principio Jidoka).
102
+ **Si identifica violaciones**: 🛑 **PARE** y pida aclaración al usuario antes de continuar (Principio Jidoka).
65
103
 
66
104
  ### 3. Fase de Resumen y Aprobación
67
105
 
68
- Una vez que hayas recopilado información suficiente y validado contra metaspecs, presenta un resumen estructurado con:
106
+ Una vez que haya recopilado información suficiente y validado contra metaspecs, presente un resumen estructurado con:
69
107
  - **Feature**: Nombre de la funcionalidad
70
108
  - **Objetivo**: Por qué construir (1-2 frases)
71
- - **Valor de Negocio**: Métrica, persona, fase del roadmap (consulta metaspecs)
109
+ - **Valor de Negocio**: Métrica, persona, fase del roadmap (consulte metaspecs)
72
110
  - **Alcance**: Qué INCLUYE y qué NO INCLUYE
73
- - **Componentes Afectados**: Lista basada en la arquitectura actual (consulta metaspecs técnicas)
111
+ - **Componentes Afectados**: Lista basada en la arquitectura actual (consulte metaspecs técnicas)
74
112
  - **Validación contra Metaspecs**: ✅ Aprobado / ⚠️ Atención necesaria
75
113
  - **Estimación de Esfuerzo**: Pequeño (< 1 día) / Medio (1-3 días) / Grande (3-5 días) / Muy Grande (> 5 días)
76
114
 
77
115
  **Evaluación de Complejidad y Sugerencia de División**:
78
116
 
79
117
  **Si la implementación parece grande** (> 5 días de esfuerzo estimado):
80
- - 🚨 **Sugiere dividir en múltiples issues menores**
81
- - Explica el racional de la división (ej: "Esta feature involucra 3 áreas distintas que pueden implementarse independientemente")
82
- - Propón una división **lógica** basada en:
118
+ - 🚨 **Sugiera dividir en múltiples issues más pequeñas**
119
+ - Explique el razonamiento de la división (ej: "Esta feature involucra 3 áreas distintas que pueden implementarse independientemente")
120
+ - Proponga una división **lógica** basada en:
83
121
  - Funcionalidades independientes
84
122
  - Repositorios diferentes
85
123
  - Capas de la aplicación (backend, frontend, infra)
86
124
  - Fases de implementación (MVP, mejoras, optimizaciones)
87
125
  - Ejemplo de división:
88
126
  ```
89
- Issue Original: "Sistema de notificaciones multi-canal"
127
+ Issue Original: "Sistema de notificaciones multicanal"
90
128
 
91
129
  División Sugerida:
92
130
  - FIN-201: Infraestructura de colas y workers (backend)
@@ -97,59 +135,59 @@ Una vez que hayas recopilado información suficiente y validado contra metaspecs
97
135
  - **Importante**: La decisión final es del usuario - puede aceptar la división o mantener como issue única
98
136
 
99
137
  **Si el usuario acepta la división**:
100
- - Documenta cada issue por separado
101
- - Añade referencias cruzadas entre las issues relacionadas
102
- - Sugiere orden de implementación si hay dependencias
138
+ - Documente cada issue por separado
139
+ - Añada referencias cruzadas entre las issues relacionadas
140
+ - Sugiera orden de implementación si hay dependencias
103
141
  - Cada issue dividida debe pasar por el mismo proceso de refinamiento
104
142
 
105
- Pide aprobación del usuario e incorpora feedback si es necesario.
143
+ Solicite aprobación del usuario e incorpore feedback si es necesario.
106
144
 
107
- **Consejo**: Puedes buscar en el código base o internet antes de finalizar, si es necesario.
145
+ **Consejo**: Puede investigar en el código base o internet antes de finalizar, si es necesario.
108
146
 
109
147
  ### 4. Guardado de los Requisitos Refinados
110
148
 
111
- Una vez que el usuario apruebe, guarda los requisitos:
149
+ Una vez que el usuario apruebe, guarde los requisitos:
112
150
 
113
- **IMPORTANTE**: Siempre crea backup local Y actualiza el task manager (si está configurado).
151
+ **IMPORTANTE**: Siempre cree backup local Y actualice el gestor de tareas (si está configurado).
114
152
 
115
153
  **Proceso de Guardado**:
116
154
 
117
155
  1. **SIEMPRE crear backup local primero**:
118
- - Crea archivo completo en `./.sessions/<ISSUE-ID>/refined.md` (ej: `./.sessions/FIN-5/refined.md`)
156
+ - Cree archivo completo en `./.sessions/<ISSUE-ID>/refined.md` (ej: `./.sessions/FIN-5/refined.md`)
119
157
  - Donde `<ISSUE-ID>` es el ID de la issue (ej: FIN-5, FIN-123)
120
- - Incluye TODOS los detalles del refinamiento (backup completo)
121
-
122
- 2. **Si el task manager está configurado** (lee `ai.properties.md` para identificar `task_management_system`):
123
- - Identifica la herramienta MCP del task manager
124
- - **Actualiza el BODY (description) de la issue** con versión CONCISA de los requisitos refinados
125
- - Para Jira: Usa MCP de Jira con campo `description`
126
- - Para Linear: Usa MCP de Linear con campo `description`
127
- - Para GitHub: Usa MCP de GitHub con campo `body`
128
- - Para Azure Boards: Usa MCP de Azure Boards con campo `description`
129
- - Incluye todo el contenido refinado en el campo description/body de la issue
130
- - Si el contenido es muy extenso y hay error de API, considera crear versión resumida
131
- - **SIEMPRE sobrescribe** el body existente (no agregar al final)
158
+ - Incluya TODOS los detalles del refinamiento (backup completo)
159
+
160
+ 2. **Si el gestor de tareas está configurado** (lea `ai.properties.md` para identificar `task_management_system`):
161
+ - Identifique la herramienta MCP del gestor de tareas
162
+ - **Actualice el BODY (descripción) de la issue** con versión CONCISA de los requisitos refinados
163
+ - Para Jira: Use MCP de Jira con campo `description`
164
+ - Para Linear: Use MCP de Linear con campo `description`
165
+ - Para GitHub: Use MCP de GitHub con campo `body`
166
+ - Para Azure Boards: Use MCP de Azure Boards con campo `description`
167
+ - Incluya todo el contenido refinado en el campo description/body de la issue
168
+ - Si el contenido es muy extenso y hay error de API, considere crear versión resumida
169
+ - **SIEMPRE sobrescriba** el body existente (no añadir al final)
132
170
 
133
171
  **Observación**:
134
172
  - El backup local SIEMPRE está guardado y completo
135
- - Si hay error de API, verifica manualmente si la issue fue actualizada en el task manager
173
+ - Si hay error de API, verifique manualmente si la issue fue actualizada en el gestor de tareas
136
174
 
137
- **Template de Salida**:
175
+ **Plantilla de Salida**:
138
176
 
139
- **IMPORTANTE**: El template estándar para requisitos refinados puede estar documentado en el repositorio de metaspecs. Consulta `{base_path}/{metaspecs-id}/specs/refined/` o similar.
177
+ **IMPORTANTE**: La plantilla estándar para requisitos refinados puede estar documentada en el repositorio de metaspecs. Consulte `{base_path}/{metaspecs-id}/specs/refined/` o similar.
140
178
 
141
- **Template COMPLETO** (para backup local `.sessions/<ISSUE-ID>/refined.md`):
179
+ **Plantilla COMPLETA** (para backup local `.sessions/<ISSUE-ID>/refined.md`):
142
180
  - **Metadatos**: Issue, ID, Task Manager, Proyecto, Fecha, Sprint, Prioridad
143
181
  - **🎯 POR QUÉ**: Razones, valor de negocio, métrica, persona, alineamiento estratégico
144
182
  - **📦 QUÉ**: Funcionalidades detalladas, componentes afectados, integraciones, alcance negativo completo
145
- - **🔧 CÓMO**: Stack, patrones de código, estructura de archivos, dependencias, orden de implementación, failure modes, consideraciones de performance/costo/UX
183
+ - **🔧 CÓMO**: Stack, patrones de código, estructura de archivos, dependencias, orden de implementación, modos de fallo, consideraciones de performance/costo/UX
146
184
  - **✅ Validación contra Metaspecs**: Documentos consultados (business y technical), ADRs verificados, resultado de la validación
147
185
  - **📊 Métricas de Éxito**: Técnicas, producto/UX, criterios de aceptación
148
186
  - **🔄 Impacto en el Producto**: Alineamiento con objetivos, habilitadores, riesgos mitigados
149
187
  - **⚠️ Limitaciones Conocidas**: Limitaciones del MVP
150
- - **📝 Checklist de Implementación**: Tareas por área (backend, frontend, tests, seguridad, etc.)
188
+ - **📝 Checklist de Implementación**: Tareas por área (backend, frontend, pruebas, seguridad, etc.)
151
189
 
152
- **Template para Task Manager**:
190
+ **Plantilla para Gestor de Tareas**:
153
191
  ```markdown
154
192
  # [Nombre Feature] - Requisitos Refinados
155
193
 
@@ -160,7 +198,7 @@ Una vez que el usuario apruebe, guarda los requisitos:
160
198
 
161
199
  ## Alcance
162
200
 
163
- ### Funcionalidades Principales
201
+ ### Principales Funcionalidades
164
202
  - Funcionalidad 1: [resumen]
165
203
  - Funcionalidad 2: [resumen]
166
204
  - Validaciones/Guards: [resumen]
@@ -170,10 +208,10 @@ Una vez que el usuario apruebe, guarda los requisitos:
170
208
  - Componente 2: [tipo de cambio]
171
209
 
172
210
  ### Seguridad
173
- ✅ [ítem 1] ✅ [ítem 2] ✅ [ítem 3]
211
+ ✅ [item 1] ✅ [item 2] ✅ [item 3]
174
212
 
175
213
  ## Alcance Negativo
176
- ❌ [ítem 1] ❌ [ítem 2] ❌ [ítem 3]
214
+ ❌ [item 1] ❌ [item 2] ❌ [item 3]
177
215
 
178
216
  ## Stack
179
217
  [Tech stack resumida por área]
@@ -181,14 +219,14 @@ Una vez que el usuario apruebe, guarda los requisitos:
181
219
  ## Estructura
182
220
  [Árbol de archivos RESUMIDO - módulos principales solamente]
183
221
 
184
- ## Failure Modes (Evitar)
222
+ ## Modos de Fallo (Evitar)
185
223
  🔴 [crítico 1] 🔴 [crítico 2]
186
224
  🟡 [medio 1] 🟡 [medio 2]
187
225
 
188
226
  ## Criterios de Aceptación
189
- - [ ] [ítem 1]
190
- - [ ] [ítem 2]
191
- - [ ] [ítem 3]
227
+ - [ ] [item 1]
228
+ - [ ] [item 2]
229
+ - [ ] [item 3]
192
230
 
193
231
  ## Validación
194
232
  **ADRs**: [lista]
@@ -202,7 +240,7 @@ Una vez que el usuario apruebe, guarda los requisitos:
202
240
  📄 **Documento completo**: `.sessions/<ISSUE-ID>/refined.md`
203
241
  ```
204
242
 
205
- **Audiencia**: Desarrollador IA con capacidades similares a las tuyas. conciso pero completo.
243
+ **Audiencia**: Desarrollador IA con capacidades similares a las suyas. Sea conciso pero completo.
206
244
 
207
245
  ---
208
246
 
@@ -216,7 +254,7 @@ Una vez que el usuario apruebe, guarda los requisitos:
216
254
 
217
255
  ## 🎯 Próximo Paso
218
256
 
219
- **Tras la aprobación del usuario y guardado de los requisitos refinados**, el flujo natural es:
257
+ **Tras la aprobación del usuario y el guardado de los requisitos refinados**, el flujo natural es:
220
258
 
221
259
  ```bash
222
260
  /spec [ISSUE-ID]