refacil-sdd-ai 4.2.2 → 4.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "refacil-sdd-ai",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "SDD-AI: Specification-Driven Development with AI — metodologia de desarrollo con IA usando OpenSpec, Claude Code y Cursor",
5
5
  "bin": {
6
6
  "refacil-sdd-ai": "./bin/cli.js"
@@ -78,10 +78,12 @@ Ejecuta `git push -u origin [rama-actual]` para subir los cambios.
78
78
  Remote: origin/[nombre-rama]
79
79
  ```
80
80
 
81
- 2. **Pregunta al usuario** a que rama quiere crear el PR. Sugiere `testing` como destino por defecto para validacion funcional:
82
- ```
83
- A que rama quieres crear el PR? (recomendado: testing)
84
- ```
81
+ 2. **Pregunta al usuario** a que rama quiere crear el PR. Sugiere `testing` como destino por defecto:
82
+ ```
83
+ A que rama quieres crear el PR? (recomendado: testing)
84
+ ```
85
+
86
+ Si el usuario indica una rama distinta a `testing`, verifica que exista en el remoto con `git branch -r | grep <rama-indicada>` antes de generar el link. Si no existe, informa al usuario y pide que confirme o corrija el nombre.
85
87
 
86
88
  3. Obtén la URL del repositorio remoto con `git remote get-url origin` y determina el hosting para generar el link correcto:
87
89
  - **GitHub** (url contiene `github.com`): `https://github.com/[owner]/[repo]/compare/[rama-destino]...[rama-actual]?expand=1`