@graypark/ralph-codex 0.7.1 → 0.7.2
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/package.json +1 -1
- package/skills/ralph-interview/SKILL.md +12 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graypark/ralph-codex",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ralph Loop for Codex CLI & Claude Code — iterative dev loops with multi-agent orchestration, interactive interview, and stop hooks",
|
|
6
6
|
"license": "MIT",
|
|
@@ -224,30 +224,21 @@ EOF
|
|
|
224
224
|
Write the ralph-loop state file that makes the stop hook intercept session exits:
|
|
225
225
|
|
|
226
226
|
```bash
|
|
227
|
-
mkdir -p .
|
|
228
|
-
cat > .
|
|
229
|
-
|
|
230
|
-
active: true
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
Read prd.json for task plan. Read progress.txt for status (Codebase Patterns first).
|
|
239
|
-
Check correct branch from branchName. If not on it, create from main.
|
|
240
|
-
Pick highest priority story where passes is false.
|
|
241
|
-
Implement that ONE story.
|
|
242
|
-
Run verification: <command>.
|
|
243
|
-
On failure: fix and retry, max 3 times.
|
|
244
|
-
On success: commit 'feat: [Story ID] - [Title]'.
|
|
245
|
-
Update prd.json: set passes to true. Append to progress.txt with learnings.
|
|
246
|
-
If ALL stories pass: <promise>COMPLETE</promise>.
|
|
247
|
-
When stuck: set notes in prd.json, skip to next story.
|
|
227
|
+
mkdir -p .codex
|
|
228
|
+
cat > .codex/ralph-loop.state.json << 'EOF'
|
|
229
|
+
{
|
|
230
|
+
"active": true,
|
|
231
|
+
"prompt": "Read prd.json for task plan. Read progress.txt for status (Codebase Patterns first). Check correct branch from branchName. If not on it, create from main. Pick highest priority story where passes is false. Implement that ONE story. Run verification: <VERIFY_CMD>. On failure: fix and retry, max 3 times. On success: commit with feat: [Story ID] - [Title]. Update prd.json: set passes to true. Append to progress.txt with learnings. If ALL stories pass: output <promise>COMPLETE</promise>. When stuck: set notes in prd.json, skip to next story.",
|
|
232
|
+
"completionPromise": "COMPLETE",
|
|
233
|
+
"maxIterations": <N>,
|
|
234
|
+
"currentIteration": 0,
|
|
235
|
+
"sessionId": ""
|
|
236
|
+
}
|
|
248
237
|
EOF
|
|
249
238
|
```
|
|
250
239
|
|
|
240
|
+
Replace `<VERIFY_CMD>` with the actual verification command and `<N>` with the recommended max iterations.
|
|
241
|
+
|
|
251
242
|
### Step 4: START WORKING ON US-001 IMMEDIATELY
|
|
252
243
|
|
|
253
244
|
This is the critical step. After writing files, you MUST begin actual work in the SAME response:
|