pumuki 6.3.171 → 6.3.173
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/AGENTS.md +1 -16
- package/CHANGELOG.md +0 -101
- package/README.md +10 -14
- package/VERSION +1 -1
- package/core/facts/detectors/text/android.test.ts +0 -2827
- package/core/facts/detectors/text/android.ts +182 -5121
- package/core/facts/detectors/text/ios.test.ts +12 -290
- package/core/facts/detectors/text/ios.ts +28 -301
- package/core/facts/detectors/typescript/index.test.ts +139 -3733
- package/core/facts/detectors/typescript/index.ts +264 -4959
- package/core/facts/extractHeuristicFacts.ts +11 -328
- package/core/gate/evaluateRules.test.ts +0 -7
- package/core/gate/evaluateRules.ts +2 -1
- package/core/rules/presets/heuristics/android.test.ts +1 -399
- package/core/rules/presets/heuristics/android.ts +1 -1481
- package/core/rules/presets/heuristics/ios.test.ts +1 -11
- package/core/rules/presets/heuristics/ios.ts +0 -36
- package/core/rules/presets/heuristics/typescript.test.ts +2 -158
- package/core/rules/presets/heuristics/typescript.ts +0 -508
- package/core/rules/presets/iosEnterpriseRuleSet.test.ts +0 -5
- package/core/rules/presets/iosEnterpriseRuleSet.ts +5 -5
- package/docs/README.md +3 -3
- package/docs/operations/RELEASE_NOTES.md +1 -94
- package/docs/operations/framework-menu-consumer-walkthrough.md +15 -18
- package/docs/product/API_REFERENCE.md +1 -1
- package/docs/product/CONFIGURATION.md +0 -7
- package/docs/product/USAGE.md +1 -1
- package/docs/validation/README.md +1 -3
- package/docs/validation/ios-avdlee-parity-matrix.md +1 -1
- package/integrations/config/skillsCompilerTemplates.test.ts +0 -145
- package/integrations/config/skillsCompilerTemplates.ts +2 -1013
- package/integrations/config/skillsDetectorRegistry.ts +8 -523
- package/integrations/config/skillsMarkdownRules.ts +8 -1088
- package/integrations/config/skillsRuleSet.ts +3 -44
- package/integrations/evidence/buildEvidence.ts +5 -34
- package/integrations/evidence/platformSummary.test.ts +9 -73
- package/integrations/evidence/platformSummary.ts +7 -165
- package/integrations/evidence/repoState.ts +0 -3
- package/integrations/evidence/rulesCoverage.ts +0 -83
- package/integrations/evidence/schema.ts +0 -29
- package/integrations/evidence/writeEvidence.test.ts +0 -4
- package/integrations/evidence/writeEvidence.ts +2 -41
- package/integrations/gate/evaluateAiGate.ts +8 -312
- package/integrations/gate/remediationCatalog.ts +2 -20
- package/integrations/gate/stagePolicies.ts +18 -24
- package/integrations/git/astIntelligenceDualValidation.ts +2 -2
- package/integrations/git/gitAtomicity.ts +39 -284
- package/integrations/git/resolveGitRefs.ts +6 -35
- package/integrations/git/runPlatformGate.ts +143 -512
- package/integrations/git/runPlatformGateOutput.ts +8 -13
- package/integrations/git/stageRunners.ts +41 -26
- package/integrations/lifecycle/adapter.ts +0 -24
- package/integrations/lifecycle/audit.ts +49 -14
- package/integrations/lifecycle/cli.ts +20 -37
- package/integrations/lifecycle/cliSdd.ts +3 -4
- package/integrations/lifecycle/doctor.ts +1 -1
- package/integrations/lifecycle/packageInfo.ts +1 -118
- package/integrations/lifecycle/policyReconcile.ts +4 -27
- package/integrations/lifecycle/preWriteAutomation.ts +5 -5
- package/integrations/lifecycle/state.ts +1 -8
- package/integrations/lifecycle/watch.ts +8 -28
- package/integrations/mcp/aiGateCheck.ts +10 -194
- package/integrations/mcp/autoExecuteAiStart.ts +4 -7
- package/integrations/mcp/enterpriseServer.ts +3 -19
- package/integrations/mcp/preFlightCheck.ts +10 -89
- package/integrations/policy/gitAtomicityEnforcement.ts +2 -2
- package/integrations/policy/heuristicsEnforcement.ts +2 -2
- package/integrations/policy/policyProfiles.ts +18 -24
- package/integrations/policy/preWriteEnforcement.ts +1 -1
- package/integrations/policy/sddCompletenessEnforcement.ts +2 -2
- package/integrations/policy/skillsEnforcement.ts +47 -1
- package/integrations/policy/tddBddEnforcement.ts +2 -2
- package/integrations/sdd/evidenceScaffold.ts +8 -124
- package/integrations/tdd/contract.ts +0 -1
- package/integrations/tdd/enforcement.ts +0 -103
- package/integrations/tdd/types.ts +0 -6
- package/package.json +1 -1
- package/scripts/check-tracking-single-active.sh +1 -1
- package/scripts/framework-menu-advanced-view-lib.ts +0 -49
- package/scripts/framework-menu-consumer-actions-lib.ts +32 -32
- package/scripts/framework-menu-consumer-preflight-render.ts +0 -10
- package/scripts/framework-menu-consumer-preflight-run.ts +5 -31
- package/scripts/framework-menu-consumer-preflight-types.ts +0 -12
- package/scripts/framework-menu-consumer-runtime-actions.ts +5 -11
- package/scripts/framework-menu-consumer-runtime-audit.ts +28 -0
- package/scripts/framework-menu-consumer-runtime-evidence-classic.ts +42 -118
- package/scripts/framework-menu-consumer-runtime-lib.ts +0 -38
- package/scripts/framework-menu-consumer-runtime-menu.ts +15 -55
- package/scripts/framework-menu-consumer-runtime-types.ts +0 -4
- package/scripts/framework-menu-evidence-summary-read.ts +1 -17
- package/scripts/framework-menu-evidence-summary-types.ts +0 -3
- package/scripts/framework-menu-layout-data.ts +23 -3
- package/scripts/framework-menu-system-notifications-cause.ts +1 -24
- package/scripts/framework-menu-system-notifications-env.ts +0 -8
- package/scripts/framework-menu-system-notifications-gate.ts +2 -9
- package/scripts/framework-menu-system-notifications-macos-applescript-dialog.ts +1 -1
- package/scripts/framework-menu-system-notifications-macos-dialog-payload.ts +2 -14
- package/scripts/framework-menu-system-notifications-macos-swift-source.ts +1 -1
- package/scripts/framework-menu-system-notifications-payloads-blocked.ts +4 -128
- package/scripts/framework-menu-system-notifications-payloads.ts +1 -8
- package/scripts/framework-menu-system-notifications-remediation.ts +1 -15
- package/scripts/framework-menu-system-notifications-text.ts +1 -7
- package/scripts/framework-menu.ts +2 -37
- package/scripts/package-install-smoke-consumer-git-repo-lib.ts +1 -10
- package/scripts/package-install-smoke-consumer-npm-lib.ts +9 -46
- package/skills.lock.json +1244 -807
- package/integrations/evidence/trackingContract.ts +0 -17
- package/integrations/gate/blockingCause.ts +0 -40
- package/integrations/gate/governanceActionCatalog.ts +0 -296
- package/integrations/gate/runPlatformGateConfig.ts +0 -55
- package/integrations/gate/runPlatformGateDefaults.ts +0 -19
- package/integrations/lifecycle/bootstrapManifest.ts +0 -248
- package/integrations/lifecycle/cliGovernanceConsole.ts +0 -69
- package/integrations/lifecycle/governanceNextAction.ts +0 -181
- package/integrations/lifecycle/governanceObservationSnapshot.ts +0 -376
- package/integrations/lifecycle/trackingState.ts +0 -403
- package/integrations/mcp/alignedPlatformGate.ts +0 -248
- package/integrations/mcp/readMcpPrePushStdin.ts +0 -7
- package/scripts/build-ruralgo-s1-evidence-pack.ts +0 -85
- package/scripts/ruralgo-s1-evidence-pack-lib.ts +0 -200
package/AGENTS.md
CHANGED
|
@@ -18,8 +18,6 @@
|
|
|
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
|
|
23
21
|
- REQUIRED SKILL: android-enterprise-rules
|
|
24
22
|
- REQUIRED SKILL: backend-enterprise-rules
|
|
25
23
|
- REQUIRED SKILL: frontend-enterprise-rules
|
|
@@ -64,12 +62,10 @@ Antes de realizar cualquier accion:
|
|
|
64
62
|
- Si hay conflicto entre skill vendorizada y skill local, aplicar la regla mas estricta.
|
|
65
63
|
- Documentar en trazabilidad que version se aplico (vendorizada/local) y por que.
|
|
66
64
|
- Reglas hard por ambito:
|
|
67
|
-
- Cambios iOS/Swift/SwiftUI
|
|
65
|
+
- Cambios iOS/Swift/SwiftUI: aplicar SIEMPRE y en conjunto:
|
|
68
66
|
- `ios-enterprise-rules`
|
|
69
67
|
- `swift-concurrency`
|
|
70
68
|
- `swiftui-expert-skill`
|
|
71
|
-
- `swift-testing-expert`
|
|
72
|
-
- `core-data-expert`
|
|
73
69
|
- Cambios Frontend web (React/Next/TypeScript/CSS/UI web): aplicar SIEMPRE:
|
|
74
70
|
- `frontend-enterprise-rules`
|
|
75
71
|
- Cambios Backend (NestJS/TypeScript/API/datos/backend services): aplicar SIEMPRE:
|
|
@@ -129,8 +125,6 @@ Antes de realizar cualquier accion:
|
|
|
129
125
|
- BDD/TDD requerido por la skill correspondiente.
|
|
130
126
|
- Concurrencia y aislamiento segun `swift-concurrency` cuando haya codigo Swift.
|
|
131
127
|
- 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.
|
|
134
128
|
- Reglas frontend segun `frontend-enterprise-rules` cuando aplique web.
|
|
135
129
|
- Reglas backend segun `backend-enterprise-rules` cuando aplique backend.
|
|
136
130
|
- Reglas Android segun `android-enterprise-rules` cuando aplique Android.
|
|
@@ -281,15 +275,6 @@ Al finalizar cualquier tarea, siempre reportar:
|
|
|
281
275
|
- `swiftui-expert-skill`
|
|
282
276
|
- Local: `/Users/juancarlosmerlosalbarracin/.agents/skills/swiftui-expert-skill/SKILL.md`
|
|
283
277
|
- 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`
|
|
293
278
|
|
|
294
279
|
- Comando de sincronizacion: `./scripts/sync-codex-skills.sh`
|
|
295
280
|
<!-- END CODEX SKILLS -->
|
package/CHANGELOG.md
CHANGED
|
@@ -6,107 +6,6 @@ This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
-
## [6.3.143] - 2026-05-05
|
|
10
|
-
|
|
11
|
-
### Fixed
|
|
12
|
-
|
|
13
|
-
- **PUMUKI-INC-060 baseline TDD/BDD fresco:** los cambios in-scope bloquean si la evidencia de baseline TDD/BDD está caducada, obligando a reejecutar los tests baseline del componente antes de editar código relacionado.
|
|
14
|
-
- **Ventana configurable de evidencia:** `PUMUKI_TDD_BDD_EVIDENCE_MAX_AGE_SECONDS` permite ajustar la frescura máxima; por defecto son 900 segundos y los valores inválidos mantienen el modo estricto.
|
|
15
|
-
|
|
16
|
-
## [6.3.142] - 2026-05-05
|
|
17
|
-
|
|
18
|
-
### Fixed
|
|
19
|
-
|
|
20
|
-
- **PUMUKI-INC-059 iOS SOLID en PRE_WRITE:** la skill iOS `Verificar que NO viole SOLID (SRP, OCP, LSP, ISP, DIP)` se normaliza al id canónico `skills.ios.no-solid-violations` y al alias real del lock legacy, activa los nodos AST OCP/SRP/DIP/ISP/LSP y bloquea desde `PRE_WRITE` sin depender de `PUMUKI_ENABLE_AST_HEURISTICS`.
|
|
21
|
-
- **Skills hard-blocking multi-stage:** `no-solid-violations` se promueve a bloqueo desde `PRE_WRITE`, `PRE_COMMIT`, `PRE_PUSH` y `CI`, evitando que una violación iOS OCP/SRP llegue a disco o al commit.
|
|
22
|
-
|
|
23
|
-
## [6.3.141] - 2026-05-05
|
|
24
|
-
|
|
25
|
-
### Fixed
|
|
26
|
-
|
|
27
|
-
- **PRE_PUSH en ramas actualizadas desde base:** el guard de atomicidad ignora commits heredados de `main`/`develop` y commits merge al validar trazabilidad y límites por commit, evitando bloqueos falsos en rollouts que solo resolvieron conflictos con la rama base.
|
|
28
|
-
|
|
29
|
-
## [6.3.140] - 2026-05-05
|
|
30
|
-
|
|
31
|
-
### Fixed
|
|
32
|
-
|
|
33
|
-
- **PRE_PUSH atomicity por commit:** el guard de atomicidad evalúa cada commit del rango de push de forma independiente, evitando que una rama formada por commits atómicos quede bloqueada por el diff agregado.
|
|
34
|
-
- **Falsos positivos de metadata:** `hardcoded-values` y `magic-numbers` dejan de bloquear literales internos de policy/evidence/analytics y constantes estándar, manteniendo la detección real de configuración hardcoded.
|
|
35
|
-
|
|
36
|
-
## [6.3.139] - 2026-05-05
|
|
37
|
-
|
|
38
|
-
### Fixed
|
|
39
|
-
|
|
40
|
-
- **PUMUKI-INC-060 baseline test gate:** la evidencia TDD/BDD exige ahora un baseline test `passed` por slice antes del evento `red`; si falta o falla, el gate bloquea con `TDD_BASELINE_TEST_REQUIRED` o `TDD_BASELINE_TEST_MUST_PASS`.
|
|
41
|
-
- **Alineación all-severities en evidencia:** los tests de evidencia quedan sincronizados con el contrato publicado de bloqueo por cualquier severidad (`BLOCK` / `BLOCKED`), incluyendo findings `WARN`.
|
|
42
|
-
|
|
43
|
-
## [6.3.138] - 2026-05-05
|
|
44
|
-
|
|
45
|
-
### Fixed
|
|
46
|
-
|
|
47
|
-
- **Doc-only evidence hygiene:** en commits documentales, `.ai_evidence.json` trackeado queda restaurado a `HEAD` y no deja modificaciones de hook que hagan fallar integraciones `pre-commit` con `files were modified by this hook`.
|
|
48
|
-
|
|
49
|
-
## [6.3.137] - 2026-05-05
|
|
50
|
-
|
|
51
|
-
### Fixed
|
|
52
|
-
|
|
53
|
-
- **PUMUKI-INC-061 evidence/atomicity:** el guard de atomicidad ignora `.ai_evidence.json` / `.AI_EVIDENCE.json` gestionados por Pumuki al contar ficheros y scopes staged, evitando que un auto-restage de evidencia bloquee repins atómicos de consumers.
|
|
54
|
-
|
|
55
|
-
## [6.3.136] - 2026-05-05
|
|
56
|
-
|
|
57
|
-
### Fixed
|
|
58
|
-
|
|
59
|
-
- **PUMUKI-INC-059 all-severities blocking:** `PRE_WRITE`, `PRE_COMMIT`, `PRE_PUSH` y `CI` bloquean cualquier finding de reglas/skills AST Intelligence, incluyendo `WARN/MEDIUM` e `INFO/LOW`.
|
|
60
|
-
- **Políticas no relajables:** `skills.policy`, perfiles hard-mode y `PRE_WRITE=advisory` ya no pueden rebajar el threshold efectivo por debajo de `INFO`.
|
|
61
|
-
- **Replay RuralGo:** validado con binario local contra RuralGo: PRE_WRITE `115/115` findings bloqueantes y PRE_COMMIT `118/118` findings bloqueantes.
|
|
62
|
-
|
|
63
|
-
## [6.3.135] - 2026-05-03
|
|
64
|
-
|
|
65
|
-
### Fixed
|
|
66
|
-
|
|
67
|
-
- **Bootstrap de pre-push por delta real:** cuando una rama no tiene upstream, el bootstrap de `PRE_PUSH` elige la base con menor delta real entre `main` y `develop`, evitando falsos positivos de atomicidad en branches nacidas de `main`.
|
|
68
|
-
- **Repin desbloqueable:** esta versión corrige el bloqueo que impedía publicar el repin de `Flux_training` aunque el diff efectivo del cambio fuese mínimo.
|
|
69
|
-
|
|
70
|
-
## [6.3.134] - 2026-05-03
|
|
71
|
-
|
|
72
|
-
### Fixed
|
|
73
|
-
|
|
74
|
-
- **Policy hash drift accionable:** `governanceObservationSnapshot`, `governanceNextAction` y el catálogo de remediación ya convierten la divergencia entre stages en una acción estricta y aplicable.
|
|
75
|
-
- **Release publicada y lista para repin:** esta versión ya está en npm y queda lista para repinear consumers activos como RuralGo con el fix real distribuido.
|
|
76
|
-
|
|
77
|
-
## [6.3.133] - 2026-05-03
|
|
78
|
-
|
|
79
|
-
### Fixed
|
|
80
|
-
|
|
81
|
-
- **Skills enforcement endurecido a bloqueo duro:** `PRE_WRITE`, `PRE_COMMIT` y `PRE_PUSH` ya no admiten bypass advisory para violaciones de skills.
|
|
82
|
-
- **Contrato de gate alineado de punta a punta:** `skillsEnforcement`, `evaluateAiGate`, `runPlatformGate` y el flujo CLI bloquean de forma consistente cuando falta cobertura, bundles o contrato de skills.
|
|
83
|
-
- **Release listo para repin:** esta versión está preparada para publicarse y repinear consumers como RuralGo sin cerrar más gaps funcionales para este fix.
|
|
84
|
-
|
|
85
|
-
## [6.3.132] - 2026-05-03
|
|
86
|
-
|
|
87
|
-
### Fixed
|
|
88
|
-
|
|
89
|
-
- **Reglas declarativas sin detector no bloquean el gate:** `unsupported_detector_rule_ids` se conserva en evidencia, pero deja de convertirse en `SKILLS_DETECTOR_MAPPING_INCOMPLETE_HIGH` cuando no hay reglas AUTO ejecutables sin detector.
|
|
90
|
-
- **Bloqueo solo para AUTO real:** el guard de cobertura de skills ahora bloquea exclusivamente `unsupported_auto_rule_ids`, evitando que doctrina declarativa de skills vuelva a parar consumers con `coverage_ratio=1`.
|
|
91
|
-
- **Regresión focalizada:** `runPlatformGate` cubre el caso en modo strict para asegurar que declarativas sin detector quedan como evidencia no bloqueante.
|
|
92
|
-
|
|
93
|
-
## [6.3.130] - 2026-05-03
|
|
94
|
-
|
|
95
|
-
### Fixed
|
|
96
|
-
|
|
97
|
-
- **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.
|
|
98
|
-
- **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.
|
|
99
|
-
- **Other deja de ser opaco:** la salida clásica explica que `Other` agrupa reglas transversales de governance, evidence, BDD y tipos compartidos.
|
|
100
|
-
- **Contrato AvdLee visible:** `swift-testing-expert` y `core-data-expert` quedan declaradas como skills requeridas cuando entran en el lock AST.
|
|
101
|
-
|
|
102
|
-
## [6.3.129] - 2026-04-29
|
|
103
|
-
|
|
104
|
-
### Fixed
|
|
105
|
-
|
|
106
|
-
- **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.
|
|
107
|
-
- **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.
|
|
108
|
-
- **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.
|
|
109
|
-
|
|
110
9
|
## [6.3.127] - 2026-04-28
|
|
111
10
|
|
|
112
11
|
### Fixed
|
package/README.md
CHANGED
|
@@ -289,29 +289,25 @@ 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 (
|
|
292
|
+
### Capture 1 — Consumer Menu (v2)
|
|
293
293
|
|
|
294
|
-

|
|
295
295
|
|
|
296
|
-
|
|
296
|
+
### Capture 2 — Option 1 Pre-flight (BLOCK context)
|
|
297
297
|
|
|
298
|
-
|
|
298
|
+

|
|
299
299
|
|
|
300
|
-
### Capture
|
|
300
|
+
### Capture 3 — Option 1 Final Summary (BLOCK)
|
|
301
301
|
|
|
302
|
-

|
|
303
303
|
|
|
304
|
-
### Capture
|
|
304
|
+
### Capture 4 — Option 1 Pre-flight (PASS scenario)
|
|
305
305
|
|
|
306
|
-

|
|
307
307
|
|
|
308
|
-
### Capture
|
|
308
|
+
### Capture 5 — Option 1 Final Summary (PASS)
|
|
309
309
|
|
|
310
|
-

|
|
310
|
+

|
|
315
311
|
|
|
316
312
|
### Capture 6 — Menu Status After PASS Run
|
|
317
313
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v6.3.
|
|
1
|
+
v6.3.173
|