mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-24 22:55:57 +03:00
[PR #207] fix: ACP orphaned processes, garbled TUI, and missing tool details #199
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#199
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/207
Author: @jsamuel1
Created: 2/27/2026
Status: 🔄 Open
Base:
main← Head:fix/acp-orphans-and-tool-display📝 Commits (1)
d3552e8fix: ACP orphaned processes, garbled TUI, and missing tool details (#204)📊 Changes
6 files changed (+644 additions, -59 deletions)
View changed files
📝
crates/ralph-adapters/src/acp_executor.rs(+97 -16)📝
crates/ralph-adapters/src/stream_handler.rs(+62 -7)➕
crates/ralph-adapters/tests/acp_process_cleanup.rs(+241 -0)📝
crates/ralph-cli/src/loop_runner.rs(+16 -0)📝
crates/ralph-cli/src/main.rs(+1 -1)📝
crates/ralph-tui/src/rpc_source.rs(+227 -35)📄 Description
Fixes #204
Summary
Three categories of fixes for the kiro-acp backend:
Orphaned processes
process_group(0)ChildKillGuarddrop guard for cleanup on future cancellationGarbled TUI / subprocess output
JsonRpcStreamHandlerin RPC modeMissing tool details in output
ToolCallnotifications (noraw_input) so only the informative follow-up with parameters and descriptive title showsread,shell,ls,glob,grep) toformat_tool_summaryin both console and TUI handlersraw_inputis missingTests
Root Causes
ToolCallevents per tool — an initial empty notification, then a follow-up with actual data. The first produced[Tool] lswith no details. Additionally,format_tool_summaryonly matched PascalCase Claude names, not lowercase ACP names.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.