H.Conversation (H v0.3.0)

Copy Markdown View Source

A linear transcript segment, optionally inheriting another conversation's prefix.

parent describes history, never task ownership or process supervision. Own entry IDs are stored newest first for constant-time append.

Summary

Types

t()

@type t() :: %H.Conversation{
  entry_ids: [pos_integer()],
  id: pos_integer(),
  parent: nil | %{conversation_id: pos_integer(), at: pos_integer()}
}