After the Python-to-TypeScript migration (Vercel AI SDK v6), the planning phase produces error entries in task_logs.json with completely empty detail fields.
Steps to Reproduce
- Create a task (from any source - manual, GitHub, GitLab, or JIRA)
- Start the task (moves to planning phase)
- Planning phase completes with errors
- Check Logs tab - error entries show red 'error' badges with no message
Expected
Error entries should contain the actual error message (e.g., rate limit, auth failure, tool error) so users can diagnose and fix the issue.
Actual
All error entries have empty detail fields:
{"type": "error", "phase": "planning", "detail": ""}
Environment
- Aperant 2.8.0-beta.1
- Claude Code subscription (OAuth, not API key)
- Claude CLI 2.1.81 works fine independently
- macOS
Analysis
The issue appears to be in the agent session runner or worker bridge - errors are caught but the message string is not passed through to the task log entry. The Claude CLI itself works (tested with claude -p 'say hello').
This affects all task types, not just a specific integration.
After the Python-to-TypeScript migration (Vercel AI SDK v6), the planning phase produces error entries in task_logs.json with completely empty detail fields.
Steps to Reproduce
Expected
Error entries should contain the actual error message (e.g., rate limit, auth failure, tool error) so users can diagnose and fix the issue.
Actual
All error entries have empty detail fields:
{"type": "error", "phase": "planning", "detail": ""}Environment
Analysis
The issue appears to be in the agent session runner or worker bridge - errors are caught but the message string is not passed through to the task log entry. The Claude CLI itself works (tested with
claude -p 'say hello').This affects all task types, not just a specific integration.