Extract structured metadata (topics, decisions, blockers, tools_used,
projects, issue_keys) from session summaries using Haiku at session end.
Metadata stored in JSONB column with GIN index for filtered retrieval.
session_semantic_search now accepts optional metadata filters.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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>