pumuki 6.3.295 → 6.3.296

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.3.296] - 2026-05-19
4
+
5
+ - `PUMUKI-INC-156`: follow-up after RuralGo replay. Broad SwiftUI findings are now considered non-actionable even when they include a `primary_node` if that node spans many lines. Only a bounded AST/node range can hard-block a staged diff; file-level brownfield SwiftUI debt remains advisory for the atomic slice.
6
+
3
7
  ## [6.3.295] - 2026-05-19
4
8
 
5
9
  - `PUMUKI-INC-156`: staged PRE_WRITE/PRE_COMMIT no longer blocks an atomic iOS slice with broad file-level SwiftUI skill findings that expose dozens of lines without a precise AST node introduced by the diff. Precise AST/skills findings still block in every severity when they intersect changed lines; broad brownfield file debt is retained as advisory with remediation demanding line/node-level evidence or a dedicated remediation slice.
@@ -203,8 +203,12 @@ const isBroadFileLevelFinding = (finding: Finding): boolean => {
203
203
  if (findingLines.length <= BROAD_BROWNFIELD_FINDING_LINES_THRESHOLD) {
204
204
  return false;
205
205
  }
206
+ const nodeLines = [
207
+ ...normalizeFindingLines(finding.primary_node?.lines),
208
+ ...(finding.related_nodes ?? []).flatMap((node) => normalizeFindingLines(node.lines)),
209
+ ];
206
210
  const hasPreciseNode =
207
- typeof finding.primary_node !== 'undefined' || (finding.related_nodes?.length ?? 0) > 0;
211
+ nodeLines.length > 0 && nodeLines.length <= BROAD_BROWNFIELD_FINDING_LINES_THRESHOLD;
208
212
  return !hasPreciseNode;
209
213
  };
210
214
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki",
3
- "version": "6.3.295",
3
+ "version": "6.3.296",
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": {