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: openspec/changes/2026-04-27-ralph-session-loop-plugin/implementation-plan.md
+48-49Lines changed: 48 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
# Ralph Session Loop Plugin Implementation Plan
1
+
# Goal Session Loop Implementation Plan
2
2
3
-
> Historical note: this implementation plan predates the shared `goal-session` refactor. The shipped phase-1 behavior keeps `/ralph-loop` and `/cancel-ralph`, but uses the built-in `goal-session` plugin as the single persisted contract and loop-control surface.
3
+
> Historical note: this implementation plan predates the final command unification. The shipped phase-1 behavior uses the built-in `goal-session` plugin as the single persisted contract and exposes `/goal` as the only user-facing command surface.
4
4
5
5
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
6
6
7
-
**Goal:** Build a standalone phase-1 Ralph plugin for the interactive AWorld CLI that loops within the current session using plugin commands, plugin state, and stop hooks.
7
+
**Goal:** Build a standalone phase-1 session-goal loop for the interactive AWorld CLI that runs within the current session using plugin commands, plugin state, and stop hooks.
8
8
9
-
**Architecture:** Extend plugin commands so a plugin can contribute Python-backed slash commands in addition to markdown prompt commands. Implement a built-in Ralph plugin with a prompt command for `/ralph-loop`, a tool command for `/cancel-ralph`, task-state hooks for final-answer diagnostics, a stop hook for continuation, and a HUD provider for loop status.
9
+
**Architecture:** Extend plugin commands so a plugin can contribute Python-backed slash commands in addition to markdown prompt commands. Implement a built-in goal-session plugin with a slash command that starts a goal via `/goal "..."`, handles exact control actions for `/goal status`, `/goal pause`, and `/goal clear`, and uses task-state hooks plus a HUD provider for loop status.
Copy file name to clipboardExpand all lines: openspec/changes/2026-04-27-ralph-session-loop-plugin/proposal.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ For AWorld, phase 1 should optimize for the smallest clean integration boundary:
22
22
## What Changes
23
23
24
24
- Introduce a standalone AWorld goal-session controller plugin that provides the shared in-session loop contract for the interactive CLI.
25
-
-Keep`/ralph-loop` and `/cancel-ralph` as compatibility-facing Ralph commands layered on top of that shared goal-session state.
25
+
-Use`/goal` as the only user-facing command surface for starting and controlling that shared goal-session state.
26
26
- Define the phase-1 plugin shape around:
27
27
- prompt commands
28
28
- task lifecycle hooks that update and continue the active goal
@@ -37,8 +37,8 @@ For AWorld, phase 1 should optimize for the smallest clean integration boundary:
37
37
38
38
### New Capabilities
39
39
40
-
-`ralph-session-loop-plugin`: Adds a standalone plugin-hosted Ralph interaction model for the AWorld interactive CLI.
41
-
-`goal-session-plugin`: Adds the shared persisted goal contract and exit-control surface used by Ralph compatibility commands.
40
+
-`ralph-session-loop-plugin`: Tracks the original design lineage for the interactive session loop that now ships as `/goal`.
41
+
-`goal-session-plugin`: Adds the shared persisted goal contract and exit-control surface used by `/goal`.
42
42
43
43
### Modified Capabilities
44
44
@@ -47,7 +47,7 @@ For AWorld, phase 1 should optimize for the smallest clean integration boundary:
47
47
## Impact
48
48
49
49
- Affects plugin manifests and plugin entrypoint usage under the AWorld CLI plugin framework.
50
-
- Affects the interactive CLI experience by adding Ralph-specific slash commands plus a shared goal-status surface (`/goal`) for pause, clear, and status inspection.
50
+
- Affects the interactive CLI experience by adding a single `/goal` slash-command surface for start, pause, clear, and status inspection.
51
51
- Moves continuation control to task lifecycle hooks while leaving stop-hook behavior focused on exit gating.
52
52
- Does not require `aworld/core` changes for phase 1.
53
53
- Does not require `RalphRunner` changes for phase 1.
0 commit comments