@graypark/ralph-codex 0.5.0 → 0.5.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 +41 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graypark/ralph-codex",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.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",
|
|
@@ -265,12 +265,13 @@ To cancel at any time: `/ralph-loop:cancel-ralph`
|
|
|
265
265
|
|
|
266
266
|
### Quick-Run Flow
|
|
267
267
|
|
|
268
|
-
If the user includes phrases like "run immediately", "just do it", "바로 실행", "바로 시작", or "--run" in their initial message:
|
|
268
|
+
If the user includes phrases like "run immediately", "just do it", "run it", "바로 실행", "바로 시작", or "--run" in their initial message:
|
|
269
269
|
|
|
270
270
|
1. Conduct the interview as normal (skip if enough context is provided).
|
|
271
|
-
2. Generate the command blocks.
|
|
272
|
-
3.
|
|
273
|
-
4.
|
|
271
|
+
2. Generate the command blocks. Show them briefly.
|
|
272
|
+
3. For multi-phase: write state file with queue via Bash tool.
|
|
273
|
+
4. Make the Skill tool call: skill="ralph-loop:ralph-loop", args=Phase 1 prompt+flags.
|
|
274
|
+
Do NOT stop after step 3. You MUST proceed to step 4.
|
|
274
275
|
|
|
275
276
|
### Post-Generation Action
|
|
276
277
|
|
|
@@ -297,17 +298,44 @@ After generating all command blocks, ALWAYS end with this prompt:
|
|
|
297
298
|
- **edit** / **수정** → Tell me what to change
|
|
298
299
|
```
|
|
299
300
|
|
|
300
|
-
### Execution
|
|
301
|
+
### Execution — MANDATORY TOOL CALL
|
|
301
302
|
|
|
302
|
-
|
|
303
|
+
When the user confirms with "y", "yes", "step", "run", "바로 실행", etc., you MUST perform an actual Skill tool call. This is NON-NEGOTIABLE.
|
|
303
304
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
305
|
+
WRONG (do NOT do this):
|
|
306
|
+
|
|
307
|
+
- Printing the /ralph-loop command as text
|
|
308
|
+
- Writing a state file and saying "ready"
|
|
309
|
+
- Telling the user to copy-paste
|
|
310
|
+
- Saying "Phase 1 is set up"
|
|
311
|
+
|
|
312
|
+
RIGHT (you MUST do this):
|
|
313
|
+
|
|
314
|
+
- Use the Skill tool to invoke "ralph-loop:ralph-loop" with args
|
|
315
|
+
|
|
316
|
+
The exact tool call you must make:
|
|
317
|
+
|
|
318
|
+
```
|
|
319
|
+
Use the Skill tool with:
|
|
320
|
+
skill: "ralph-loop:ralph-loop"
|
|
321
|
+
args: "<the full prompt>" --max-iterations <N> --completion-promise "<PROMISE>"
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
This is the same as if the user had typed `/ralph-loop:ralph-loop "..." --max-iterations N --completion-promise "X"` themselves. You are doing it on their behalf.
|
|
325
|
+
|
|
326
|
+
**Pipeline mode ("y"):**
|
|
327
|
+
|
|
328
|
+
1. For multi-phase: first write state file with queue via Bash tool
|
|
329
|
+
2. Then IMMEDIATELY make the Skill tool call for Phase 1
|
|
330
|
+
3. Stop hook handles the rest
|
|
308
331
|
|
|
309
332
|
**Manual mode ("step"):**
|
|
310
333
|
|
|
311
|
-
1.
|
|
312
|
-
2.
|
|
313
|
-
|
|
334
|
+
1. IMMEDIATELY make the Skill tool call for Phase 1
|
|
335
|
+
2. After it completes, ask before making the next Skill tool call
|
|
336
|
+
|
|
337
|
+
**Single-phase ("y"):**
|
|
338
|
+
|
|
339
|
+
1. IMMEDIATELY make the Skill tool call
|
|
340
|
+
|
|
341
|
+
If you do not make the Skill tool call, the loop will not start. Writing a state file alone does nothing.
|