Skip to content
context Artifact [0186121bd6]
Login

Artifact [0186121bd6]

Artifact 0186121bd6e51de8aa807e65b0dbd99f5f32fff9b2149642da886fc7b87ed7cc:


context

ctx keeps agent sessions and knowledge durable, shares them between people and machines, and makes them cheap to search. It is being built as one C binary on SQLite and libfossil. So far it creates its database and extracts agent transcripts; the archive and search come next.

What is here

Source documents are check-ins, the compiled wiki is Fossil wiki in Markdown, work items are tickets, and session transcripts are technotes in a per-person repository.

Building

make builds ./ctx from the SQLite and libfossil sources in vendor/, and make test checks it. It needs a C compiler and zlib.

The bench

bench/run.sh reads pinned corpus copies and their labels from ~/projects/ctx-corpora (or CTX_CORPORA). It needs ripgrep and a sqlite3 that can load extensions, so on macOS use Homebrew's rather than /usr/bin/sqlite3.