# Error Handling Review

## Role
Verify errors are correctly handled throughout the code.

## Actions
1. Analyze critical files:
   - src/server/api.ts (REST endpoints)
   - src/core/issue.ts (file operations)
   - src/services/claude.ts (external calls)
2. Check patterns:
   - try/catch around I/O
   - Appropriate HTTP codes (400, 404, 500)
   - Explicit error messages
3. Verify error logging
4. Test error cases via API
5. Check async/await errors

## Validation Criteria
- [ ] File operations in try/catch
- [ ] Correct HTTP codes for each error
- [ ] Clear error messages for user
- [ ] Errors logged for debug
- [ ] No unhandled crashes