@saulwade/swl-ses 1.6.0 → 1.6.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.
Files changed (82) hide show
  1. package/CLAUDE.md +32 -61
  2. package/README.md +4 -4
  3. package/agentes/_intent-spec.md +73 -0
  4. package/agentes/auto-evolucion-swl.md +24 -0
  5. package/agentes/cloud-infra-swl.md +25 -0
  6. package/agentes/datos-swl.md +24 -1
  7. package/agentes/devops-ci-swl.md +24 -0
  8. package/agentes/frontend-angular-swl.md +7 -7
  9. package/agentes/frontend-css-swl.md +4 -4
  10. package/agentes/frontend-react-swl.md +7 -7
  11. package/agentes/frontend-swl.md +9 -9
  12. package/agentes/frontend-tailwind-swl.md +4 -4
  13. package/agentes/migrador-swl.md +22 -0
  14. package/agentes/pagos-swl.md +25 -0
  15. package/agentes/release-manager-swl.md +24 -0
  16. package/agentes/rendimiento-swl.md +2 -2
  17. package/agentes/sre-swl.md +24 -0
  18. package/comandos/swl/brainstorm.md +1 -0
  19. package/comandos/swl/compactar.md +1 -1
  20. package/comandos/swl/discutir-fase.md +15 -1
  21. package/comandos/swl/mapear-codebase.md +1 -1
  22. package/comandos/swl/nemesis.md +29 -0
  23. package/comandos/swl/planear-fase.md +18 -2
  24. package/comandos/swl/verificar.md +4 -4
  25. package/habilidades/aprender-de-git-diff/SKILL.md +288 -0
  26. package/habilidades/aprendizaje-continuo/SKILL.md +7 -1
  27. package/habilidades/diseno-herramientas-agente/SKILL.md +17 -0
  28. package/habilidades/doc-sync/SKILL.md +441 -1
  29. package/habilidades/doubt-driven-review/SKILL.md +177 -171
  30. package/habilidades/feynman-auditor-swl/SKILL.md +129 -123
  31. package/habilidades/infra-github-actions/SKILL.md +172 -166
  32. package/habilidades/meta-skills-estandar/SKILL.md +6 -0
  33. package/habilidades/meta-skills-estandar/recursos/skill-judge-rubrica.md +281 -0
  34. package/habilidades/meta-skills-estandar/recursos/skills-as-agents.md +163 -163
  35. package/habilidades/nemesis-evaluacion-json/SKILL.md +5 -0
  36. package/habilidades/nemesis-redistribuir/SKILL.md +5 -0
  37. package/habilidades/node-experto/SKILL.md +197 -3
  38. package/habilidades/prevencion-racionalizacion/SKILL.md +1 -0
  39. package/habilidades/privacy-memoria/SKILL.md +1 -0
  40. package/habilidades/proceso-autoverificacion-evidencias/SKILL.md +258 -0
  41. package/habilidades/proceso-confianza-pre-implementacion/SKILL.md +246 -0
  42. package/habilidades/proceso-ddia-fundamentos/SKILL.md +255 -0
  43. package/habilidades/proceso-ddia-streaming/SKILL.md +231 -0
  44. package/habilidades/proceso-intent-engineering/SKILL.md +269 -0
  45. package/habilidades/reducir-entropia/SKILL.md +219 -0
  46. package/habilidades/sre-patrones/SKILL.md +1 -1
  47. package/habilidades/state-inconsistency-auditor-swl/SKILL.md +172 -166
  48. package/habilidades/tdd-workflow/SKILL.md +178 -3
  49. package/habilidades/verificacion-evidencia/SKILL.md +1 -0
  50. package/habilidades/web-fetcher-routing/SKILL.md +81 -75
  51. package/habilidades/workflow-claude-code/SKILL.md +2 -2
  52. package/hooks/lib/task-budget.js +218 -0
  53. package/hooks/validar-intent-spec.js +222 -0
  54. package/manifiestos/hooks-config.json +9 -0
  55. package/manifiestos/modulos.json +12 -2
  56. package/manifiestos/skills-lock.json +1191 -1142
  57. package/package.json +5 -3
  58. package/plugin.json +9 -2
  59. package/reglas/auditorias-documentales-estructurales.md +205 -0
  60. package/reglas/fragmentos-compartidos.md +26 -0
  61. package/reglas/intent-engineering.md +214 -0
  62. package/reglas/registro-componentes-nuevos.md +38 -0
  63. package/schemas/agent-frontmatter.schema.json +294 -167
  64. package/schemas/agent-message.schema.json +73 -53
  65. package/schemas/agent-output-implementacion.schema.json +114 -85
  66. package/schemas/agent-output-planificacion.schema.json +150 -113
  67. package/schemas/agent-output-review.schema.json +98 -78
  68. package/schemas/diary-entry.schema.json +42 -10
  69. package/schemas/hook-profiles.schema.json +54 -39
  70. package/schemas/hooks-config.schema.json +89 -74
  71. package/schemas/instinct.schema.json +152 -115
  72. package/schemas/modulos.schema.json +38 -29
  73. package/schemas/perfiles.schema.json +36 -28
  74. package/schemas/plugin.schema.json +77 -64
  75. package/schemas/skill-evals.schema.json +119 -95
  76. package/schemas/skill-frontmatter.schema.json +245 -170
  77. package/scripts/generar-inventario.js +452 -420
  78. package/scripts/lib/schema-version.js +164 -0
  79. package/scripts/validar-manifest.js +1 -1
  80. package/scripts/validar.js +3 -2
  81. package/scripts/verificar-docs-vs-codigo.js +654 -425
  82. package/scripts/verificar-evolucion.js +19 -3
