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.

18. Application/operational logs go to CouchDB (separate database)

Date: 2026-06-18

Status

Accepted

Context

The system itself — webapi, webui, CLI, hook — produces operational logs (failures, errors, diagnostics). These are distinct from the session data the product is about. We need somewhere to aggregate them, and we'd rather not add a new piece of infrastructure when we already run a document store with an HTTP API.

Decision

Aggregate the application's own logs into CouchDB, in a separate database from the session data (e.g. app-logs alongside claude-sessions). All components — webapi, webui (client errors shipped via the webapi), CLI, hook — write their operational log/error records there, through the webapi (per ADR 0016).

Consequences