You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add file logging for agent daemon + crash handler
With console=False, stderr goes to devnull — all logging was lost and
crashes were invisible. Now:
1. setup_logging() adds a RotatingFileHandler (agent.log, 5MB, 3 backups)
alongside the console handler. On Windows: %LOCALAPPDATA%\Orchestratia\logs\
On Linux: /var/log/orchestratia or ~/.local/state/orchestratia/logs/
2. entry_point() wraps asyncio.run(main()) in try/except that writes
unhandled exceptions to crash.log — essential for diagnosing silent
crashes when running as a background daemon.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>