@@ -159,18 +159,34 @@ function verificarArchivo(filePath) {
159
159
 
160
160
  const versionActual = leerCampo(fm, 'version');
161
161
  const ev = leerMetadatosEvolucion(filePath, fm);
162
+ // v1.6.1 (Cabo A4): aceptar `deprecated: true` o `evolvable: false` como
163
+ // justificación legítima para ausencia de `version`. Origen: 12 skills
164
+ // detectados sin version, 1 deprecated (control-profundidad) legítimo.
165
+ const esDeprecated = /^deprecated:\s*true\s*$/m.test(fm);
166
+ const esEvolvableFalse = /^evolvable:\s*false/m.test(fm);
167
+ const excepcionLegitima = esDeprecated; // evolvable:false aún espera version
168
+ // si tiene historia; solo deprecated
169
+ // exime completamente
162
170
 
163
171
  resultado.info.version = versionActual;
164
172
  resultado.info.evolved = ev.evolved;
165
173
  resultado.info.fuenteEvolved = ev.fuente;
174
+ resultado.info.excepcion = excepcionLegitima
175
+ ? (esDeprecated ? 'deprecated' : 'evolvable-false')
176
+ : null;
166
177
 
167
- // CHECK 1: version presente
168
- if (!versionActual) {
178
+ // CHECK 1: version presente (exime deprecated)
179
+ if (!versionActual && !excepcionLegitima) {
169
180
  resultado.problemas.push('campo `version` ausente del frontmatter');
181
+ } else if (!versionActual && esDeprecated) {
182
+ resultado.info.notas = resultado.info.notas || [];
183
+ resultado.info.notas.push('version ausente — aceptado porque deprecated:true');
170
184
  }
171
185
 
172
186
  // CHECK 2: evolved = true (en frontmatter o en .evolved.json)
173
- if (ev.evolved !== 'true') {
187
+ // v1.6.1 (Cabo A4): exento si deprecated:true — no tiene sentido exigir
188
+ // metadatos de evolución para componentes que se van a eliminar.
189
+ if (ev.evolved !== 'true' && !esDeprecated) {
174
190
  resultado.problemas.push(
175
191
  '`evolved` no encontrado (ni en frontmatter ni en .evolved.json del directorio)'
176
192
  );