claude-fsd 1.3.8 → 1.3.9

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.
@@ -37,7 +37,7 @@ Read all of these documents if they exist:
37
37
  - docs/WEBTESTS.md -- the project web tests
38
38
  - README.md -- the project README
39
39
 
40
- Your job, as a megathinking business analyst, is to analyze the project brief and generate clarifying questions.
40
+ Your job, as a megathinker business analyst, is to analyze the project brief and generate clarifying questions.
41
41
 
42
42
  1. Read through the BRIEF.md and any existing documents to understand the project.
43
43
  2. Generate 10-15 relevant questions to clarify ambiguous aspects of the brief.
@@ -64,6 +64,7 @@ if command -v codex >/dev/null 2>&1; then
64
64
  echo "Running codex o3 (results won't display)..."
65
65
  codex -m o3 --full-auto -q "$prompt1" > $LOGFILE-ba2
66
66
  else
67
+ echo "Warning: codex not found, skipping enhanced analysis"
67
68
  echo "Codex not available, skipping o3 analysis" > $LOGFILE-ba2
68
69
  fi
69
70
 
@@ -25,7 +25,6 @@ check_dependencies() {
25
25
  # Check for codex (optional but recommended)
26
26
  if [ "$check_codex" = true ] && ! command_exists codex; then
27
27
  warnings+=("codex is not installed. Some review features will be unavailable.")
28
- warnings+=("Install it from: https://github.com/Codex-ai/codex")
29
28
  fi
30
29
 
31
30
  # Check for OPENAI_API_KEY (optional for codex)
@@ -53,11 +53,18 @@ The CLAUDE-NOTES.md should contain:
53
53
  The PLAN.md should contain:
54
54
  - Ordered list of development tasks with [ ] checkboxes
55
55
  - Each task should be specific and actionable
56
- - Include infrastructure setup (git, linting, testing) as early tasks
56
+ - Include proportional infrastructure setup (basic linting + pre-commit hooks)
57
57
  - Group related tasks into logical phases
58
58
 
59
- Ensure the plan includes basic SDLC infrastructure like git repo setup, pre-commit hooks, and linting.
60
- Use feature branches for development work. Follow YAGNI principle - don't over-engineer.
59
+ INFRASTRUCTURE PROPORTIONALITY RULES:
60
+ - Basic linter + pre-commit hooks: Always include for any project
61
+ - Tests: Should be ≤50% the size of functional code (not 3x larger!)
62
+ - For simple shell scripts (~200-500 lines): Basic integration tests only
63
+ - For complex systems (>1000 lines): More comprehensive testing
64
+ - NO enterprise patterns for simple solutions (file locking, complex CI, monolithic architectures)
65
+ - Follow existing claude-fsd pattern: separate focused scripts, not monoliths
66
+ - FAIL LOUD - simple error handling, exit on failure
67
+ - Choose infrastructure complexity appropriate to solution size
61
68
  "
62
69
 
63
70
  # run BA's
@@ -69,6 +76,7 @@ if command -v codex >/dev/null 2>&1; then
69
76
  echo "Running codex o3 (results won't display)..."
70
77
  codex -m o3 --full-auto -q "$prompt2" > $LOGFILE-ba4
71
78
  else
79
+ echo "Warning: codex not found, skipping enhanced planning"
72
80
  echo "Codex not available, skipping o3 analysis" > $LOGFILE-ba4
73
81
  fi
74
82
 
package/bin/claudefsd-dev CHANGED
@@ -118,7 +118,7 @@ Please follow these steps to complete the task:
118
118
  * Impact on the overall system
119
119
  * Defensive programming techniques to employ
120
120
  * Potential edge cases and how to handle them
121
- * A testing strategy for the component
121
+ * A minimal, focused testing strategy (avoid extensive test infrastructure)
122
122
 
123
123
  2. Execute the necessary changes or Bash commands to complete the task. Use parallel agents for dev work when appropriate to increase efficiency.
124
124
 
@@ -216,6 +216,7 @@ If you have any questions of the user for the future, you can add them to QUESTI
216
216
  If you have any ideas for the future, you can add them to IDEAS.md.
217
217
  " > $LOGFILE-reviewer) &
218
218
  else
219
+ echo "Warning: codex not found, skipping background code review"
219
220
  echo "Codex not available, skipping static code review" > $LOGFILE-reviewer
220
221
  fi
221
222
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-fsd",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "description": "Claude Full Self Drive tools for autonomous AI-powered development",
5
5
  "bin": {
6
6
  "claude-fsd": "bin/claude-fsd",