You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -62,9 +66,12 @@ cargo run -- <command> # Run with args
62
66
63
67
**Template caching** (`templates.rs`): Network-first strategy—fetch from GitHub, cache locally, fall back to cache on failure. Cache: `~/.cache/ralphctl/templates/` (Linux) or `~/Library/Caches/ralphctl/templates/` (macOS).
64
68
65
-
**Magic strings** (`run.rs`): Loop termination signals in Claude output:
66
-
-`[[RALPH:DONE]]` — All tasks complete
67
-
-`[[RALPH:BLOCKED:<reason>]]` — Cannot proceed, requires human intervention
69
+
**Magic strings** (`run.rs`): Loop control signals in Claude output:
70
+
-`[[RALPH:CONTINUE]]` — Task completed, more tasks remain; loop continues automatically
71
+
-`[[RALPH:DONE]]` — All tasks complete; exit successfully
72
+
-`[[RALPH:BLOCKED:<reason>]]` — Cannot proceed; exit with code 3 for human intervention
73
+
74
+
Detection order: BLOCKED checked first, then CONTINUE/DONE (first match wins).
Requires the `claude` CLI to be installed and available in PATH.
15
+
Requires the `claude` CLI to be installed and available in PATH. You must be authenticated with Claude.
16
+
17
+
## Quickstart
18
+
19
+
These 3 self-contained commands get you started:
20
+
21
+
```bash
22
+
ralphctl init
23
+
ralphctl interview
24
+
ralphctl run
25
+
```
26
+
27
+
They will setup the necessary structure, create context in the correct format, and [run the loop](https://github.com/wcygan/ralphctl/blob/368a650db9ab6c9385cec19ac94074744f0669ec/src/main.rs#L372).
16
28
17
29
## Workflow
18
30
@@ -144,6 +156,16 @@ ralphctl clean [--force]
144
156
145
157
Removes SPEC.md, IMPLEMENTATION_PLAN.md, PROMPT.md, and ralph.log.
146
158
159
+
### `ralphctl update`
160
+
161
+
Install the latest version of ralphctl from GitHub.
162
+
163
+
```bash
164
+
ralphctl update
165
+
```
166
+
167
+
Runs `cargo install --git https://github.com/wcygan/ralphctl` to fetch and compile the latest release.
168
+
147
169
## How It Works
148
170
149
171
The Ralph Loop is an autonomous development workflow:
@@ -163,6 +185,7 @@ Each iteration starts with clean context. This eliminates "context rot"—the de
163
185
164
186
The loop detects these signals in Claude's output:
165
187
188
+
-`[[RALPH:CONTINUE]]` — Task completed, more tasks remain; loop continues automatically
166
189
-`[[RALPH:DONE]]` — All tasks complete, exit successfully
167
190
-`[[RALPH:BLOCKED:<reason>]]` — Cannot proceed, requires human intervention
0 commit comments