ralph-claude-code/tests/unit
Test User 4027ac929a fix(live-mode): crash with text output format (#164)
Live/monitor mode crashed with `stdbuf: unrecognized option '--verbose'`
when CLAUDE_OUTPUT_FORMAT="text" because build_claude_command() was only
called inside a JSON-only gate, leaving CLAUDE_CMD_ARGS empty.

Three coordinated fixes:
- Override text→json when live mode is active (stream-json requires JSON)
- Always call build_claude_command() regardless of output format
- Add safety check for empty CLAUDE_CMD_ARGS before live mode construction

Also updates help text for --live and --output-format to document the
auto-switch behavior.
2026-02-07 11:03:39 -07:00
..
test_circuit_breaker_recovery.bats feat(circuit-breaker): add auto-recovery from OPEN state (#160) 2026-02-07 01:33:41 -07:00
test_cli_modern.bats fix(live-mode): crash with text output format (#164) 2026-02-07 11:03:39 -07:00
test_cli_parsing.bats fix(setup): create .ralphrc with consistent tool permissions (#137) 2026-01-28 21:10:02 -07:00
test_enable_core.bats refactor(naming): remove @ prefix from on-disk filenames (#131) 2026-01-26 15:40:27 -07:00
test_exit_detection.bats fix: progress detection improvements (#141, #144) (#158) 2026-02-02 11:30:17 -07:00
test_json_parsing.bats fix: extract denied commands from correct JSON path (Issue #143) 2026-02-01 13:43:47 -07:00
test_ralph_enable.bats refactor(naming): remove @ prefix from on-disk filenames (#131) 2026-01-26 15:40:27 -07:00
test_rate_limiting.bats feat(structure): migrate Ralph files to .ralph/ subfolder (#109) 2026-01-20 23:22:30 -07:00
test_session_continuity.bats fix: progress detection improvements (#141, #144) (#158) 2026-02-02 11:30:17 -07:00
test_task_sources.bats feat(enable): add ralph-enable wizard for existing projects (v0.11.0) (#124) 2026-01-25 14:37:25 -07:00
test_wizard_utils.bats fix(wizard): redirect prompts to stderr for clean command substitution (#130) 2026-01-26 14:47:06 -07:00