don-cheli-sdd 1.25.0 → 1.26.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.
- package/CHANGELOG.md +12 -0
- package/CLAUDE.md +29 -19
- package/README.es.md +1 -1
- package/README.md +1 -1
- package/README.pt.md +1 -1
- package/VERSION +1 -1
- package/package.json +1 -1
- package/scripts/.claude/don-cheli/CLAUDE.md +36 -34
- package/scripts/.claude/don-cheli/VERSION +1 -1
- package/scripts/.claude/don-cheli/scripts/instalar.sh +4 -2
- package/scripts/generar-config.sh +1 -1
- package/scripts/instalar.sh +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ Todos los cambios notables en Don Cheli SDD Framework.
|
|
|
4
4
|
|
|
5
5
|
Formato basado en [Conventional Commits](https://www.conventionalcommits.org/).
|
|
6
6
|
|
|
7
|
+
## [1.26.0](https://github.com/doncheli/don-cheli-sdd/compare/v1.25.1...v1.26.0) (2026-04-07)
|
|
8
|
+
|
|
9
|
+
### Nuevas Funcionalidades
|
|
10
|
+
|
|
11
|
+
* auto-actualización automática del framework + skills al inicio de sesión ([54deefe](https://github.com/doncheli/don-cheli-sdd/commit/54deefe501fead50eeda67088a58e8d60f0b6adf))
|
|
12
|
+
|
|
13
|
+
## [1.25.1](https://github.com/doncheli/don-cheli-sdd/compare/v1.25.0...v1.25.1) (2026-04-07)
|
|
14
|
+
|
|
15
|
+
### Correcciones
|
|
16
|
+
|
|
17
|
+
* rename de comandos dc/ por idioma no se ejecutaba (EN/PT) ([5eb6f5e](https://github.com/doncheli/don-cheli-sdd/commit/5eb6f5e09b70b5e6a002a5b1142a4f7918790548))
|
|
18
|
+
|
|
7
19
|
## [1.25.0](https://github.com/doncheli/don-cheli-sdd/compare/v1.24.1...v1.25.0) (2026-04-07)
|
|
8
20
|
|
|
9
21
|
### Nuevas Funcionalidades
|
package/CLAUDE.md
CHANGED
|
@@ -31,26 +31,36 @@ Lee bajo demanda:
|
|
|
31
31
|
- `/razonar:*` — 15 modelos de razonamiento
|
|
32
32
|
|
|
33
33
|
## Auto-actualización al inicio de sesión
|
|
34
|
-
Al inicio de la **primera interacción** de cada sesión:
|
|
34
|
+
Al inicio de la **primera interacción** de cada sesión, ejecutar automáticamente:
|
|
35
|
+
|
|
36
|
+
### Paso 1: Actualizar framework
|
|
35
37
|
1. Leer `${FRAMEWORK_HOME}/VERSION` para obtener la versión local
|
|
36
|
-
2. Ejecutar `curl -s https://raw.githubusercontent.com/doncheli/don-cheli-sdd/main/VERSION`
|
|
37
|
-
3. Si versiones iguales o falla el curl → silencio
|
|
38
|
-
4. Si hay versión mayor → **
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
38
|
+
2. Ejecutar `curl -s https://raw.githubusercontent.com/doncheli/don-cheli-sdd/main/VERSION`
|
|
39
|
+
3. Si versiones iguales o falla el curl → silencio
|
|
40
|
+
4. Si hay versión mayor → **auto-actualizar en background**:
|
|
41
|
+
a. Clonar versión nueva en directorio temporal
|
|
42
|
+
b. Ejecutar auditoría de seguridad sobre los scripts cambiados:
|
|
43
|
+
- Buscar secretos hardcoded, inyección de comandos, URLs sospechosas
|
|
44
|
+
- Verificar que scripts no ejecuten código arbitrario
|
|
45
|
+
c. Ejecutar validación de estructura: `bash scripts/validar.sh`
|
|
46
|
+
d. Si auditoría tiene hallazgos 🔴 Críticos → **DETENER**, notificar:
|
|
47
|
+
`🛑 Actualización v{remota} bloqueada por hallazgos de seguridad. Revisar con /dc:auditar-seguridad`
|
|
48
|
+
e. Si pasa auditoría y estructura → aplicar: `bash scripts/actualizar.sh --forzar`
|
|
49
|
+
f. Notificar: `✅ Don Cheli auto-actualizado: v{local} → v{remota} (seguridad: ✅ | estructura: ✅)`
|
|
50
|
+
|
|
51
|
+
### Paso 2: Actualizar skills de terceros (semanal)
|
|
52
|
+
1. Ejecutar `bash scripts/skill-updater.sh --quiet`
|
|
53
|
+
2. El script tiene throttle de 7 días — solo verifica una vez por semana
|
|
54
|
+
3. Si hay updates de Anthropic Skills → aplicar automáticamente
|
|
55
|
+
4. Si hay updates de comunidad → solo notificar (no auto-aplicar)
|
|
56
|
+
5. Notificar si hubo cambios: `✅ Skills actualizadas: {N} de Anthropic`
|
|
57
|
+
|
|
58
|
+
### Reglas
|
|
59
|
+
- **Una vez por sesión** — no repetir checks en cada mensaje
|
|
60
|
+
- Si no hay conexión → silencio, no bloquear la interacción
|
|
61
|
+
- El proceso NO debe bloquear la interacción del usuario
|
|
62
|
+
- Siempre ejecutar checks de seguridad y estructura antes de aplicar
|
|
63
|
+
- Si la auditoría falla → DETENER y notificar, nunca aplicar cambios inseguros
|
|
54
64
|
|
|
55
65
|
## Idioma (i18n)
|
|
56
66
|
Detección: `${FRAMEWORK_HOME}/locale` → `.dc/config.yaml` → default `es`
|
package/README.es.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</p>
|
|
13
13
|
<p align="center">
|
|
14
14
|
<a href="#-instalación"><img src="https://img.shields.io/badge/instalación-2_minutos-brightgreen" alt="Install"></a>
|
|
15
|
-
<img src="https://img.shields.io/badge/versión-1.
|
|
15
|
+
<img src="https://img.shields.io/badge/versión-1.26.0-blue" alt="Version">
|
|
16
16
|
<img src="https://img.shields.io/badge/licencia-Apache%202.0-green" alt="License">
|
|
17
17
|
<img src="https://img.shields.io/badge/idiomas-ES%20|%20EN%20|%20PT-red" alt="Languages">
|
|
18
18
|
<img src="https://img.shields.io/badge/comandos-85+-purple" alt="Commands">
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</p>
|
|
13
13
|
<p align="center">
|
|
14
14
|
<a href="#-installation"><img src="https://img.shields.io/badge/install-2_minutes-brightgreen" alt="Install"></a>
|
|
15
|
-
<img src="https://img.shields.io/badge/version-1.
|
|
15
|
+
<img src="https://img.shields.io/badge/version-1.26.0-blue" alt="Version">
|
|
16
16
|
<img src="https://img.shields.io/badge/license-Apache%202.0-green" alt="License">
|
|
17
17
|
<img src="https://img.shields.io/badge/languages-ES%20|%20EN%20|%20PT-red" alt="Languages">
|
|
18
18
|
<img src="https://img.shields.io/badge/commands-85+-purple" alt="Commands">
|
package/README.pt.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</p>
|
|
13
13
|
<p align="center">
|
|
14
14
|
<a href="#-instalação"><img src="https://img.shields.io/badge/instalação-2_minutos-brightgreen" alt="Install"></a>
|
|
15
|
-
<img src="https://img.shields.io/badge/versão-1.
|
|
15
|
+
<img src="https://img.shields.io/badge/versão-1.26.0-blue" alt="Version">
|
|
16
16
|
<img src="https://img.shields.io/badge/licença-Apache%202.0-green" alt="License">
|
|
17
17
|
<img src="https://img.shields.io/badge/idiomas-ES%20|%20EN%20|%20PT-red" alt="Languages">
|
|
18
18
|
<img src="https://img.shields.io/badge/comandos-85+-purple" alt="Commands">
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.26.0
|
package/package.json
CHANGED
|
@@ -72,40 +72,42 @@ Lee `habilidades/optimizacion-tokens/HABILIDAD.md` para la guía completa.
|
|
|
72
72
|
- `/bucle` — Bucle autónomo
|
|
73
73
|
- `/historias-generar` — Generar prd.json
|
|
74
74
|
|
|
75
|
-
##
|
|
76
|
-
|
|
77
|
-
Al inicio de la **primera interacción** de cada sesión,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
-
|
|
88
|
-
|
|
89
|
-
**
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
75
|
+
## Auto-actualización al inicio de sesión
|
|
76
|
+
|
|
77
|
+
Al inicio de la **primera interacción** de cada sesión, ejecutar automáticamente:
|
|
78
|
+
|
|
79
|
+
### Paso 1: Actualizar framework
|
|
80
|
+
|
|
81
|
+
1. Leer `${FRAMEWORK_HOME}/VERSION` para obtener la versión local
|
|
82
|
+
2. Ejecutar `curl -s https://raw.githubusercontent.com/doncheli/don-cheli-sdd/main/VERSION`
|
|
83
|
+
3. Si versiones iguales o falla el curl → silencio
|
|
84
|
+
4. Si hay versión mayor → **auto-actualizar en background**:
|
|
85
|
+
a. Clonar versión nueva en directorio temporal
|
|
86
|
+
b. **Auditoría de seguridad** sobre scripts cambiados:
|
|
87
|
+
- Buscar secretos hardcoded, inyección de comandos, URLs sospechosas
|
|
88
|
+
- Verificar que scripts no ejecuten código arbitrario
|
|
89
|
+
c. **Validación de estructura**: `bash scripts/validar.sh`
|
|
90
|
+
d. Si auditoría 🔴 Críticos → **DETENER**:
|
|
91
|
+
`🛑 Actualización v{remota} bloqueada por hallazgos de seguridad. Revisar con /dc:auditar-seguridad`
|
|
92
|
+
e. Si pasa → aplicar: `bash scripts/actualizar.sh --forzar`
|
|
93
|
+
f. Notificar: `✅ Don Cheli auto-actualizado: v{local} → v{remota} (seguridad: ✅ | estructura: ✅)`
|
|
94
|
+
|
|
95
|
+
### Paso 2: Actualizar skills de terceros (semanal)
|
|
96
|
+
|
|
97
|
+
1. Ejecutar `bash scripts/skill-updater.sh --quiet`
|
|
98
|
+
2. El script tiene throttle de 7 días — solo verifica una vez por semana
|
|
99
|
+
3. Si hay updates de **Anthropic Skills** → aplicar automáticamente (fuente confiable)
|
|
100
|
+
4. Si hay updates de **comunidad** → solo notificar (no auto-aplicar, requiere revisión)
|
|
101
|
+
5. Si hubo cambios: `✅ Skills actualizadas: {N} de Anthropic`
|
|
102
|
+
|
|
103
|
+
### Reglas
|
|
104
|
+
|
|
105
|
+
- **Una vez por sesión** — no repetir en cada mensaje
|
|
106
|
+
- Si no hay conexión → silencio, no bloquear
|
|
107
|
+
- El proceso **NO debe bloquear** la interacción del usuario
|
|
108
|
+
- **Siempre** ejecutar checks de seguridad y estructura antes de aplicar
|
|
109
|
+
- Si la auditoría falla → **DETENER**, nunca aplicar cambios inseguros
|
|
110
|
+
- Skills de comunidad → **nunca** auto-aplicar (solo notificar)
|
|
109
111
|
|
|
110
112
|
## Gestión de Contexto
|
|
111
113
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.26.0
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
set -euo pipefail
|
|
6
6
|
|
|
7
|
-
VERSION="1.
|
|
7
|
+
VERSION="1.26.0"
|
|
8
8
|
REPO_URL="https://github.com/doncheli/don-cheli-sdd"
|
|
9
9
|
CLEANUP_TMPDIR=""
|
|
10
10
|
|
|
@@ -736,7 +736,9 @@ elif [ -d "${SCRIPT_DIR}/comandos/especdev" ]; then
|
|
|
736
736
|
CMDS_DC=$(ls "${COMMANDS_DIR}/dc/"*.md 2>/dev/null | wc -l | tr -d ' ')
|
|
737
737
|
echo -e " ${GREEN}✓${NC} ${CMDS_DC} comandos /dc:*"
|
|
738
738
|
echo -e " ${GREEN}✓${NC} /especdev:* retrocompatible (${CMDS_DC} commands)"
|
|
739
|
-
|
|
739
|
+
fi
|
|
740
|
+
# Rename dc/ commands to match locale (runs for BOTH paths above)
|
|
741
|
+
if [ -d "${COMMANDS_DIR}/dc" ]; then
|
|
740
742
|
if [ "$LOCALE" = "en" ]; then
|
|
741
743
|
cd "${COMMANDS_DIR}/dc/" 2>/dev/null && {
|
|
742
744
|
# Rename Spanish → English (longest names first to avoid conflicts)
|
|
@@ -255,7 +255,7 @@ _gen_continue() {
|
|
|
255
255
|
cat > "$project_root/.continue/config/don-cheli.json" 2>/dev/null << 'CONTEOF' || true
|
|
256
256
|
{
|
|
257
257
|
"name": "don-cheli-sdd",
|
|
258
|
-
"version": "1.
|
|
258
|
+
"version": "1.26.0",
|
|
259
259
|
"description": "Don Cheli SDD Framework",
|
|
260
260
|
"rules": [
|
|
261
261
|
"All production code requires tests (TDD: RED → GREEN → REFACTOR)",
|
package/scripts/instalar.sh
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
set -euo pipefail
|
|
6
6
|
|
|
7
|
-
VERSION="1.
|
|
7
|
+
VERSION="1.26.0"
|
|
8
8
|
REPO_URL="https://github.com/doncheli/don-cheli-sdd"
|
|
9
9
|
CLEANUP_TMPDIR=""
|
|
10
10
|
|
|
@@ -736,7 +736,9 @@ elif [ -d "${SCRIPT_DIR}/comandos/especdev" ]; then
|
|
|
736
736
|
CMDS_DC=$(ls "${COMMANDS_DIR}/dc/"*.md 2>/dev/null | wc -l | tr -d ' ')
|
|
737
737
|
echo -e " ${GREEN}✓${NC} ${CMDS_DC} comandos /dc:*"
|
|
738
738
|
echo -e " ${GREEN}✓${NC} /especdev:* retrocompatible (${CMDS_DC} commands)"
|
|
739
|
-
|
|
739
|
+
fi
|
|
740
|
+
# Rename dc/ commands to match locale (runs for BOTH paths above)
|
|
741
|
+
if [ -d "${COMMANDS_DIR}/dc" ]; then
|
|
740
742
|
if [ "$LOCALE" = "en" ]; then
|
|
741
743
|
cd "${COMMANDS_DIR}/dc/" 2>/dev/null && {
|
|
742
744
|
# Rename Spanish → English (longest names first to avoid conflicts)
|