pumuki 6.3.128 → 6.3.130

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 (85) hide show
  1. package/AGENTS.md +16 -1
  2. package/CHANGELOG.md +17 -0
  3. package/README.md +14 -10
  4. package/VERSION +1 -1
  5. package/core/facts/detectors/text/android.test.ts +2827 -0
  6. package/core/facts/detectors/text/android.ts +5064 -125
  7. package/core/facts/detectors/typescript/index.test.ts +3639 -73
  8. package/core/facts/detectors/typescript/index.ts +4819 -270
  9. package/core/facts/extractHeuristicFacts.ts +300 -6
  10. package/core/rules/presets/heuristics/android.test.ts +369 -1
  11. package/core/rules/presets/heuristics/android.ts +1371 -1
  12. package/core/rules/presets/heuristics/typescript.test.ts +158 -2
  13. package/core/rules/presets/heuristics/typescript.ts +508 -0
  14. package/docs/README.md +3 -3
  15. package/docs/operations/RELEASE_NOTES.md +13 -1
  16. package/docs/operations/framework-menu-consumer-walkthrough.md +18 -15
  17. package/docs/product/API_REFERENCE.md +1 -1
  18. package/docs/product/CONFIGURATION.md +8 -0
  19. package/docs/product/USAGE.md +1 -1
  20. package/docs/validation/README.md +3 -1
  21. package/integrations/config/skillsCompilerTemplates.test.ts +145 -0
  22. package/integrations/config/skillsCompilerTemplates.ts +976 -3
  23. package/integrations/config/skillsDetectorRegistry.ts +487 -8
  24. package/integrations/config/skillsMarkdownRules.ts +1060 -8
  25. package/integrations/config/skillsRuleSet.ts +6 -0
  26. package/integrations/evidence/buildEvidence.ts +29 -1
  27. package/integrations/evidence/platformSummary.test.ts +73 -9
  28. package/integrations/evidence/platformSummary.ts +165 -7
  29. package/integrations/evidence/repoState.ts +3 -0
  30. package/integrations/evidence/rulesCoverage.ts +13 -0
  31. package/integrations/evidence/schema.ts +20 -0
  32. package/integrations/evidence/trackingContract.ts +17 -0
  33. package/integrations/evidence/writeEvidence.test.ts +3 -0
  34. package/integrations/evidence/writeEvidence.ts +29 -1
  35. package/integrations/gate/evaluateAiGate.ts +251 -8
  36. package/integrations/gate/governanceActionCatalog.ts +275 -0
  37. package/integrations/gate/remediationCatalog.ts +8 -0
  38. package/integrations/git/runPlatformGate.ts +40 -5
  39. package/integrations/lifecycle/adapter.ts +24 -0
  40. package/integrations/lifecycle/bootstrapManifest.ts +248 -0
  41. package/integrations/lifecycle/cliGovernanceConsole.ts +69 -0
  42. package/integrations/lifecycle/governanceNextAction.ts +171 -0
  43. package/integrations/lifecycle/governanceObservationSnapshot.ts +369 -0
  44. package/integrations/lifecycle/packageInfo.ts +118 -1
  45. package/integrations/lifecycle/state.ts +8 -1
  46. package/integrations/lifecycle/trackingState.ts +403 -0
  47. package/integrations/lifecycle/watch.ts +1 -1
  48. package/integrations/mcp/aiGateCheck.ts +194 -10
  49. package/integrations/mcp/alignedPlatformGate.ts +232 -0
  50. package/integrations/mcp/enterpriseServer.ts +19 -3
  51. package/integrations/mcp/preFlightCheck.ts +66 -3
  52. package/integrations/mcp/readMcpPrePushStdin.ts +7 -0
  53. package/integrations/policy/gitAtomicityEnforcement.ts +2 -2
  54. package/integrations/policy/heuristicsEnforcement.ts +2 -2
  55. package/integrations/policy/sddCompletenessEnforcement.ts +2 -2
  56. package/integrations/policy/skillsEnforcement.ts +2 -2
  57. package/integrations/policy/tddBddEnforcement.ts +2 -2
  58. package/package.json +1 -1
  59. package/scripts/build-ruralgo-s1-evidence-pack.ts +85 -0
  60. package/scripts/check-tracking-single-active.sh +1 -1
  61. package/scripts/framework-menu-advanced-view-lib.ts +49 -0
  62. package/scripts/framework-menu-consumer-actions-lib.ts +32 -32
  63. package/scripts/framework-menu-consumer-preflight-render.ts +10 -0
  64. package/scripts/framework-menu-consumer-preflight-run.ts +23 -0
  65. package/scripts/framework-menu-consumer-preflight-types.ts +12 -0
  66. package/scripts/framework-menu-consumer-runtime-actions.ts +11 -5
  67. package/scripts/framework-menu-consumer-runtime-audit.ts +0 -28
  68. package/scripts/framework-menu-consumer-runtime-evidence-classic.ts +118 -42
  69. package/scripts/framework-menu-consumer-runtime-lib.ts +38 -0
  70. package/scripts/framework-menu-consumer-runtime-menu.ts +55 -15
  71. package/scripts/framework-menu-consumer-runtime-types.ts +4 -0
  72. package/scripts/framework-menu-evidence-summary-read.ts +17 -1
  73. package/scripts/framework-menu-evidence-summary-types.ts +3 -0
  74. package/scripts/framework-menu-layout-data.ts +3 -23
  75. package/scripts/framework-menu-system-notifications-macos-applescript-dialog.ts +1 -1
  76. package/scripts/framework-menu-system-notifications-macos-dialog-payload.ts +14 -2
  77. package/scripts/framework-menu-system-notifications-macos-swift-source.ts +1 -1
  78. package/scripts/framework-menu-system-notifications-payloads-blocked.ts +128 -4
  79. package/scripts/framework-menu-system-notifications-payloads.ts +8 -1
  80. package/scripts/framework-menu-system-notifications-text.ts +7 -1
  81. package/scripts/framework-menu.ts +37 -2
  82. package/scripts/package-install-smoke-consumer-git-repo-lib.ts +10 -1
  83. package/scripts/package-install-smoke-consumer-npm-lib.ts +46 -9
  84. package/scripts/ruralgo-s1-evidence-pack-lib.ts +200 -0
  85. package/skills.lock.json +838 -1304
