@ralph-orchestrator/ralph-cli 2.7.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
@@ -6,6 +6,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
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
+
9
30
  ## [2.7.0] - 2026-03-06
10
31
 
11
32
  ### Added
@@ -137,7 +158,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
137
158
 
138
159
  - Modularized codebase and fixed TUI mode
139
160
 
140
- [Unreleased]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.7.0...HEAD
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
141
163
  [2.7.0]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.6.0...v2.7.0
142
164
  [2.6.0]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.5.1...v2.6.0
143
165
  [2.5.1]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.5.0...v2.5.1
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.7.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.7.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.7.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.7.0",
65
+ "version": "2.8.0",
66
66
  "volta": {
67
67
  "node": "18.14.1",
68
68
  "npm": "9.5.0"