pumuki-ast-hooks 6.2.0 → 6.2.1

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-ast-hooks",
3
- "version": "6.2.0",
3
+ "version": "6.2.1",
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": {
@@ -136,4 +136,4 @@
136
136
  "./skills": "./skills/skill-rules.json",
137
137
  "./hooks": "./hooks/index.js"
138
138
  }
139
- }
139
+ }
@@ -2504,12 +2504,18 @@ if (require.main === module) {
2504
2504
  * Called ONLY after MCP handshake is complete
2505
2505
  */
2506
2506
  function startPollingLoops() {
2507
+ const evidenceMonitor = getCompositionRoot().getEvidenceMonitor();
2508
+ evidenceMonitor.start();
2509
+
2510
+ if (process.env.DEBUG) {
2511
+ process.stderr.write('[MCP] EvidenceMonitorService started with 3-min auto-refresh\n');
2512
+ }
2513
+
2507
2514
  setInterval(async () => {
2508
2515
  try {
2509
2516
  const now = Date.now();
2510
2517
  const gitFlowService = getCompositionRoot().getGitFlowService();
2511
2518
  const gitQuery = getCompositionRoot().getGitQueryAdapter();
2512
- const evidenceMonitor = getCompositionRoot().getEvidenceMonitor();
2513
2519
  const orchestrator = getCompositionRoot().getOrchestrator();
2514
2520
 
2515
2521
  const currentBranch = gitFlowService.getCurrentBranch();