Skip to main content

Module git_session

Module git_session 

Source
Expand description

Git-backed session store — conversation trees with fork/lineage/leaves

Each pawan session is a git commit in a bare repo. Branching conversations = forking from any commit in the DAG.

Uses libgit2 (git2-rs). Future: layer jj (Jujutsu) as porcelain on top.

Inspired by Karpathy’s AgentHub (bare git DAG) and Yegge’s Beads (git-backed memory).

Structs§

CommitInfo
Summary of a git-backed session commit
GitSessionStore
Git-backed session store using a bare repo at ~/.pawan/repo/