prdddDocsOpen viewer ↗

cairn.db

.cairn/cairn.db is the local SQLite store for session records, raw usage reports, anchored notes, planning decisions and the operation journal. A session row associates a task with its redacted log, redactions, timestamps and any recorded model or agent. Notes can attach review findings to a location in the trace.

Initialization adds the database to the repository’s ignore rules. Store secrets outside the logs you submit. Use prd session put --task <id> to store a session log from stdin; --id <session> names it, and one is generated without it. Add --usage <file> to store the redacted provider usage report alongside it. Use prd note to create or resolve notes and the viewer to inspect the session linked from a commit. The manifest and append-only event log live alongside the database and have their own file formats.