Documentation
¶
Overview ¶
Package transcript reads Claude Code session transcripts (JSONL) and extracts deterministic signal windows for the learning miner — the zero-LLM stage 0 that decides whether a session is worth any model call at all.
The transcript format is undocumented and shifts across Claude Code versions, so all format knowledge is isolated here and every decode is permissive: unknown line types are skipped, a malformed line never fails the file (plan §learning risk).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
type Entry struct {
Role string // "user" | "assistant"
Text string // concatenated text content (typed prompts, replies)
ToolErrors []string // is_error tool_result payloads (rejections, failures)
}
Entry is one normalized conversation turn.
Click to show internal directories.
Click to hide internal directories.