ralph-claude-code/lib
Test User 3ed0a9d9ff fix(date): improve cross-platform date command compatibility
Fixes date command errors on macOS with Homebrew GNU coreutils:
- 'date: invalid option -- v' when GNU date runs BSD syntax
- 'syntax error in expression' when stat returns filesystem metadata

Changes:
- Replace uname-based detection with capability detection (try/fallback)
- Try GNU commands first, fall back to BSD, then ultimate fallbacks
- Add date -r fallback for file mtime (most portable)

This handles mixed environments where uname returns "Darwin" but
GNU coreutils are in PATH from Homebrew.

Credit: @farce1 (PR #119)
2026-02-02 09:39:39 -07:00
..
circuit_breaker.sh feat(circuit-breaker): allow configuring thresholds via environment variables 2026-02-02 09:36:48 -07:00
date_utils.sh fix(date): improve cross-platform date command compatibility 2026-02-02 09:39:39 -07:00
enable_core.sh refactor(naming): remove @ prefix from on-disk filenames (#131) 2026-01-26 15:40:27 -07:00
response_analyzer.sh fix: extract denied commands from correct JSON path (Issue #143) 2026-02-01 13:43:47 -07:00
task_sources.sh fix: beads task import uses correct bd list arguments (#150) 2026-02-01 12:53:01 -07:00
timeout_utils.sh Add timeout command support for macOS (#108) 2026-01-20 18:40:21 -07:00
wizard_utils.sh fix(wizard): redirect prompts to stderr for clean command substitution (#130) 2026-01-26 14:47:06 -07:00