mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 15:15: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#172
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/158
Author: @mikeyobrien
Created: 2/5/2026
Status: ❌ Closed
Base:
main← Head:fix/157-dead-code-and-diagnostics📝 Commits (10+)
92dd44brefactor: global rename ralph -> hats61c91cbfeat: add backward-compatible config fallback for ralph migration6062baddocs: update backlog with completed items and issue triage5a48168fix: relax bench_get_for_topic_baseline threshold for debug/ARM buildsa362023chore: gitignore .ralph/ runtime artifacts from pre-rename runsb131a4bdocs: add ralph-to-hats migration guide24d45e1docs: update BACKLOG with completed P1 communication items0c605effeat: add BDD preset and proof artifact infrastructure7bb9e8cfeat: wire proof generation into loop completion handlerd2fcff0docs: update BACKLOG with BDD/proof infrastructure progress📊 Changes
781 files changed (+10655 additions, -44994 deletions)
View changed files
📝
.claude/agents/code-assist.md(+1 -1)📝
.claude/agents/ralph-e2e-verifier.md(+18 -18)📝
.claude/agents/ralph-loop-runner.md(+12 -12)📝
.claude/skills/code-task-generator/SKILL.md(+5 -5)📝
.claude/skills/create-hat-collection/SKILL.md(+7 -7)📝
.claude/skills/evaluate-presets/SKILL.md(+6 -6)📝
.claude/skills/find-code-tasks/SKILL.md(+4 -4)📝
.claude/skills/pdd/SKILL.md(+8 -8)📝
.claude/skills/playwriter/SKILL.md(+1 -1)📝
.claude/skills/ralph-operations/SKILL.md(+52 -52)📝
.claude/skills/release-bump/SKILL.md(+9 -9)📝
.claude/skills/test-driven-development/SKILL.md(+3 -3)📝
.claude/skills/tmux-terminal/SKILL.md(+13 -13)📝
.claude/skills/tui-validate/SKILL.md(+27 -27)📝
.github/ISSUE_TEMPLATE/bug_report.yml(+6 -6)📝
.github/ISSUE_TEMPLATE/config.yml(+2 -2)📝
.github/ISSUE_TEMPLATE/feature_request.yml(+3 -3)📝
.github/ISSUE_TEMPLATE/question.yml(+6 -6)📝
.github/workflows/ci.yml(+6 -6)📝
.github/workflows/release.yml(+10 -10)...and 80 more files
📄 Description
Summary
Follow-up to
fa8cd62which fixed the core infinite loop bug in #157. This PR addresses cleanup and diagnostics identified in the root cause analysis.Changes
1. Remove dead code:
check_default_publishesandrecord_event_countThese methods in
EventLoopwere never called fromloop_runner.rs. They only had callers in unit tests testing their own behavior. This is misleading dead code -- a contributor could reasonably assumedefault_publisheswas wired into the loop when it wasn't.event_loop/mod.rsevent_loop/tests.rsdefault_publishesremains a valid config field; a future PR can wire it back in properly if desired2. Improve fallback exhaustion error message
Before:
After:
This directly addresses the #157 reporter's confusion -- they were using a free-tier model (kimi-k2.5-free) that likely can't invoke
hats emit.3. Add no-progress detection warning
New counter
consecutive_no_progresstracks iterations where the agent produces no JSONL events. At 5 consecutive empty iterations, logs a warning:Fires once per streak (uses
==not>=) to avoid log spam. Resets when real events arrive.Testing
cargo build-- cleancargo test -p hats-core -p hats-cli-- all pass (1 pre-existing flaky test on Termux unrelated)cargo clippy-- no new warningsRefs
fa8cd62🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.