Add rerank() function calling LiteLLM /v1/rerank endpoint (Cohere-compatible).
Plugged into all 3 search functions (sessions, session-docs, archives) after
RRF merge. Disabled by default via RERANK_ENABLED env var. Graceful fallback
to RRF-only ranking on API failure.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sessions now auto-create CF Jira issues on start and post full session
output as comments on end, transitioning the issue to Done.
- Add src/services/jira.ts with createSessionIssue, addComment, transitionToDone
- Update session_start to create CF Jira issue and store key in sessions table
- Update session_end to post session output and close Jira issue
- Add migration 031 to archive local task tables (moved to Jira Cloud)
- Update .env.example with Jira Cloud env vars
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>