@ralph-orchestrator/ralph-cli 2.6.0 → 2.8.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
@@ -2,6 +2,58 @@
2
2
 
3
3
  All notable changes to ralph-orchestrator are documented here.
4
4
 
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
+
7
+ ## [Unreleased]
8
+
9
+ ## [2.8.0] - 2026-03-10
10
+
11
+ ### Added
12
+
13
+ - `ralph mcp serve` for exposing Ralph as a workspace-scoped MCP server over stdio.
14
+ - User-scoped default config discovery and support for per-user Ralph defaults.
15
+ - TUI update availability notices in the header.
16
+ - Human guidance can now trigger a clean restart request flow.
17
+
18
+ ### Changed
19
+
20
+ - Consolidated the core preset set around the maintained workflows and refreshed preset docs, examples, and evaluation tooling.
21
+ - Refined PDD and code-task guidance to reduce Ralph-specific noise and improve handoff quality.
22
+
23
+ ### Fixed
24
+
25
+ - Hardened multi-hat preset event contracts, late-event recovery, active hat display, and downstream debug/review handoffs.
26
+ - Preserved runtime limits from core config when using hats.
27
+ - Fixed headless loop runner backend selection.
28
+ - Made restart resumption use the required single-command shell flow and added contract coverage for it.
29
+
30
+ ## [2.7.0] - 2026-03-06
31
+
32
+ ### Added
33
+
34
+ - Per-project orchestrator lifecycle hooks v1.
35
+ - `kiro-acp` backend with ACP executor support.
36
+ - Subprocess TUI over JSON-RPC stdin/stdout.
37
+ - Improved TUI tool rendering for ACP-backed flows.
38
+
39
+ ### Changed
40
+
41
+ - Simplified internal code paths by removing redundant clones and deduplicating `now_ts`.
42
+ - Replaced deprecated `Duration` method usage with `from_secs`.
43
+ - `ralph plan` PDD SOP now syncs from the canonical `strands-agents/agent-sop` upstream source, with a small Ralph-specific loop handoff addendum.
44
+ - Added embedded asset sync, check, and upstream refresh helpers for SOP maintenance.
45
+ - Unified and modernized preset documentation.
46
+ - Added `llms.txt` map generation and CI validation.
47
+ - Hardened web `tsx` preflight behavior and added funding metadata.
48
+
49
+ ### Fixed
50
+
51
+ - Avoid self-lock contention in subprocess TUI mode.
52
+ - Accumulate Pi text deltas into flowing paragraphs in the TUI.
53
+ - Clean up zombie worktree loops more reliably.
54
+ - Fix ACP orphaned processes, garbled TUI output, and missing tool details.
55
+ - Resolve clippy issues and missing struct fields.
56
+
5
57
  ## [2.6.0] - 2026-02-25
6
58
 
7
59
  ### Added
@@ -106,6 +158,9 @@ All notable changes to ralph-orchestrator are documented here.
106
158
 
107
159
  - Modularized codebase and fixed TUI mode
108
160
 
161
+ [Unreleased]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.8.0...HEAD
162
+ [2.8.0]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.7.0...v2.8.0
163
+ [2.7.0]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.6.0...v2.7.0
109
164
  [2.6.0]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.5.1...v2.6.0
110
165
  [2.5.1]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.5.0...v2.5.1
111
166
  [2.3.0]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.2.5...v2.3.0
package/README.md CHANGED
@@ -72,6 +72,24 @@ ralph web --frontend-port 8080 # custom frontend port
72
72
  ralph web --legacy-node-api # opt into deprecated Node tRPC backend
73
73
  ```
74
74
 
75
+ ### MCP Server Workspace Scope
76
+
77
+ `ralph mcp serve` is scoped to a single workspace root per server instance.
78
+
79
+ ```bash
80
+ ralph mcp serve --workspace-root /path/to/repo
81
+ ```
82
+
83
+ Precedence is:
84
+
85
+ 1. `--workspace-root`
86
+ 2. `RALPH_API_WORKSPACE_ROOT`
87
+ 3. current working directory
88
+
89
+ For multi-repo use, run one MCP server instance per repo/workspace. Ralph's current
90
+ control-plane APIs persist config, tasks, loops, planning sessions, and collections
91
+ under a single workspace root, so server-per-workspace is the deterministic model.
92
+
75
93
  **Requirements:**
76
94
  - Rust toolchain (for `ralph-api`)
77
95
  - Node.js >= 18 + npm (for the frontend)
@@ -99,6 +117,16 @@ npm run dev:legacy-server # deprecated Node backend (optional)
99
117
  npm run test # all frontend/backend workspace tests
100
118
  ```
101
119
 
120
+ ## MCP Server Mode
121
+
122
+ Ralph can run as an MCP server over stdio for MCP-compatible clients:
123
+
124
+ ```bash
125
+ ralph mcp serve
126
+ ```
127
+
128
+ Use this mode from an MCP client configuration rather than an interactive terminal workflow.
129
+
102
130
  ## What is Ralph?
103
131
 
104
132
  Ralph implements the [Ralph Wiggum technique](https://ghuntley.com/ralph/) — autonomous task completion through continuous iteration. It supports:
@@ -107,7 +135,7 @@ Ralph implements the [Ralph Wiggum technique](https://ghuntley.com/ralph/) — a
107
135
  - **Hat System** — Specialized personas coordinating through events
108
136
  - **Backpressure** — Gates that reject incomplete work (tests, lint, typecheck)
109
137
  - **Memories & Tasks** — Persistent learning and runtime work tracking
110
- - **31 Presets** — TDD, spec-driven, debugging, and more
138
+ - **5 Supported Builtins** — `code-assist`, `debug`, `research`, `review`, and `pdd-to-code-assist`, with more patterns documented as examples
111
139
 
112
140
  ## RObot (Human-in-the-Loop)
113
141
 
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@ralph-orchestrator/ralph-cli",
26
- "version": "2.6.0"
26
+ "version": "2.8.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.6.0"
518
+ "version": "2.8.0"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/mikeyobrien/ralph-orchestrator/releases/download/v2.6.0",
2
+ "artifactDownloadUrl": "https://github.com/mikeyobrien/ralph-orchestrator/releases/download/v2.8.0",
3
3
  "bin": {
4
4
  "ralph": "run-ralph.js"
5
5
  },
@@ -62,7 +62,7 @@
62
62
  "zipExt": ".tar.xz"
63
63
  }
64
64
  },
65
- "version": "2.6.0",
65
+ "version": "2.8.0",
66
66
  "volta": {
67
67
  "node": "18.14.1",
68
68
  "npm": "9.5.0"