@ralph-orchestrator/ralph-cli 2.9.3 → 2.10.0

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/CHANGELOG.md CHANGED
@@ -4,11 +4,61 @@ All notable changes to ralph-orchestrator are documented here.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [Unreleased]
7
+ ## [2.10.0] - 2026-06-21
8
+
9
+ ### Added
10
+
11
+ - Forge CLI backend integration.
12
+ - RObot (human-in-the-loop) RPC domain in the control plane, plus a file-backed web mode that drives human interaction through files instead of a live socket.
13
+ - Worktree loops can publish remote review branches, with rebase support.
14
+ - Local file-based hat imports in preflight, including import resolution and schema validation with imported-file context.
15
+ - On-demand export of TUI iteration buffers to disk: `e` exports the current iteration, `E` exports all iterations.
16
+ - Context-window utilization telemetry, surfaced in the TUI.
17
+
18
+ ### Changed
19
+
20
+ - Updated the Pi backend package reference to `@earendil-works/pi-coding-agent`.
21
+ - Refreshed agent waves observability documentation and added the hat imports design spec.
22
+
23
+ ### Fixed
24
+
25
+ - TUI search mode now captures typed query characters instead of leaking them to keybindings (e.g. an `e` in the query no longer triggers export); the `Search:` prompt, `N/M` match counter, and `n`/`N` navigation work again.
26
+ - Runtime now requires an explicit completion signal after guidance, preventing premature loop termination.
27
+ - Persist loop continue state across iterations.
28
+ - Honor per-hat scratchpad configuration in generated instructions.
29
+ - Drain ACP terminal output before exit so the final output is no longer truncated.
30
+ - Canonicalize Ralph artifact paths to avoid path-mismatch errors.
31
+ - Deduplicate MCP tool schemas exposed over the API.
32
+
33
+ ## [2.9.3] - 2026-05-08
34
+
35
+ ### Added
36
+
37
+ - `ralph-docs` skill for `llms.txt`-driven introspection.
38
+ - Unified preset mechanism under `-H <name>`, supporting both YAML and TOML presets.
39
+ - `ralph plan` support for the kiro-acp backend, including a completion fallback.
40
+ - Visual workflow editor (builder) with live agent observation.
41
+ - Per-hat scratchpad configuration.
42
+ - Hats can set a cancellation promise.
43
+ - Improved `--no-tui` UX with a loop banner, per-iteration footer, and resume hint.
44
+
45
+ ### Changed
46
+
47
+ - Switched Linux distribution targets to musl for Amazon Linux 2 / 2023 compatibility.
48
+ - Documented global user config for hooks, added an FAQ section, and linked the autoloop authoring guide for the TOML preset format.
8
49
 
9
50
  ### Fixed
10
51
 
11
52
  - Claude child sessions now default to `--setting-sources project,local`, preventing host user-level `~/.claude/settings.json` hooks, plugins, and MCP servers from leaking into Ralph orchestration runs. Users who want the old behavior can opt back in with `cli.args: ["--setting-sources", "user,project,local"]`.
53
+ - Route the text completion fallback through `check_completion_event()`.
54
+ - Propagate the `RALPH_EVENTS_FILE` env var and preserve late termination reasons.
55
+ - Prevent lingering text backends from stalling loop progression.
56
+ - Resolve Rust 1.95 `duration_suboptimal_units` clippy warnings.
57
+
58
+ ### Security
59
+
60
+ - Replaced `source` with a safe variable parser in `sync-embedded-files.sh`.
61
+ - Use `npm ci` instead of `npm install` in `test-fresh-install.sh`.
12
62
 
13
63
  ## [2.9.2] - 2026-04-10
14
64
 
package/README.md CHANGED
@@ -46,10 +46,10 @@ ralph init --backend claude
46
46
 
47
47
  # 2. Plan your feature (interactive PDD session)
48
48
  ralph plan "Add user authentication with JWT"
49
- # Creates: specs/user-authentication/requirements.md, design.md, implementation-plan.md
49
+ # Creates: .ralph/specs/user-authentication/requirements.md, design.md, implementation-plan.md
50
50
 
51
51
  # 3. Implement the feature
52
- ralph run -p "Implement the feature in specs/user-authentication/"
52
+ ralph run -p "Implement the feature in .ralph/specs/user-authentication/"
53
53
  ```
54
54
 
55
55
  Ralph iterates until it outputs `LOOP_COMPLETE` or hits the iteration limit.
@@ -135,7 +135,7 @@ Use this mode from an MCP client configuration rather than an interactive termin
135
135
 
136
136
  Ralph implements the [Ralph Wiggum technique](https://ghuntley.com/ralph/) — autonomous task completion through continuous iteration. It supports:
137
137
 
138
- - **Multi-Backend Support** — Claude Code, Kiro, Gemini CLI, Codex, Amp, Copilot CLI, OpenCode
138
+ - **Multi-Backend Support** — Claude Code, Kiro, Gemini CLI, Codex, Forge, Amp, Copilot CLI, OpenCode
139
139
  - **Hat System** — Specialized personas coordinating through events
140
140
  - **Backpressure** — Gates that reject incomplete work (tests, lint, typecheck)
141
141
  - **Memories & Tasks** — Persistent learning and runtime work tracking
@@ -213,11 +213,11 @@ Homebrew is not currently published from this repository's automated release flo
213
213
  ```bash
214
214
  ralph init --backend claude
215
215
  ralph plan "Add user authentication with JWT"
216
- ralph run -p "Implement the feature in specs/user-authentication/"
216
+ ralph run -p "Implement the feature in .ralph/specs/user-authentication/"
217
217
  ```
218
218
 
219
219
  **What backends does Ralph support?**
220
- Claude Code, Kiro, Gemini CLI, Codex, Amp, Copilot CLI, and OpenCode.
220
+ Claude Code, Kiro, Gemini CLI, Codex, Forge, Amp, Copilot CLI, and OpenCode.
221
221
 
222
222
  **What is the "hat system"?**
223
223
  Ralph uses specialized personas (hats) that coordinate through events. Each hat has a specific role — code-assist, debug, research, review, and pdd-to-code-assist — enabling structured multi-step task execution.
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@ralph-orchestrator/ralph-cli",
26
- "version": "2.9.3"
26
+ "version": "2.10.0"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -515,5 +515,5 @@
515
515
  }
516
516
  },
517
517
  "requires": true,
518
- "version": "2.9.3"
518
+ "version": "2.10.0"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/mikeyobrien/ralph-orchestrator/releases/download/v2.9.3",
2
+ "artifactDownloadUrl": "https://github.com/mikeyobrien/ralph-orchestrator/releases/download/v2.10.0",
3
3
  "bin": {
4
4
  "ralph": "run-ralph.js"
5
5
  },
@@ -90,7 +90,7 @@
90
90
  "zipExt": ".tar.xz"
91
91
  }
92
92
  },
93
- "version": "2.9.3",
93
+ "version": "2.10.0",
94
94
  "volta": {
95
95
  "node": "18.14.1",
96
96
  "npm": "9.5.0"