What Happened
- Aider now wraps `Path(...).is_dir()`/`resolve()` calls in three `main.py` validation paths with `try/except OSError`, so malformed or overlong paths (including those arising from large `--system-prompt` values) no longer crash the CLI with tracebacks and instead emit a warning and continue.
- Aider now wraps `Path(...).is_dir()`/`resolve()` calls in three `main.py` validation paths with `try/except OSError`, so malformed or overlong paths (including those arising from large `--system-prompt` values) no longer crash the CLI with tracebacks and instead emit a warning and continue.
- 1 evidence item attached for review.