package/AGENTS.md CHANGED
@@ -18,6 +18,8 @@
18
18
  - REQUIRED SKILL: ios-enterprise-rules
19
19
  - REQUIRED SKILL: swift-concurrency
20
20
  - REQUIRED SKILL: swiftui-expert-skill
21
+ - REQUIRED SKILL: swift-testing-expert
22
+ - REQUIRED SKILL: core-data-expert
21
23
  - REQUIRED SKILL: android-enterprise-rules
22
24
  - REQUIRED SKILL: backend-enterprise-rules
23
25
  - REQUIRED SKILL: frontend-enterprise-rules
@@ -62,10 +64,12 @@ Antes de realizar cualquier accion:
62
64
  - Si hay conflicto entre skill vendorizada y skill local, aplicar la regla mas estricta.
63
65
  - Documentar en trazabilidad que version se aplico (vendorizada/local) y por que.
64
66
  - Reglas hard por ambito:
65
- - Cambios iOS/Swift/SwiftUI: aplicar SIEMPRE y en conjunto:
67
+ - Cambios iOS/Swift/SwiftUI/Swift Testing/Core Data: aplicar SIEMPRE y en conjunto:
66
68
  - `ios-enterprise-rules`
67
69
  - `swift-concurrency`
68
70
  - `swiftui-expert-skill`
71
+ - `swift-testing-expert`
72
+ - `core-data-expert`
69
73
  - Cambios Frontend web (React/Next/TypeScript/CSS/UI web): aplicar SIEMPRE:
70
74
  - `frontend-enterprise-rules`
71
75
  - Cambios Backend (NestJS/TypeScript/API/datos/backend services): aplicar SIEMPRE:
@@ -125,6 +129,8 @@ Antes de realizar cualquier accion:
125
129
  - BDD/TDD requerido por la skill correspondiente.
126
130
  - Concurrencia y aislamiento segun `swift-concurrency` cuando haya codigo Swift.
127
131
  - Estado/arquitectura/UI segun `swiftui-expert-skill` e `ios-enterprise-rules` cuando aplique iOS/SwiftUI.
132
+ - Tests Swift segun `swift-testing-expert` cuando haya tests iOS/Swift o migracion XCTest/Swift Testing.
133
+ - Persistencia/Core Data segun `core-data-expert` cuando haya modelos, contexts, DAOs, boundaries o concurrencia Core Data.
128
134
  - Reglas frontend segun `frontend-enterprise-rules` cuando aplique web.
129
135
  - Reglas backend segun `backend-enterprise-rules` cuando aplique backend.
130
136
  - Reglas Android segun `android-enterprise-rules` cuando aplique Android.
@@ -275,6 +281,15 @@ Al finalizar cualquier tarea, siempre reportar:
275
281
  - `swiftui-expert-skill`
276
282
  - Local: `/Users/juancarlosmerlosalbarracin/.agents/skills/swiftui-expert-skill/SKILL.md`
277
283
  - Vendorizado: `docs/codex-skills/swiftui-expert-skill.md`
284
+ - `swift-testing-expert`
285
+ - Local: `/Users/juancarlosmerlosalbarracin/.agents/skills/swift-testing-expert/SKILL.md`
286
+ - Vendorizado: `docs/codex-skills/swift-testing-expert.md`
287
+ - `core-data-expert`
288
+ - Local: `/Users/juancarlosmerlosalbarracin/.agents/skills/core-data-expert/SKILL.md`
289
+ - Vendorizado: `docs/codex-skills/core-data-expert.md`
290
+ - `enterprise-operating-system`
291
+ - Local: `/Users/juancarlosmerlosalbarracin/.agents/skills/enterprise-operating-system/SKILL.md`
292
+ - Vendorizado: `vendor/skills/enterprise-operating-system/SKILL.md`
278
293
 
