pumuki 6.3.373 → 6.3.374

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki",
3
- "version": "6.3.373",
3
+ "version": "6.3.374",
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": {
@@ -154,6 +154,9 @@ const formatLocation = (cause: NonNullable<Extract<PumukiCriticalNotificationEve
154
154
  };
155
155
 
156
156
  const humanizeRuleId = (ruleId: string): string => {
157
+ if (ruleId === 'governance.skills.ios-test-quality.incomplete') {
158
+ return 'Calidad de tests iOS incompleta';
159
+ }
157
160
  const knownRules: Record<string, string> = {
158
161
  'no-empty-catch': 'catch vacío',
159
162
  'prefer-swift-testing': 'Test XCTest legacy',
@@ -240,7 +243,9 @@ const isSkillCause = (
240
243
  cause: NonNullable<Extract<PumukiCriticalNotificationEvent, { kind: 'gate.blocked' }>['blockingCauses']>[number]
241
244
  ): boolean =>
242
245
  (cause.ruleId ?? '').startsWith('skills.') ||
243
- cause.code.startsWith('SKILLS_');
246
+ (cause.ruleId ?? '').startsWith('governance.skills.') ||
247
+ cause.code.startsWith('SKILLS_') ||
248
+ cause.code.startsWith('GOVERNANCE_SKILLS_');
244
249
 
245
250
  const isSkillsContractCause = (
246
251
  cause: NonNullable<Extract<PumukiCriticalNotificationEvent, { kind: 'gate.blocked' }>['blockingCauses']>[number]
@@ -139,6 +139,9 @@ const formatCauseLocation = (cause: BlockedCause): string => {
139
139
  const formatCauseRule = (cause: BlockedCause): string => cause.ruleId ?? cause.code;
140
140
 
141
141
  const humanizeRuleId = (ruleId: string): string => {
142
+ if (ruleId === 'governance.skills.ios-test-quality.incomplete') {
143
+ return 'Calidad de tests iOS incompleta';
144
+ }
142
145
  const knownRules: Record<string, string> = {
143
146
  'prefer-swift-testing': 'Test XCTest legacy',
144
147
  'no-xctassert': 'Assertions XCTest en Swift Testing',