gl-life-claude-zen 1.3.2 → 1.3.3

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 (46) hide show
  1. package/dist/hooks/auto-format.js +1 -1
  2. package/dist/hooks/check-pending-reviews.js +2 -0
  3. package/dist/hooks/complete-task.js +1 -1
  4. package/dist/hooks/detect-pending-reviews.js +2 -0
  5. package/dist/hooks/enforce-hard-requirements.js +2 -0
  6. package/dist/hooks/enforce-migration-workflow.js +1 -1
  7. package/dist/hooks/enforce-structured-development.js +1 -1
  8. package/dist/hooks/enforce-test-pyramid.js +1 -1
  9. package/dist/hooks/init-task-tracker.js +1 -1
  10. package/dist/hooks/performance-cache.js +2 -0
  11. package/dist/hooks/prevent-read-bypass.js +2 -0
  12. package/dist/hooks/start-task.js +1 -1
  13. package/dist/hooks/task-status.js +1 -1
  14. package/dist/hooks/validate-component-contract.js +2 -0
  15. package/dist/hooks/validate-database-changes.js +1 -1
  16. package/dist/hooks/validate-e2e-coverage.js +1 -1
  17. package/dist/hooks/validate-git-workflow.js +1 -1
  18. package/dist/hooks/validate-integration-site.js +1 -1
  19. package/dist/hooks/validate-migration-impact.js +1 -1
  20. package/dist/hooks/validate-task-completion.js +1 -1
  21. package/dist/hooks/validate-test-quality.js +1 -1
  22. package/dist/hooks/validate-test-results.js +1 -1
  23. package/dist/hooks/validate-ui-integration.js +1 -1
  24. package/dist/hooks/validate-ui-runtime.js +2 -0
  25. package/dist/hooks/validate-ui-syntax.js +2 -0
  26. package/dist/hooks/validate-ui-visual-native.js +2 -0
  27. package/dist/hooks/validate-ui-visual.js +2 -0
  28. package/dist/hooks/validate-visual-regression.js +2 -0
  29. package/dist/scripts/help.js +1 -1
  30. package/dist/scripts/plan-amend.js +1 -1
  31. package/dist/scripts/plan-create.js +1 -1
  32. package/dist/scripts/plan-help.js +1 -1
  33. package/dist/scripts/plan-init.js +1 -1
  34. package/dist/scripts/plan-manager.js +1 -1
  35. package/dist/scripts/pre-publish-checklist.js +2 -0
  36. package/dist/scripts/production-test.js +2 -0
  37. package/dist/scripts/profile-hooks.js +2 -0
  38. package/dist/scripts/setup-git-hooks.js +1 -1
  39. package/dist/scripts/task-done.js +1 -1
  40. package/dist/scripts/task-merge.js +1 -1
  41. package/dist/scripts/task-next.js +1 -1
  42. package/dist/scripts/task-start.js +1 -1
  43. package/dist/scripts/task-status.js +1 -1
  44. package/dist/scripts/verify-hooks.js +2 -0
  45. package/package.json +1 -1
  46. package/templates/.claude/settings.json +55 -1
@@ -92,6 +92,44 @@
92
92
  "requireVisualCheck": true,
93
93
  "requireContract": false,
94
94
  "comment": "⚠️ ALL UI testing requirements are HARD REQUIREMENTS (cannot be disabled). Commits will be blocked if any requirement is violated."
95
+ },
96
+ "visual": {
97
+ "enabled": true,
98
+ "strictMode": false,
99
+ "autoApprove": false,
100
+ "requireBaseline": true,
101
+ "pixelMatchThreshold": 0.1,
102
+ "diffThreshold": 1.0,
103
+ "browsers": ["chromium"],
104
+ "viewports": [
105
+ {
106
+ "name": "desktop",
107
+ "width": 1920,
108
+ "height": 1080,
109
+ "deviceScaleFactor": 1
110
+ },
111
+ {
112
+ "name": "tablet",
113
+ "width": 768,
114
+ "height": 1024,
115
+ "deviceScaleFactor": 2
116
+ },
117
+ {
118
+ "name": "mobile",
119
+ "width": 375,
120
+ "height": 667,
121
+ "deviceScaleFactor": 2
122
+ }
123
+ ],
124
+ "excludePatterns": [
125
+ "**/node_modules/**",
126
+ "**/dist/**",
127
+ "**/build/**"
128
+ ],
129
+ "baselineDir": ".claude/visual-baselines",
130
+ "diffDir": ".claude/visual-diffs",
131
+ "tempDir": ".claude/visual-temp",
132
+ "comment": "Visual regression testing configuration. Triggers on UI component changes (.tsx, .jsx, .vue, .svelte). Set enabled:false to disable."
95
133
  }
96
134
  },
97
135
  "hooks": {
@@ -102,6 +140,10 @@
102
140
  {
103
141
  "type": "command",
104
142
  "command": "echo '=== Context Loaded ===' && git rev-parse --abbrev-ref HEAD 2>/dev/null && echo 'Current branch' || echo 'Not in git repo'"
143
+ },
144
+ {
145
+ "type": "command",
146
+ "command": "node node_modules/.gl-life-claude/hooks/detect-pending-reviews.js"
105
147
  }
106
148
  ]
107
149
  }
@@ -110,6 +152,14 @@
110
152
  {
111
153
  "matcher": "*",
112
154
  "hooks": [
155
+ {
156
+ "type": "command",
157
+ "command": "node node_modules/.gl-life-claude/hooks/enforce-hard-requirements.js"
158
+ },
159
+ {
160
+ "type": "command",
161
+ "command": "node node_modules/.gl-life-claude/hooks/prevent-read-bypass.js"
162
+ },
113
163
  {
114
164
  "type": "command",
115
165
  "command": "node node_modules/.gl-life-claude/hooks/enforce-structured-development.js"
@@ -152,7 +202,7 @@
152
202
  },
153
203
  {
154
204
  "type": "command",
155
- "command": "node node_modules/.gl-life-claude/hooks/validate-ui-visual.js"
205
+ "command": "node node_modules/.gl-life-claude/hooks/validate-ui-visual-native.js"
156
206
  },
157
207
  {
158
208
  "type": "command",
@@ -177,6 +227,10 @@
177
227
  {
178
228
  "type": "command",
179
229
  "command": "node node_modules/.gl-life-claude/hooks/validate-migration-impact.js"
230
+ },
231
+ {
232
+ "type": "command",
233
+ "command": "node node_modules/.gl-life-claude/hooks/validate-visual-regression.js"
180
234
  }
181
235
  ]
182
236
  },