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
Copy file name to clipboardExpand all lines: README.md
+54-50Lines changed: 54 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,65 +8,68 @@ Use it for migrations, bug fixes, feature implementation, refactoring, test crea
8
8
9
9
## Features
10
10
11
-
-**Autonomous looping** — Executes up to 2 steps per run (configurable), then pauses so you can review before continuing.
11
+
-**Autonomous looping** — Executes up to a configurable number of steps per run (default: 2), then pauses for review before continuing.
12
12
-**Three action types:**
13
-
-`copilot_task` — Sends a detailed prompt to Copilot Chat and waits for it to finish making changes.
14
-
-`run_terminal` — Opens a terminal, runs a shell command, and waits for completion.
15
-
-`create_file` — Delegates file creation to Copilot with contextual instructions.
13
+
-`copilot_task` — Sends a detailed prompt to Copilot Chat and waits for it to finish making changes.
14
+
-`run_terminal` — Opens a terminal, runs a shell command, and waits for completion.
15
+
-`create_file` — Delegates file creation to Copilot with contextual instructions.
16
16
-**Activity-based completion detection** — Monitors workspace events (file edits, file creation, terminal activity) to determine when Copilot has finished processing a step.
17
17
-**Persistent status tracking** — All progress is written to `STATUS.md` so you can stop, restart VS Code, or resume at any time.
18
18
-**Smart skip detection** — Before executing a step, RALPH checks whether the outcome already exists (e.g., file already created, directory already exists, `node_modules` already installed) and skips it automatically.
19
19
-**Fully resumable** — If a step is left `in-progress`, RALPH picks it up on the next start. Failed steps are logged and skipped so the pipeline continues.
20
+
-**Quick Start workflow** — Easily generate or import `PLAN.md` and `STATUS.md` using the built-in Quick Start, including Copilot-powered plan generation from a user goal.
21
+
-**Status bar integration** — Shows RALPH's current state and provides quick access to commands.
22
+
-**Comprehensive status and reset commands** — View progress, reset steps, and manage the plan directly from the command palette or status bar menu.
20
23
21
24
## Requirements
22
25
23
26
-**VS Code** 1.109.0 or later
24
27
-**GitHub Copilot Chat** extension installed and signed in — RALPH delegates code tasks to Copilot via the chat API.
25
28
- Two markdown files in your workspace root:
26
-
-**`PLAN.md`** — Contains a fenced ` ```json ` block with a `{ "steps": [...] }` array defining each step.
27
-
-**`STATUS.md`** — A markdown table tracking the status of each step (`pending`, `in-progress`, `done`, `failed`, `skipped`) along with timestamps and notes. Also includes a quick-status summary section that RALPH updates automatically.
29
+
-**`PLAN.md`** — Contains a fenced ` ```json ` block with a `{ "steps": [...] }` array defining each step.
30
+
-**`STATUS.md`** — A markdown table tracking the status of each step (`pending`, `in-progress`, `done`, `failed`, `skipped`) along with timestamps and notes. Also includes a quick-status summary section that RALPH updates automatically.
28
31
29
32
### PLAN.md format
30
33
31
34
The plan file must contain a fenced JSON block with a `steps` array. Each step has the following fields:
|`RALPH: Start`| Begin (or resume) the autonomous loop from the next pending step. |
96
+
|`RALPH: Stop`| Cancel the current run immediately. |
97
+
|`RALPH: Show Status`| Display a summary of step progress in the output channel and as a notification. |
98
+
|`RALPH: Reset Step`| Pick a completed, failed, or in-progress step and reset it back to `pending`. |
99
+
|`RALPH: Quick Start`| Set up plan & status files — provide existing ones or generate via Copilot. |
100
+
|`RALPH: Open Settings`| Configure RALPH Runner options. |
101
+
| Status Bar Menu | Access all commands and see current state from the VS Code status bar. |
98
102
99
103
## How it works
100
104
101
105
1.**Parse** — RALPH reads the JSON step definitions from `PLAN.md` and the current status from `STATUS.md`.
102
106
2.**Find next step** — It looks for the first `in-progress` step (to resume) or the first `pending` step.
103
107
3.**Verify** — Before executing, it checks whether the step's outcome already exists in the workspace (smart skip).
104
108
4.**Execute** — Depending on the action type, RALPH either runs a terminal command, or sends a prompt to Copilot Chat and waits.
105
-
5.**Wait for completion** — For Copilot tasks, RALPH monitors workspace activity (file edits, saves, terminal events). Once no activity is detected for 30 seconds (after a minimum 15-second wait), it considers the step complete.
109
+
5.**Wait for completion** — For Copilot tasks, RALPH monitors workspace activity (file edits, saves, terminal events). Once no activity is detected for a configurable idle period (default: 30 seconds, after a minimum 15-second wait), it considers the step complete.
106
110
6.**Update status** — The step is marked `done` or `failed` in `STATUS.md`, and the quick-status summary is refreshed.
107
111
7.**Loop** — Repeat from step 2 until the loop limit is reached or all steps are done.
108
112
@@ -115,4 +119,4 @@ It also looks for a quick-status summary section with lines like `| Total Steps
115
119
116
120
### 0.0.1
117
121
118
-
- Initial release with autonomous loop, Copilot Chat integration, activity-based completion detection, persistent status tracking, and smart skip verification.
122
+
- Initial release with autonomous loop, Copilot Chat integration, activity-based completion detection, persistent status tracking, smart skip verification, Quick Start workflow, and status bar integration.
0 commit comments