devflow-kit 0.3.0 → 0.3.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/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to DevFlow will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.3.1] - 2025-10-17
9
+
10
+ ### Fixed
11
+ - **catch-up agent crashes** - Prevent Claude Code session crashes from expensive operations
12
+ - Replaced full-project filesystem scans with surgical `git diff --name-only HEAD~1`
13
+ - Removed automatic test suite execution (prevents timeout crashes)
14
+ - Removed automatic build execution (prevents resource exhaustion)
15
+ - Scoped TODO/FIXME search to recently modified files only (git-based)
16
+ - Maintains user-preferred 5 status document limit
17
+ - Cleaner code with reduced safety comment overhead
18
+ - Critical fix for large codebases that caused Claude Code to hang/crash
19
+
8
20
  ## [0.3.0] - 2025-10-16
9
21
 
10
22
  ### Added
@@ -238,6 +250,7 @@ devflow init
238
250
 
239
251
  ---
240
252
 
253
+ [0.3.1]: https://github.com/dean0x/devflow/releases/tag/v0.3.1
241
254
  [0.3.0]: https://github.com/dean0x/devflow/releases/tag/v0.3.0
242
255
  [0.2.0]: https://github.com/dean0x/devflow/releases/tag/v0.2.0
243
256
  [0.1.2]: https://github.com/dean0x/devflow/releases/tag/v0.1.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devflow-kit",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Agentic Development Toolkit for Claude Code - Enhance AI-assisted development with intelligent commands and workflows",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -20,13 +20,11 @@ Help developers catch up on recent project activity by reviewing status document
20
20
  Look for preserved todo list state in the most recent status document:
21
21
 
22
22
  ```bash
23
- # Check if status directory exists
24
23
  if [ ! -d ".docs/status" ]; then
25
24
  echo "No status documents found. Run /devlog to create the first one."
26
25
  exit 1
27
26
  fi
28
27
 
29
- # Find the most recent status document
30
28
  LATEST_STATUS=$(find .docs/status -name "*.md" -not -name "INDEX.md" | sort -r | head -1)
31
29
  ```
32
30
 
@@ -77,36 +75,9 @@ For each found status document:
77
75
  # Check if "completed" features actually work
78
76
  echo "=== VALIDATING STATUS CLAIMS ==="
79
77
 
80
- # Detect and run project's test command
81
- echo "Attempting to run tests..."
82
- TEST_CMD=""
83
- BUILD_CMD=""
84
-
85
- # Auto-detect test command from common manifest files
86
- if [ -f "package.json" ]; then
87
- TEST_CMD=$(command -v jq >/dev/null && jq -r '.scripts.test // empty' package.json 2>/dev/null || grep -o '"test"[^"]*"[^"]*"' package.json | cut -d'"' -f4)
88
- BUILD_CMD=$(command -v jq >/dev/null && jq -r '.scripts.build // empty' package.json 2>/dev/null || grep -o '"build"[^"]*"[^"]*"' package.json | cut -d'"' -f4)
89
- elif [ -f "Makefile" ]; then
90
- grep -q "^test:" Makefile && TEST_CMD="make test"
91
- grep -q "^build:" Makefile && BUILD_CMD="make build"
92
- fi
93
-
94
- # Run tests if detected
95
- if [ -n "$TEST_CMD" ]; then
96
- echo "Running: $TEST_CMD"
97
- eval $TEST_CMD 2>&1 | head -20 || echo "⚠️ Tests failed - verify 'all tests passing' claims"
98
- else
99
- echo "ℹ️ No test command auto-detected. Manually verify test claims."
100
- echo " Try common commands: npm test, pytest, cargo test, go test, mvn test, etc."
101
- fi
102
-
103
- # Run build if detected
104
- if [ -n "$BUILD_CMD" ]; then
105
- echo "Running: $BUILD_CMD"
106
- eval $BUILD_CMD 2>&1 | head -20 || echo "⚠️ Build failed - verify 'build successful' claims"
107
- else
108
- echo "ℹ️ No build command auto-detected. Manually verify build claims."
109
- fi
78
+ # Check test files in recently modified files only
79
+ echo "Checking test files in last commit..."
80
+ git diff --name-only HEAD~1 2>/dev/null | grep -E "(test|spec)" | head -5
110
81
 
111
82
  # Check for claimed files/features
112
83
  echo "Verifying claimed file changes..."
@@ -116,13 +87,12 @@ git status --porcelain | head -10
116
87
  echo "Checking for red flags..."
117
88
  find . -type f \( -name "*.tmp" -o -name "*.bak" -o -name "*~" \) ! -path "*/node_modules/*" ! -path "*/.git/*" | head -5
118
89
 
119
- # Search for TODO/FIXME across all source files (language-agnostic)
120
- echo "Scanning for TODO/FIXME markers..."
121
- find . -type f ! -path "*/node_modules/*" ! -path "*/.git/*" ! -path "*/vendor/*" ! -path "*/target/*" ! -path "*/build/*" ! -path "*/dist/*" \
122
- \( -name "*.js" -o -name "*.ts" -o -name "*.jsx" -o -name "*.tsx" -o -name "*.py" -o -name "*.go" -o -name "*.rs" \
123
- -o -name "*.java" -o -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.rb" -o -name "*.php" \
124
- -o -name "*.cs" -o -name "*.swift" -o -name "*.kt" -o -name "*.scala" \) \
125
- -exec grep -l "TODO\|FIXME\|HACK\|XXX" {} \; 2>/dev/null | head -5
90
+ echo "Checking recently modified files for TODO/FIXME markers..."
91
+ git diff --name-only HEAD~1 2>/dev/null | head -5 | while read -r file; do
92
+ if [ -f "$file" ]; then
93
+ grep -l "TODO\|FIXME\|HACK\|XXX" "$file" 2>/dev/null && echo " Found in: $file"
94
+ fi
95
+ done
126
96
 
127
97
  # Generic dependency check
128
98
  echo "Checking dependency health..."