conversation-flush-jsonl-transcript-pipeline

Claude Code session transcripts are stored as JSONL at ~/.claude/projects/<project-hash>/<session_id>.jsonl with standard message.role + message.content structure. The transcript-capture Stop and PreCompact hooks read session_id and transcript_path from stdin (hook context), spawn conversation-flush.py as a detached background process, which uses the Agent SDK to extract 3-10 insights and submit them to vault. Cost is ~$0.02-0.05 per session.