devflow-kit
Advanced tools
+13
-0
@@ -8,2 +8,14 @@ # Changelog | ||
| ## [0.3.1] - 2025-10-17 | ||
| ### Fixed | ||
| - **catch-up agent crashes** - Prevent Claude Code session crashes from expensive operations | ||
| - Replaced full-project filesystem scans with surgical `git diff --name-only HEAD~1` | ||
| - Removed automatic test suite execution (prevents timeout crashes) | ||
| - Removed automatic build execution (prevents resource exhaustion) | ||
| - Scoped TODO/FIXME search to recently modified files only (git-based) | ||
| - Maintains user-preferred 5 status document limit | ||
| - Cleaner code with reduced safety comment overhead | ||
| - Critical fix for large codebases that caused Claude Code to hang/crash | ||
| ## [0.3.0] - 2025-10-16 | ||
@@ -242,2 +254,3 @@ | ||
| [0.3.1]: https://github.com/dean0x/devflow/releases/tag/v0.3.1 | ||
| [0.3.0]: https://github.com/dean0x/devflow/releases/tag/v0.3.0 | ||
@@ -244,0 +257,0 @@ [0.2.0]: https://github.com/dean0x/devflow/releases/tag/v0.2.0 |
+1
-1
| { | ||
| "name": "devflow-kit", | ||
| "version": "0.3.0", | ||
| "version": "0.3.1", | ||
| "description": "Agentic Development Toolkit for Claude Code - Enhance AI-assisted development with intelligent commands and workflows", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -23,3 +23,2 @@ --- | ||
| ```bash | ||
| # Check if status directory exists | ||
| if [ ! -d ".docs/status" ]; then | ||
@@ -30,3 +29,2 @@ echo "No status documents found. Run /devlog to create the first one." | ||
| # Find the most recent status document | ||
| LATEST_STATUS=$(find .docs/status -name "*.md" -not -name "INDEX.md" | sort -r | head -1) | ||
@@ -82,33 +80,6 @@ ``` | ||
| # Detect and run project's test command | ||
| echo "Attempting to run tests..." | ||
| TEST_CMD="" | ||
| BUILD_CMD="" | ||
| # Check test files in recently modified files only | ||
| echo "Checking test files in last commit..." | ||
| git diff --name-only HEAD~1 2>/dev/null | grep -E "(test|spec)" | head -5 | ||
| # Auto-detect test command from common manifest files | ||
| if [ -f "package.json" ]; then | ||
| 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) | ||
| 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) | ||
| elif [ -f "Makefile" ]; then | ||
| grep -q "^test:" Makefile && TEST_CMD="make test" | ||
| grep -q "^build:" Makefile && BUILD_CMD="make build" | ||
| fi | ||
| # Run tests if detected | ||
| if [ -n "$TEST_CMD" ]; then | ||
| echo "Running: $TEST_CMD" | ||
| eval $TEST_CMD 2>&1 | head -20 || echo "â ī¸ Tests failed - verify 'all tests passing' claims" | ||
| else | ||
| echo "âšī¸ No test command auto-detected. Manually verify test claims." | ||
| echo " Try common commands: npm test, pytest, cargo test, go test, mvn test, etc." | ||
| fi | ||
| # Run build if detected | ||
| if [ -n "$BUILD_CMD" ]; then | ||
| echo "Running: $BUILD_CMD" | ||
| eval $BUILD_CMD 2>&1 | head -20 || echo "â ī¸ Build failed - verify 'build successful' claims" | ||
| else | ||
| echo "âšī¸ No build command auto-detected. Manually verify build claims." | ||
| fi | ||
| # Check for claimed files/features | ||
@@ -122,9 +93,8 @@ echo "Verifying claimed file changes..." | ||
| # Search for TODO/FIXME across all source files (language-agnostic) | ||
| echo "Scanning for TODO/FIXME markers..." | ||
| find . -type f ! -path "*/node_modules/*" ! -path "*/.git/*" ! -path "*/vendor/*" ! -path "*/target/*" ! -path "*/build/*" ! -path "*/dist/*" \ | ||
| \( -name "*.js" -o -name "*.ts" -o -name "*.jsx" -o -name "*.tsx" -o -name "*.py" -o -name "*.go" -o -name "*.rs" \ | ||
| -o -name "*.java" -o -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.rb" -o -name "*.php" \ | ||
| -o -name "*.cs" -o -name "*.swift" -o -name "*.kt" -o -name "*.scala" \) \ | ||
| -exec grep -l "TODO\|FIXME\|HACK\|XXX" {} \; 2>/dev/null | head -5 | ||
| echo "Checking recently modified files for TODO/FIXME markers..." | ||
| git diff --name-only HEAD~1 2>/dev/null | head -5 | while read -r file; do | ||
| if [ -f "$file" ]; then | ||
| grep -l "TODO\|FIXME\|HACK\|XXX" "$file" 2>/dev/null && echo " Found in: $file" | ||
| fi | ||
| done | ||
@@ -131,0 +101,0 @@ # Generic dependency check |
242092
-0.36%