mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 07:05:57 +03:00
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#189
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?
📋 Pull Request Information
Original PR: https://github.com/mikeyobrien/ralph-orchestrator/pull/192
Author: @mikeyobrien
Created: 2/25/2026
Status: ❌ Closed
Base:
main← Head:fix/default-publishes-cascade-187📝 Commits (1)
ffaaf1etest: add cascade reproduction test and code task for #187📊 Changes
2 files changed (+253 additions, -0 deletions)
View changed files
➕
.ralph/tasks/fix-default-publishes-cascade.code-task.md(+117 -0)📝
crates/ralph-core/src/event_loop/tests.rs(+136 -0)📄 Description
Summary
Adds a reproduction test and structured code-task for issue #187:
default_publishescascades toLOOP_COMPLETEwhen agent writes no events in worktree loops, completing the loop with zero work done.What's included
Integration test:
test_default_publishes_cascade_on_silent_agentDrives the
EventLoopthrough a 3-hat chain (track_builder→security_reviewer→track_reviewer) where:default_publishesconfiguredLOOP_COMPLETEThe test documents the bug — assertions will be flipped when the fix lands.
Code task:
fix-default-publishes-cascade.code-task.mdFix design synthesized from 3 independent model analyses (o3, Sonnet 4, Gemini 3.1):
Layer 1 — Runtime cascade guard:
consecutive_default_publishes: u32counter inLoopStateCascadingDefaultstermination when threshold (1) exceededLayer 2 — Config validation:
default_publishes == completion_promiseat config load timedefault_publishesis set toLOOP_COMPLETE(almost always a mistake)Acceptance criteria (9 items)
See the code-task file for the full checklist.
Testing
check_node_rejects_old_versionweb.rs flaketest_default_publishes_cascade_on_silent_agent) exercises the exact bug pathRefs: #187
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.