All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
This changelog is automatically generated by AI when releases are published.
- Telemetry Streams System: New transcript-based telemetry system for improved session tracking and metrics
- New
transcripts.dbdatabase for managing AI agent sessions and watermarks - Unified
WatermarkStrategyabstraction supporting multiple tracking methods (byte offset, record index, timestamp, hybrid) - Long-lived
TranscriptWorkerin daemon with polling-based modification detection - Incremental historical transcript processing for existing sessions
- Session/trace ID linking in metrics events for server-side correlation and analysis
- Trailing message capture: messages after last tool call are now recorded in telemetry
- Support for multiple agent formats: Claude Code, Cursor, Droid, GitHub Copilot
- New
- Enhanced Metrics Schema:
session_idfield added to all metrics events (required, unique per agent conversation)trace_idfield added to checkpoint and commit events (nullable, links related operations)tool_use_idfield added to checkpoint events (nullable, tracks specific tool invocations)- Enables server-side analysis of conversation flows, tool usage patterns, and session lifecycles
- Internal DB Migration: Existing
internal.dbinstallations automatically migrate totranscripts.dbon daemon startup- Historical prompt records are converted to session records
- Watermarks initialized for incremental processing of existing transcripts
internal_dbmodule retained for backward compatibility but marked deprecated
internal_dbmodule: Now deprecated in favor oftranscriptsmodule- All new installations use
transcripts.db - Existing installations migrate automatically
- Module retained only for migration purposes
- All new installations use
- Architecture: Three-component design with transcripts module, TranscriptWorker daemon task, and enhanced metrics schema
- Processing Model: 1-second polling interval for transcript modifications, priority queue for checkpoint notifications
- Watermarking: Per-agent configurable strategies handle diverse transcript formats (append-only JSONL, SQLite databases, etc.)
- Migration Safety: Automatic and idempotent, preserves all historical data
For detailed design rationale and implementation notes, see docs/superpowers/specs/2026-04-29-telemetry-streams-design.md.