ralph-prd 1.0.9 → 1.0.11

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
@@ -94,8 +94,10 @@ Options:
94
94
  --i-did-this Skip Claude self-commit; run separate commit step
95
95
  --send-it Push branch + open PR when all phases complete
96
96
  --wait-for-it Pause before each commit for review
97
- --skip-ship-check Skip the post-commit ship-check step
98
- --skip-on-verify-fail Skip verification and continue instead of hard-stopping when all repair attempts fail
97
+ --skip-ship-check Skip the post-commit ship-check step entirely
98
+ --ship-check-retries=N Retry ship-check up to N times per phase before giving up (default 1)
99
+ --skip-on-ship-check-fail Log and continue when all ship-check retries fail instead of hard-stopping
100
+ --skip-on-verify-fail Skip verification and continue instead of hard-stopping when all repair attempts fail
99
101
  --update-skills Re-fetch skills from tahaJemmali/skills and exit
100
102
  --version, -v Print installed version and exit
101
103
  ```
@@ -147,6 +149,9 @@ writableDirs:
147
149
  flags:
148
150
  maxRepairs: 3
149
151
  sendIt: false
152
+ skipShipCheck: false
153
+ shipCheckRetries: 1
154
+ skipOnShipCheckFail: true
150
155
  skipOnVerifyFail: false
151
156
 
152
157
  hooks:
package/bin/install.mjs CHANGED
@@ -7,7 +7,7 @@
7
7
  * from the skills repo via `npx skills add tahaJemmali/skills`.
8
8
  */
9
9
 
10
- import { existsSync, mkdirSync, cpSync, rmSync, readFileSync, writeFileSync } from 'fs';
10
+ import { existsSync, mkdirSync, cpSync, rmSync, readFileSync, writeFileSync, copyFileSync } from 'fs';
11
11
  import { resolve, dirname } from 'path';
12
12
  import { fileURLToPath } from 'url';
13
13
  import { spawnSync } from 'child_process';
@@ -62,6 +62,14 @@ const pkg = JSON.parse(readFileSync(resolve(PKG_ROOT, 'package.json'), 'utf8'));
62
62
  writeFileSync(resolve(ralphDst, '.ralph-version'), pkg.version + '\n', 'utf8');
63
63
  ok(`Installed ralph runner v${pkg.version} -> .claude/ralph/`);
64
64
 
65
+ // Create default ralph.config.yaml if it doesn't exist yet
66
+ const configDst = resolve(ralphDst, 'ralph.config.yaml');
67
+ const configSrc = resolve(ralphDst, 'ralph.config.sample.yaml');
68
+ if (!existsSync(configDst) && existsSync(configSrc)) {
69
+ copyFileSync(configSrc, configDst);
70
+ ok('Created default ralph.config.yaml -> .claude/ralph/ralph.config.yaml');
71
+ }
72
+
65
73
  // Install skills via skills.sh
66
74
  info('Installing skills from tahaJemmali/skills…');
67
75
  const REQUIRED_SKILLS = [
@@ -111,6 +119,7 @@ console.log('');
111
119
  info(`Installed to: ${claudeDir}`);
112
120
  info('');
113
121
  info('Quick start:');
122
+ info(' 0. Configure: edit .claude/ralph/ralph.config.yaml');
114
123
  info(' 1. Write a PRD: claude then /write-a-prd');
115
124
  info(' 2. Create a plan: claude then /prd-to-plan');
116
125
  info(' 3. Execute: node .claude/ralph/ralph-claude.mjs docs/<feature>/plan.md');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ralph-prd",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
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"
@@ -54,6 +54,16 @@ flags:
54
54
  # CLI equivalent: --skip-ship-check
55
55
  skipShipCheck: false
56
56
 
57
+ # Max ship-check attempts per phase before giving up. On final failure,
58
+ # behaviour is controlled by skipOnShipCheckFail below.
59
+ # CLI equivalent: --ship-check-retries=N
60
+ shipCheckRetries: 1
61
+
62
+ # When true, log and continue if ship-check fails after all retries instead
63
+ # of hard-stopping. Defaults to true.
64
+ # CLI equivalent: --skip-on-ship-check-fail
65
+ skipOnShipCheckFail: true
66
+
57
67
  # When all repair attempts are exhausted, skip verification and continue to
58
68
  # the commit step instead of hard-stopping. Useful when the acceptance
59
69
  # criteria require external credentials or manual steps that the agent cannot