Ghost non-blockingly records Claude Code sessions as markdown, attaches them to commits via git notes, and indexes them into QMD for semantic search. The agent can query its own history, learn from ...