ralph-prd 1.0.11 → 1.0.12

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/install.sh CHANGED
@@ -95,20 +95,17 @@ if [ -f "$SOURCE_DIR/package.json" ]; then
95
95
  info "Stamped version: $VERSION"
96
96
  fi
97
97
 
98
- # Only add to .gitignore on first install if .claude/ already existed,
99
- # the user may be sharing it via git intentionally.
100
- if [ "$IS_FIRST_INSTALL" = true ]; then
101
- GITIGNORE="$PROJECT_ROOT/.gitignore"
102
- for entry in ".claude/ralph/" ".claude/skills/"; do
103
- if [ ! -f "$GITIGNORE" ] || ! grep -qxF "$entry" "$GITIGNORE"; then
104
- if [ ! -f "$GITIGNORE" ] || ! grep -qF "# ralph-prd" "$GITIGNORE"; then
105
- printf '\n# ralph-prd (installed via install.sh)\n' >> "$GITIGNORE"
106
- fi
107
- echo "$entry" >> "$GITIGNORE"
108
- ok "Added $entry to .gitignore"
98
+ # Add required entries to .gitignore (idempotentskips entries already present).
99
+ GITIGNORE="$PROJECT_ROOT/.gitignore"
100
+ for entry in ".claude/ralph/" ".claude/skills/" "logs/"; do
101
+ if [ ! -f "$GITIGNORE" ] || ! grep -qxF "$entry" "$GITIGNORE"; then
102
+ if [ ! -f "$GITIGNORE" ] || ! grep -qF "# ralph-prd" "$GITIGNORE"; then
103
+ printf '\n# ralph-prd (installed via install.sh)\n' >> "$GITIGNORE"
109
104
  fi
110
- done
111
- fi
105
+ echo "$entry" >> "$GITIGNORE"
106
+ ok "Added $entry to .gitignore"
107
+ fi
108
+ done
112
109
 
113
110
  # Summary
114
111
  echo ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ralph-prd",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "AI-powered phased implementation runner for Claude Code — from PRD to shipped code",
5
5
  "bin": {
6
6
  "ralph-prd": "./bin/install.mjs"
@@ -363,7 +363,7 @@ async function main() {
363
363
  // Derive branch name and log directory
364
364
  const branch = deriveBranchName(planPath);
365
365
  const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19);
366
- const logsBaseDir = resolve(__dirname, 'logs');
366
+ const logsBaseDir = resolve(__dirname, '../..', 'logs');
367
367
  let logsDir;
368
368
  if (isDryRun) {
369
369
  // Dry runs always get a fresh folder