Skip to content

Commit 39a4c81

Browse files
Kasper Jungeclaude
authored andcommitted
docs: add realistic terminal output to README so GitHub visitors can see the self-healing loop
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a880bf7 commit 39a4c81

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

β€ŽREADME.mdβ€Ž

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,34 @@ ralph run -n 10 # Run 10 iterations then stop
7373
ralph run -p "Fix the login bug" # Ad-hoc prompt, no PROMPT.md needed
7474
```
7575

76+
### What it looks like
77+
78+
```
79+
$ ralph run -n 3 --log-dir ralph_logs
80+
81+
── Iteration 1 ──
82+
βœ“ Iteration 1 completed (52.3s) β†’ ralph_logs/001_20250115-142301.log
83+
Checks: 2 passed
84+
βœ“ lint
85+
βœ“ tests
86+
87+
── Iteration 2 ──
88+
βœ— Iteration 2 failed with exit code 1 (23.1s)
89+
Checks: 1 passed, 1 failed
90+
βœ“ lint
91+
βœ— tests (exit 1)
92+
93+
── Iteration 3 ──
94+
βœ“ Iteration 3 completed (41.7s) β†’ ralph_logs/003_20250115-143012.log
95+
Checks: 2 passed
96+
βœ“ lint
97+
βœ“ tests
98+
99+
Done: 3 iteration(s) β€” 2 succeeded, 1 failed
100+
```
101+
102+
Iteration 2 broke a test. Iteration 3 automatically received the failure output and fixed it β€” that's the self-healing loop in action.
103+
76104
## The technique
77105

78106
The Ralph Wiggum technique works because:

0 commit comments

Comments
Β (0)