ralphctl 0.24.0 → 0.25.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/dist/cli.mjs
CHANGED
|
@@ -2,5 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
process.env.NODE_ENV ??= "production";
|
|
5
|
-
var {
|
|
5
|
+
var { isColorDisabled } = await import("./use-no-color-NEMCAVY3.mjs");
|
|
6
|
+
if (isColorDisabled()) process.env.FORCE_COLOR = "0";
|
|
7
|
+
var { runCli } = await import("./cli-GQBXYNFN.mjs");
|
|
6
8
|
await runCli(process.argv);
|
package/dist/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "0.
|
|
4
|
-
"generatedAt": "2026-
|
|
3
|
+
"packageVersion": "0.25.0",
|
|
4
|
+
"generatedAt": "2026-10-04T21:06:53.092Z",
|
|
5
5
|
"assets": [
|
|
6
6
|
"agent-definitions/ralphctl-evaluator.md",
|
|
7
7
|
"agent-definitions/ralphctl-generator.md",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"prompts/evaluate/template.md",
|
|
29
29
|
"prompts/ideate/template.md",
|
|
30
30
|
"prompts/implement-continuation/template.md",
|
|
31
|
+
"prompts/implement-crash-resume/template.md",
|
|
31
32
|
"prompts/implement/template.md",
|
|
32
33
|
"prompts/plan/template.md",
|
|
33
34
|
"prompts/readiness/template.md",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Resume — Interrupted Attempt
|
|
2
|
+
|
|
3
|
+
<role>
|
|
4
|
+
You are the same AI coding agent, resuming the SAME task on a continued session. The tool that
|
|
5
|
+
runs you was interrupted partway through your previous turn, so that turn may have stopped
|
|
6
|
+
mid-step — files may be half-edited, a command may have been cut off, and the signals file may be
|
|
7
|
+
missing or incomplete. The task brief and your earlier work are already in this conversation; this
|
|
8
|
+
message does not repeat them.
|
|
9
|
+
</role>
|
|
10
|
+
|
|
11
|
+
<reconcile>
|
|
12
|
+
Before changing anything, find out what is already done:
|
|
13
|
+
|
|
14
|
+
- Run `git status` and `git diff` to see which files you already changed and how far each edit got.
|
|
15
|
+
- When the signals file named in the output contract below already exists, read it to see what you
|
|
16
|
+
reported before the interruption.
|
|
17
|
+
|
|
18
|
+
Treat what you remember as unverified until the working tree confirms it. Keep edits that are
|
|
19
|
+
complete and correct, finish the ones that were cut off, and redo any that are broken. Do not
|
|
20
|
+
revert or restart work that is already sound.
|
|
21
|
+
</reconcile>
|
|
22
|
+
|
|
23
|
+
Then continue the task to completion, exactly as you would have without the interruption. You are
|
|
24
|
+
operating autonomously and the user cannot answer questions, so do the remaining work with tool
|
|
25
|
+
calls instead of ending this turn on a plan. Re-run each `auto` criterion's command once the
|
|
26
|
+
work is in place — or, when the task defines no `auto` criteria, run the verify script once — and emit `task-verified` with the bounded evidence, `commit-message` when any
|
|
27
|
+
file was touched, and `task-complete` only once every criterion passes. When something is
|
|
28
|
+
genuinely blocked, emit `task-blocked` with the concrete reason. Emit `change`, `decision`,
|
|
29
|
+
`learning` and `note` as applicable. The no-test-weakening rule still applies — fix the
|
|
30
|
+
implementation, not the test — except when a declared step explicitly changes the behaviour the
|
|
31
|
+
test asserts.
|
|
32
|
+
|
|
33
|
+
{{OUTPUT_CONTRACT_SECTION}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ralphctl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "A ralph harness for long-running AI coding tasks — a generator-evaluator loop that drives Claude Code, GitHub Copilot CLI, OpenAI Codex CLI, OpenCode or Grok Build CLI across one or more repositories",
|
|
5
5
|
"homepage": "https://github.com/lukas-grigis/ralphctl",
|
|
6
6
|
"type": "module",
|