pumuki 6.3.331 → 6.3.332
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.
|
@@ -641,7 +641,7 @@ const hasTrackForMemoryLeaksPattern = (content: string): boolean =>
|
|
|
641
641
|
const IOS_CRITICAL_TEST_QUALITY_RULE_ID = 'skills.ios.critical-test-quality';
|
|
642
642
|
|
|
643
643
|
const hasIosTestQualityScope = (facts: ReadonlyArray<Fact>): boolean =>
|
|
644
|
-
collectIosTestFileContents(facts).
|
|
644
|
+
collectIosTestFileContents(facts).length > 0;
|
|
645
645
|
|
|
646
646
|
const appendUniqueRuleId = (
|
|
647
647
|
ruleIds: ReadonlyArray<string>,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pumuki",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.332",
|
|
4
4
|
"description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -248,6 +248,7 @@ const formatPlatformName = (platform: string | null): string =>
|
|
|
248
248
|
const extractSkillsContractPlatform = (message: string): string | null =>
|
|
249
249
|
message.match(/\bplatforms?=([a-z0-9_,.-]+)/i)?.[1]?.split(',')[0]?.trim()
|
|
250
250
|
?? message.match(/\b(ios|android|frontend|backend)\(missing_critical_rule_ids=/i)?.[1]?.trim()
|
|
251
|
+
?? message.match(/\bskills\.(ios|android|frontend|backend)\./i)?.[1]?.trim()
|
|
251
252
|
?? message.match(/\bfor\s+(ios|android|frontend|backend)\s*:/i)?.[1]?.trim()
|
|
252
253
|
?? null;
|
|
253
254
|
|
|
@@ -261,6 +262,9 @@ const extractSkillsContractRules = (message: string): string | null => {
|
|
|
261
262
|
const SKILLS_CONTRACT_REMEDIATION =
|
|
262
263
|
'Actualiza o reconcilia el contrato de skills de Pumuki y vuelve a intentar el commit. Si ya estás en la última versión, es un bug del motor de Pumuki y debe corregirse allí antes de cerrar el commit.';
|
|
263
264
|
|
|
265
|
+
const SKILLS_CONTRACT_DIALOG_REMEDIATION =
|
|
266
|
+
'Corrige el contrato de skills indicado arriba y vuelve a intentar el commit.';
|
|
267
|
+
|
|
264
268
|
const WORKTREE_HYGIENE_REMEDIATION =
|
|
265
269
|
'Reduce el worktree pendiente a un slice atómico: stagea solo la tarea activa o guarda el resto en stash nombrado, y reejecuta PRE_WRITE.';
|
|
266
270
|
|
|
@@ -409,7 +413,7 @@ export const buildBlockedDialogPayload = (params: {
|
|
|
409
413
|
: hasOnlyBddScenarioMissingCauses(params.event.blockingCauses)
|
|
410
414
|
? 'Crea el fichero .feature esperado para la slice activa o corrige la referencia de tarea. Después vuelve a intentar el commit.'
|
|
411
415
|
: hasOnlySkillsContractCauses(params.event.blockingCauses)
|
|
412
|
-
?
|
|
416
|
+
? SKILLS_CONTRACT_DIALOG_REMEDIATION
|
|
413
417
|
: params.event.blockingCauses && params.event.blockingCauses.length > 0
|
|
414
418
|
? 'Corrige las violaciones listadas y vuelve a intentar el commit.'
|
|
415
419
|
: resolveBlockedRemediation(params.event, causeCode);
|
|
@@ -67,6 +67,7 @@ const formatPlatformName = (platform: string | null): string =>
|
|
|
67
67
|
const extractSkillsContractPlatform = (message: string): string | null =>
|
|
68
68
|
message.match(/\bplatforms?=([a-z0-9_,.-]+)/i)?.[1]?.split(',')[0]?.trim()
|
|
69
69
|
?? message.match(/\b(ios|android|frontend|backend)\(missing_critical_rule_ids=/i)?.[1]?.trim()
|
|
70
|
+
?? message.match(/\bskills\.(ios|android|frontend|backend)\./i)?.[1]?.trim()
|
|
70
71
|
?? message.match(/\bfor\s+(ios|android|frontend|backend)\s*:/i)?.[1]?.trim()
|
|
71
72
|
?? null;
|
|
72
73
|
|