pumuki-ast-hooks 5.5.20 → 5.5.21

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/README.md CHANGED
@@ -1065,6 +1065,21 @@ For coding standards, see [CODE_STANDARDS.md](./docs/CODE_STANDARDS.md).
1065
1065
 
1066
1066
  ## 📝 Recent Changes
1067
1067
 
1068
+ ### Version 5.5.20 (2026-01-04)
1069
+
1070
+ **🐛 Bug Fixes:**
1071
+ - Restored comprehensive session context report on IDE startup
1072
+ - Fixed evidence age calculation for ISO 8601 timestamps with timezone offsets
1073
+ - Removed `exec "$SHELL"` that caused infinite loop on macOS
1074
+ - Added Python-based timestamp parsing for reliable timezone conversion
1075
+
1076
+ **🔧 Improvements:**
1077
+ - Session loader now displays branch, recent commits, session context, violations summary, and evidence freshness
1078
+ - Added quick commands section for user convenience
1079
+ - Violations summary now reads from `ast-summary.json` with severity breakdown
1080
+
1081
+ ---
1082
+
1068
1083
  ### Version 5.5.16 (2026-01-04)
1069
1084
 
1070
1085
  **✨ New Features:**
@@ -1,3 +1,62 @@
1
+ # Release Notes - v5.5.20
2
+
3
+ **Release Date**: January 4, 2026
4
+ **Type**: Patch Release
5
+ **Compatibility**: Fully backward compatible with 5.5.x
6
+
7
+ ---
8
+
9
+ ## 🎯 Overview
10
+
11
+ This release restores the comprehensive session context report on IDE startup and fixes critical bugs in the session loader, including infinite loop prevention and correct timestamp parsing for evidence freshness checks.
12
+
13
+ ---
14
+
15
+ ## 🐛 Bug Fixes
16
+
17
+ ### Fixed: Session loader infinite loop on macOS
18
+ - **Issue**: `exec "$SHELL"` at the end of session-loader.sh caused fork resource exhaustion
19
+ - **Resolution**: Removed shell exec, script now completes without forking
20
+ - **Impact**: IDE startup no longer hangs or creates zombie processes
21
+
22
+ ### Fixed: Evidence age calculation showing incorrect values
23
+ - **Issue**: ISO 8601 timestamps with timezone offsets (e.g., `2026-01-04T08:12:13.372+01:00`) were parsed incorrectly, showing millions of seconds
24
+ - **Resolution**: Added Python-based timestamp parsing using `datetime.fromisoformat()` for reliable timezone conversion
25
+ - **Impact**: Evidence freshness check now displays correct age in seconds
26
+
27
+ ### Fixed: Session loader showing minimal context
28
+ - **Issue**: Session loader was simplified to basic status only, losing branch info, commits, violations summary
29
+ - **Resolution**: Restored full context report with branch, recent commits, session context, violations summary, and evidence freshness
30
+ - **Impact**: Users now see complete project context on IDE startup
31
+
32
+ ---
33
+
34
+ ## 🔧 Improvements
35
+
36
+ ### Enhanced Session Loader Output
37
+ - Displays current branch with color coding
38
+ - Shows last 3 commits with one-line format
39
+ - Reads session context from `.AI_EVIDENCE.json`
40
+ - Shows violations summary from `ast-summary.json` with severity breakdown (CRITICAL/HIGH/MEDIUM/LOW)
41
+ - Displays evidence freshness with correct age calculation
42
+ - Added quick commands section for common actions
43
+
44
+ ### Technical Details
45
+ - Evidence timestamps with timezone offsets now correctly parsed
46
+ - Session loader no longer forks shell process
47
+ - All session information displayed in a single, organized banner
48
+ - Violations summary reads from JSON report for accurate counts
49
+
50
+ ---
51
+
52
+ ## 📦 Installation / Upgrade
53
+ ```bash
54
+ npm install --save-dev pumuki-ast-hooks@5.5.20
55
+ npm run install-hooks
56
+ ```
57
+
58
+ ---
59
+
1
60
  # Release Notes - v5.3.15
2
61
 
3
62
  **Release Date**: December 30, 2025
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki-ast-hooks",
3
- "version": "5.5.20",
3
+ "version": "5.5.21",
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": {
@@ -54,6 +54,9 @@ class FileSystemInstallerService {
54
54
  if (fs.existsSync(source)) {
55
55
  if (item === 'infrastructure/') {
56
56
  this.copyRecursiveExcluding(source, dest, ['scripts']);
57
+ } else if (item === 'bin/') {
58
+ // Exclude wrapper scripts that would cause fork bombs
59
+ this.copyRecursiveExcluding(source, dest, ['session-loader.sh', 'cli.js', 'install.js']);
57
60
  } else {
58
61
  this.copyRecursive(source, dest);
59
62
  }