mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 23:25:57 +03:00
[GH-ISSUE #89] Preset YAML files use deprecated XML event format instead of ralph emit #34
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @memyselfandm on GitHub (Jan 21, 2026).
Original GitHub issue: https://github.com/mikeyobrien/ralph-orchestrator/issues/89
Summary
Several built-in preset YAML files contain instructions showing an XML-style event format (
<event topic="...">) in their hat instructions. This is incorrect - the actual event system usesralph emitCLI command which writes JSONL to.agent/events.jsonl.The core
HatlessRalphprompt correctly documents the format:But the presets show XML that will not be parsed by the event loop.
Affected Files
1.
crates/ralph-cli/presets/refactor.ymlLines 41-49, 62, 89, 92:
step: [step description] tests: pass clippy: pass ```Publish
<event topic="refactor.blocked">with failure detailsPublish
<event topic="verify.passed">Publish
<event topic="verify.failed">with details3.
crates/ralph-cli/presets/feature.ymlLines 40-49, 64, 85, 88-96:
tests: pass lint: pass typecheck: pass ```Publish
section: [section name] file: [path/to/doc.md] ```<event topic="build.blocked">with what you triedPublish
<event topic="review.approved">Publish
<event topic="review.changes_requested">Publish
tests: pass Summary of what was implemented ```<event topic="review.revision">with specific feedback.Publish
<event topic="review.done">When blocked and unable to proceed:
For structured data:
@mikeyobrien commented on GitHub (Jan 22, 2026):
This issue has been resolved. All affected preset files have been updated to use
ralph emitCLI syntax instead of the deprecated XML event format:Fixed files:
refactor.yml- Now usesralph emit "refactor.done" "step: ..."pr-review.yml- Now usesralph emit "correctness.done" --json '...'for structured datafeature.yml- Now usesralph emit "build.done" "tests: pass, ..."docs.yml- Now usesralph emit "write.done" "section: ..."minimal/code-assist.yml- Now usesralph emit "build.done" "..."All event examples are consistent with the HatlessRalph EVENT WRITING section documented in PROMPT.md.