pumuki-ast-hooks 5.5.4 → 5.5.6
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 +2 -2
- package/scripts/hooks-system/.audit-reports/auto-recovery.log +2 -0
- package/scripts/hooks-system/.audit-reports/install-wizard.log +8 -0
- package/scripts/hooks-system/.audit_tmp/hook-metrics.jsonl +48 -0
- package/scripts/hooks-system/application/services/installation/ConfigurationGeneratorService.js +1 -1
- package/scripts/hooks-system/application/services/installation/FileSystemInstallerService.js +1 -1
- package/scripts/hooks-system/application/services/installation/HookInstaller.js +1 -1
- package/scripts/hooks-system/application/services/installation/IdeIntegrationService.js +1 -1
- package/scripts/hooks-system/application/services/installation/InstallService.js +2 -3
- package/scripts/hooks-system/application/services/installation/PlatformDetectorService.js +1 -1
- package/scripts/hooks-system/application/services/installation/VSCodeTaskConfigurator.js +1 -1
- package/scripts/hooks-system/infrastructure/watchdog/__tests__/.audit-reports/token-monitor.log +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pumuki-ast-hooks",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.6",
|
|
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": {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"eslint": "^9.12.0",
|
|
95
95
|
"jest": "^30.2.0",
|
|
96
96
|
"jscodeshift": "^17.3.0",
|
|
97
|
-
"pumuki-ast-hooks": "^5.
|
|
97
|
+
"pumuki-ast-hooks": "^5.5.5",
|
|
98
98
|
"recast": "^0.23.11",
|
|
99
99
|
"typescript": "^5.3.0"
|
|
100
100
|
},
|
|
@@ -3,3 +3,5 @@
|
|
|
3
3
|
{"timestamp":"2025-12-30T08:17:43.107Z","level":"info","component":"AutoRecovery","event":"NotificationCenterService shutdown","data":{"totalEnqueued":0,"totalSent":0,"totalDeduplicated":0,"totalCooldownSkipped":0,"totalFailed":0,"totalRetries":0,"queueSize":0,"deduplication":{"size":0},"cooldowns":{"activeCooldowns":0}},"context":{}}
|
|
4
4
|
{"timestamp":"2025-12-30T08:18:14.228Z","level":"info","component":"AutoRecovery","event":"NotificationCenterService shutdown","data":{"totalEnqueued":0,"totalSent":0,"totalDeduplicated":0,"totalCooldownSkipped":0,"totalFailed":0,"totalRetries":0,"queueSize":0,"deduplication":{"size":0},"cooldowns":{"activeCooldowns":0}},"context":{}}
|
|
5
5
|
{"timestamp":"2026-01-03T13:32:38.778Z","level":"info","component":"AutoRecovery","event":"NotificationCenterService shutdown","data":{"totalEnqueued":0,"totalSent":0,"totalDeduplicated":0,"totalCooldownSkipped":0,"totalFailed":0,"totalRetries":0,"queueSize":0,"deduplication":{"size":0},"cooldowns":{"activeCooldowns":0}},"context":{}}
|
|
6
|
+
{"timestamp":"2026-01-03T13:47:40.470Z","level":"info","component":"AutoRecovery","event":"NotificationCenterService shutdown","data":{"totalEnqueued":0,"totalSent":0,"totalDeduplicated":0,"totalCooldownSkipped":0,"totalFailed":0,"totalRetries":0,"queueSize":0,"deduplication":{"size":0},"cooldowns":{"activeCooldowns":0}},"context":{}}
|
|
7
|
+
{"timestamp":"2026-01-03T13:53:08.976Z","level":"info","component":"AutoRecovery","event":"NotificationCenterService shutdown","data":{"totalEnqueued":0,"totalSent":0,"totalDeduplicated":0,"totalCooldownSkipped":0,"totalFailed":0,"totalRetries":0,"queueSize":0,"deduplication":{"size":0},"cooldowns":{"activeCooldowns":0}},"context":{}}
|
|
@@ -18,3 +18,11 @@
|
|
|
18
18
|
{"timestamp":"2026-01-03T13:32:37.624Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_CONFIG_CREATED","data":{"configPath":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.hook-system/config.json"},"context":{}}
|
|
19
19
|
{"timestamp":"2026-01-03T13:32:37.625Z","level":"error","component":"InstallWizard","event":"INSTALL_WIZARD_SYMLINK_FAILED","data":{"error":"EEXIST: file already exists, symlink '/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/scripts/hooks-system/bin/guard-supervisor.js' -> '/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.git/hooks/guard-supervisor'"},"context":{}}
|
|
20
20
|
{"timestamp":"2026-01-03T13:32:37.625Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_COMPLETED","data":{},"context":{}}
|
|
21
|
+
{"timestamp":"2026-01-03T13:47:40.566Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_START","data":{"repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"},"context":{}}
|
|
22
|
+
{"timestamp":"2026-01-03T13:47:40.570Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_CONFIG_EXISTS","data":{"configPath":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.hook-system/config.json"},"context":{}}
|
|
23
|
+
{"timestamp":"2026-01-03T13:47:40.571Z","level":"error","component":"InstallWizard","event":"INSTALL_WIZARD_SYMLINK_FAILED","data":{"error":"EEXIST: file already exists, symlink '/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/scripts/hooks-system/bin/guard-supervisor.js' -> '/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.git/hooks/guard-supervisor'"},"context":{}}
|
|
24
|
+
{"timestamp":"2026-01-03T13:47:40.571Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_COMPLETED","data":{},"context":{}}
|
|
25
|
+
{"timestamp":"2026-01-03T13:53:09.068Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_START","data":{"repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"},"context":{}}
|
|
26
|
+
{"timestamp":"2026-01-03T13:53:09.073Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_CONFIG_EXISTS","data":{"configPath":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.hook-system/config.json"},"context":{}}
|
|
27
|
+
{"timestamp":"2026-01-03T13:53:09.073Z","level":"error","component":"InstallWizard","event":"INSTALL_WIZARD_SYMLINK_FAILED","data":{"error":"EEXIST: file already exists, symlink '/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/scripts/hooks-system/bin/guard-supervisor.js' -> '/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/.git/hooks/guard-supervisor'"},"context":{}}
|
|
28
|
+
{"timestamp":"2026-01-03T13:53:09.073Z","level":"info","component":"InstallWizard","event":"INSTALL_WIZARD_COMPLETED","data":{},"context":{}}
|
|
@@ -22,3 +22,51 @@
|
|
|
22
22
|
{"timestamp":1767447158778,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
23
23
|
{"timestamp":1767447158778,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
24
24
|
{"timestamp":1767447158778,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
25
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
26
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
27
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
28
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
29
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
30
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
31
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
32
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
33
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
34
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
35
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
36
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
37
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
38
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
39
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
40
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
41
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
42
|
+
{"timestamp":1767448060469,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
43
|
+
{"timestamp":1767448060470,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
44
|
+
{"timestamp":1767448060470,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
45
|
+
{"timestamp":1767448060470,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
46
|
+
{"timestamp":1767448060470,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
47
|
+
{"timestamp":1767448060470,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
48
|
+
{"timestamp":1767448060470,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
49
|
+
{"timestamp":1767448388974,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
50
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
51
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
52
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
53
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
54
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
55
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
56
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
57
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
58
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
59
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
60
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
61
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
62
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
63
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
64
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
65
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
66
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
67
|
+
{"timestamp":1767448388975,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
68
|
+
{"timestamp":1767448388976,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
69
|
+
{"timestamp":1767448388976,"hook":"audit_logger","operation":"constructor","status":"started","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
70
|
+
{"timestamp":1767448388976,"hook":"audit_logger","operation":"ensure_dir","status":"started"}
|
|
71
|
+
{"timestamp":1767448388976,"hook":"audit_logger","operation":"ensure_dir","status":"success"}
|
|
72
|
+
{"timestamp":1767448388976,"hook":"audit_logger","operation":"constructor","status":"success","repoRoot":"/Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
const env = require('
|
|
2
|
-
|
|
3
|
-
const path = require('path');
|
|
1
|
+
const env = require('../../../config/env.js');
|
|
4
2
|
const fs = require('fs');
|
|
3
|
+
const path = require('path');
|
|
5
4
|
|
|
6
5
|
const GitEnvironmentService = require('./GitEnvironmentService');
|
|
7
6
|
const PlatformDetectorService = require('./PlatformDetectorService');
|
package/scripts/hooks-system/infrastructure/watchdog/__tests__/.audit-reports/token-monitor.log
CHANGED
|
@@ -28,3 +28,9 @@
|
|
|
28
28
|
{"timestamp":"2026-01-03T13:32:41.452Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"ok","percentUsed":10,"tokensUsed":100000,"maxTokens":1000000,"source":"realtime","stale":false},"context":{"message":"Result level=ok percent=10% used=100000/1000000 source=realtime"}}
|
|
29
29
|
{"timestamp":"2026-01-03T13:32:41.456Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"warning","percentUsed":91,"tokensUsed":910000,"maxTokens":1000000,"source":"fallback","stale":false},"context":{"message":"Result level=warning percent=91% used=910000/1000000 source=fallback"}}
|
|
30
30
|
{"timestamp":"2026-01-03T13:32:41.458Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"critical","percentUsed":98,"tokensUsed":980000,"maxTokens":1000000,"source":"realtime","stale":true},"context":{"message":"Result level=critical percent=98% used=980000/1000000 source=realtime (stale)"}}
|
|
31
|
+
{"timestamp":"2026-01-03T13:47:43.092Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"ok","percentUsed":10,"tokensUsed":100000,"maxTokens":1000000,"source":"realtime","stale":false},"context":{"message":"Result level=ok percent=10% used=100000/1000000 source=realtime"}}
|
|
32
|
+
{"timestamp":"2026-01-03T13:47:43.095Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"warning","percentUsed":91,"tokensUsed":910000,"maxTokens":1000000,"source":"fallback","stale":false},"context":{"message":"Result level=warning percent=91% used=910000/1000000 source=fallback"}}
|
|
33
|
+
{"timestamp":"2026-01-03T13:47:43.096Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"critical","percentUsed":98,"tokensUsed":980000,"maxTokens":1000000,"source":"realtime","stale":true},"context":{"message":"Result level=critical percent=98% used=980000/1000000 source=realtime (stale)"}}
|
|
34
|
+
{"timestamp":"2026-01-03T13:53:10.035Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"ok","percentUsed":10,"tokensUsed":100000,"maxTokens":1000000,"source":"realtime","stale":false},"context":{"message":"Result level=ok percent=10% used=100000/1000000 source=realtime"}}
|
|
35
|
+
{"timestamp":"2026-01-03T13:53:10.038Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"warning","percentUsed":91,"tokensUsed":910000,"maxTokens":1000000,"source":"fallback","stale":false},"context":{"message":"Result level=warning percent=91% used=910000/1000000 source=fallback"}}
|
|
36
|
+
{"timestamp":"2026-01-03T13:53:10.038Z","level":"info","component":"TokenMonitor","event":"TOKEN_MONITOR_RESULT","data":{"level":"critical","percentUsed":98,"tokensUsed":980000,"maxTokens":1000000,"source":"realtime","stale":true},"context":{"message":"Result level=critical percent=98% used=980000/1000000 source=realtime (stale)"}}
|