279
294
  - Comando de sincronizacion: `./scripts/sync-codex-skills.sh`
280
295
  <!-- END CODEX SKILLS -->
package/CHANGELOG.md CHANGED
@@ -6,6 +6,23 @@ This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [6.3.130] - 2026-05-03
10
+
11
+ ### Fixed
12
+
13
+ - **Menú legacy restaurado para consumers:** la shell principal vuelve al contrato plano de 9 opciones y conserva los flujos avanzados fuera del menú por defecto.
14
+ - **Cobertura por plataforma desde skills reales:** el full audit usa `skills.lock.json` y bindings de detectores para mostrar `rules evaluated=x/y` en iOS, Android, Backend y Frontend.
15
+ - **Other deja de ser opaco:** la salida clásica explica que `Other` agrupa reglas transversales de governance, evidence, BDD y tipos compartidos.
16
+ - **Contrato AvdLee visible:** `swift-testing-expert` y `core-data-expert` quedan declaradas como skills requeridas cuando entran en el lock AST.
17
+
18
+ ## [6.3.129] - 2026-04-29
19
+
20
+ ### Fixed
21
+
22
+ - **Nueva slice Android de singletons cerrada:** `skills.android.no-singleton-usar-inyeccio-n-de-dependencias-hilt-dagger` pasa a detector AST real y deja de depender de normalización genérica.
23
+ - **Exclusión correcta de módulos DI:** `@Module`, `@InstallIn` y `@EntryPoint` ya no disparan el detector de singleton cuando el `object` es un módulo de inyección legítimo.
24
+ - **Cobertura de regresión y lock recompilado:** la suite Android dirigida vuelve a verde y `skills.lock.json` se regenera con el binding canónico de la nueva skill.
25
+
9
26
  ## [6.3.127] - 2026-04-28
10
27
 
11
28
  ### Fixed
package/README.md CHANGED
@@ -289,25 +289,29 @@ Use these docs instead of treating `README.md` as the full command manual:
289
289
 
290
290
  ## Menu Walkthrough and Screenshots
291
291
 
292
- ### Capture 1 — Consumer Menu (v2)
292
+ ### Capture 1 — Consumer Menu (archived v2)
293
293
 
294
- ![Consumer Menu v2](assets/readme/menu-option1/01-menu-consumer-v2.png)
294
+ ![Consumer Menu archived v2](assets/readme/menu-option1/01-menu-consumer-v2.png)
295
295
 
296
- ### Capture 2 — Option 1 Pre-flight (BLOCK context)
296
+ Canonical consumer legacy reference:
297
297
 
298
- ![Option 1 Pre-flight Block](assets/readme/menu-option1/02-option1-preflight-block.png)
298
+ - Git tag `v0-legacy-last`, `scripts/hooks-system/infrastructure/shell/orchestrators/audit-orchestrator.sh`
299
299
 
300
- ### Capture 3Option 1 Final Summary (BLOCK)
300
+ ### Capture 2Archived v2 Full-Audit Pre-flight (BLOCK context)
301
301
 
302
- ![Option 1 Final Summary Block](assets/readme/menu-option1/03-option1-final-summary-block.png)
302
+ ![Archived v2 Full-Audit Pre-flight Block](assets/readme/menu-option1/02-option1-preflight-block.png)
303
303
 
304
- ### Capture 4Option 1 Pre-flight (PASS scenario)
304
+ ### Capture 3Archived v2 Full-Audit Final Summary (BLOCK)
305
305
 
306
- ![Option 1 Pre-flight Pass Scenario](assets/readme/menu-option1/04-option1-preflight-pass.png)
306
+ ![Archived v2 Full-Audit Final Summary Block](assets/readme/menu-option1/03-option1-final-summary-block.png)
307
307
 
308
- ### Capture 5Option 1 Final Summary (PASS)
308
+ ### Capture 4Archived v2 Full-Audit Pre-flight (PASS scenario)
309
309
 
310
- ![Option 1 Final Summary Pass](assets/readme/menu-option1/05-option1-final-summary-pass.png)
310
+ ![Archived v2 Full-Audit Pre-flight Pass Scenario](assets/readme/menu-option1/04-option1-preflight-pass.png)
311
+
312
+ ### Capture 5 — Archived v2 Full-Audit Final Summary (PASS)
313
+
314
+ ![Archived v2 Full-Audit Final Summary Pass](assets/readme/menu-option1/05-option1-final-summary-pass.png)
311
315
 
312
316
  ### Capture 6 — Menu Status After PASS Run
313
317
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- v6.3.128
1
+ v6.3.130