Claude Transcripts docs GitHub
Work in progressUnder active development — not tested as ready for use. Breaking changes land without notice, stored data may need to be discarded between revisions, and there is no auth or security model. These docs describe the intended design as much as the current state.

Application & operational logging

Status: specified, not yet built (placeholder schema). Decision recorded in ADR 0018.

The system's own logs — failures, errors, diagnostics from the webapi, webui, CLI, and hook — are aggregated into CouchDB, in a database separate from the session data (e.g. app-logs alongside claude-sessions). This is distinct from the session corpus the product captures; keeping it in its own DB keeps operational noise out of the session views.

Why CouchDB again

How it flows

Record shape (placeholder)

To be finalised. Anticipated fields:

{
  "type": "log",
  "ts": "…",                 // explicit timestamp (CouchDB doesn't stamp wall-clock)
  "level": "error",          // debug | info | warn | error
  "component": "webapi",     // webapi | webui | cli | hook
  "session_id": "…",         // optional correlation to a session
  "message": "…",
  "context": { /* arbitrary */ }
}

Open questions (placeholder)