ralphctl 0.25.0 → 0.26.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/README.md +1 -1
- package/dist/{cli-GQBXYNFN.mjs → cli-P7D6G5NI.mjs} +5716 -3746
- package/dist/cli.mjs +1 -1
- package/dist/manifest.json +6 -2
- package/dist/prompts/_partials/approval-gate.md +5 -5
- package/dist/prompts/_partials/autonomous-operation.md +7 -1
- package/dist/prompts/_partials/conventions-agents-md.md +8 -20
- package/dist/prompts/_partials/conventions-claude-md.md +12 -15
- package/dist/prompts/_partials/conventions-copilot-instructions.md +6 -10
- package/dist/prompts/_partials/decisions.md +3 -8
- package/dist/prompts/_partials/evaluator-failure-modes.md +8 -5
- package/dist/prompts/_partials/evaluator-grading-rules.md +24 -10
- package/dist/prompts/_partials/evidence-bound.md +2 -2
- package/dist/prompts/_partials/git-boundary.md +7 -0
- package/dist/prompts/_partials/harness-context.md +1 -1
- package/dist/prompts/_partials/question-format.md +7 -0
- package/dist/prompts/_partials/skill-body.md +5 -0
- package/dist/prompts/_partials/task-blocked.md +10 -0
- package/dist/prompts/_partials/task-fields.md +19 -3
- package/dist/prompts/_partials/task-sizing.md +2 -2
- package/dist/prompts/_partials/validation-checklist.md +6 -8
- package/dist/prompts/apply-feedback/template.md +19 -21
- package/dist/prompts/create-pr/template.md +16 -12
- package/dist/prompts/detect-scripts/template.md +4 -6
- package/dist/prompts/detect-skills/template.md +17 -23
- package/dist/prompts/distill-learnings/template.md +10 -8
- package/dist/prompts/evaluate/template.md +72 -93
- package/dist/prompts/evaluate-continuation/template.md +18 -21
- package/dist/prompts/ideate/template.md +34 -44
- package/dist/prompts/implement/template.md +49 -66
- package/dist/prompts/implement-continuation/template.md +21 -20
- package/dist/prompts/implement-crash-resume/template.md +13 -4
- package/dist/prompts/plan/template.md +73 -61
- package/dist/prompts/readiness/template.md +35 -28
- package/dist/prompts/refine/template.md +34 -44
- package/dist/prompts/reproduce/template.md +9 -7
- package/dist/prompts/select-candidate/template.md +17 -10
- package/package.json +1 -1
|
@@ -35,11 +35,11 @@ be a correct, complete, maintainable solution. Write exactly one `candidate-sele
|
|
|
35
35
|
</task_specification>
|
|
36
36
|
|
|
37
37
|
<candidate_1>
|
|
38
|
-
{{
|
|
38
|
+
{{CANDIDATE_1_SUMMARY}}
|
|
39
39
|
</candidate_1>
|
|
40
40
|
|
|
41
41
|
<candidate_2>
|
|
42
|
-
{{
|
|
42
|
+
{{CANDIDATE_2_SUMMARY}}
|
|
43
43
|
</candidate_2>
|
|
44
44
|
|
|
45
45
|
<constraints>
|
|
@@ -47,11 +47,18 @@ be a correct, complete, maintainable solution. Write exactly one `candidate-sele
|
|
|
47
47
|
- Judge only from `<candidate_1>` and `<candidate_2>` above — do not attempt to read either candidate's
|
|
48
48
|
actual diff, branch, or working tree, even if you have the technical means to. The two summaries are
|
|
49
49
|
the entire evidence base by design.
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
- Each summary has the same fields. `Verify outcome` and `Diff` are measured by the harness: the outcome is
|
|
51
|
+
the result of the project's verify script on that candidate's tree (`success`, `failed`, `skipped` when no
|
|
52
|
+
verify script is configured, or `spawn-error` when the script could not start), followed in parentheses by
|
|
53
|
+
an attribution against the pre-task baseline — `clean` (passed and was passing before), `regressed`
|
|
54
|
+
(passed before, fails now), `baseline-broken` (was already failing and still is), `fixed-baseline` (was
|
|
55
|
+
failing, now passes). A green script shows existing checks pass, not that the task's criteria are met.
|
|
56
|
+
`Proposed commit`, `Changes claimed` (the last 5) and `Notes` (the last 3) are the candidate's own words.
|
|
57
|
+
- Weigh a measured verify outcome, and a command or test result a candidate cites, above
|
|
58
|
+
an unverified narrative claim of completion.
|
|
59
|
+
- A candidate whose verify outcome failed is not automatically the loser — one that failed on a baseline
|
|
60
|
+
problem, or that is closer to the acceptance criteria, can still beat one that claims full success
|
|
61
|
+
without evidence.
|
|
55
62
|
- When both summaries are similarly strong on verification, prefer the one whose changed-files list stays
|
|
56
63
|
closest to the task's declared scope.
|
|
57
64
|
- When the two are genuinely indistinguishable on the evidence given, declare a tie rather than inventing
|
|
@@ -70,9 +77,9 @@ evidence base. The only file you write is `signals.json`, to the output director
|
|
|
70
77
|
|
|
71
78
|
### Phase 1 — Read both summaries
|
|
72
79
|
|
|
73
|
-
Read `<task_specification
|
|
74
|
-
judgment
|
|
75
|
-
|
|
80
|
+
Read `<task_specification>` and both candidate summaries in full before forming any
|
|
81
|
+
judgment, weighing for each candidate what it attempted, its verify outcome, which files it touched, and
|
|
82
|
+
its notes and claimed changes.
|
|
76
83
|
|
|
77
84
|
### Phase 2 — Compare against the task
|
|
78
85
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ralphctl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.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",
|