mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 07:05:57 +03:00
[GH-ISSUE #139] Completion promise detected immediately after direction.set (loop terminates after 1 iteration) #53
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#53
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 @douglaz on GitHub (Jan 31, 2026).
Original GitHub issue: https://github.com/mikeyobrien/ralph-orchestrator/issues/139
Summary
Ralph loop terminates immediately after emitting
direction.set, even when completion promise is restricted toLOOP_COMPLETEor disabled. This prevents the driver/observer hats from running.Environment
Config
Using a simple rotating-hats config (navigator → driver → observer). Navigator emits
direction.set.Navigator instructions updated to explicitly choose exactly one of
direction.setorLOOP_COMPLETE, and output nothing afterdirection.set. Still terminates.Commands tried
Expected
After navigator emits
direction.set, driver hat should run.Actual
Loop terminates right after
direction.setwith:Even when completion promise is empty or set to
LOOP_COMPLETE.Evidence (log tail)
Right after emitting direction.set:
Notes
--completion-promise.@mikeyobrien commented on GitHub (Jan 31, 2026):
Fixed in PR #141 (completion via event only).