1.4 KiB
1.4 KiB
Ralph-Loop Extension Fixes
Objective: Fix critical bugs preventing /ralph resume from working — broken CLI flags, unthreaded context, missing config, and TUI crash.
Status legend: [ ] todo, [~] in-progress, [x] done
Tasks
- 01 — Fix
loadConfigto return defaults gracefully when.ralph/config.yamlis missing →01-fix-loadconfig-graceful-default.md - 02 — Replace
spawnPiwith--printmode and stdin piping →02-fix-spawnpi-print-mode.md - 03 — Replace
sendMessagewithctx.uiprogress API →03-replace-sendmessage-with-ctx-ui.md - 04 — Thread
ExtensionCommandContextthroughexecuteBatch→04-thread-ctx-through-execute-batch.md - 05 — Fix sequential mode batch labels →
05-fix-sequential-mode-labels.md - 06 — Simplify
parseToolUsagefor plain text output →06-simplify-parsertoolsusage.md
Dependencies
- 02 depends on nothing (standalone utils fix)
- 03 depends on 04 (needs ctx available in executor)
- 04 depends on nothing (standalone plumbing fix)
- 05 depends on 04 (executor changes)
- 06 depends on 02 (output format changes from --print)
Exit criteria
/ralph resumeruns without errors in a project with no.ralph/config.yaml- Pi subprocess spawns successfully with
--printmode - Progress messages display via
ctx.uiwithout TUI crash - All batch execution paths receive context parameter