pub struct Talk {Show 27 fields
pub schema: u32,
pub id: String,
pub repo: PathBuf,
pub agent: String,
pub status: TalkStatus,
pub goals: Vec<Goal>,
pub turns: Vec<Turn>,
pub title: Option<ChatTitle>,
pub selected_goal: Option<String>,
pub title_attempted_at: Option<usize>,
pub retired_recommendations: Option<IgnoredAny>,
pub posts_read_through: Option<usize>,
pub pending: String,
pub pending_attachments: Vec<Attachment>,
pub pending_breaks: Option<Vec<usize>>,
pub pending_messages: Vec<Message>,
pub fallback: bool,
pub persona: String,
pub persona_dirty: bool,
pub implementers: u8,
pub implementers_dirty: bool,
pub notified: Vec<String>,
pub notice_receipts: Vec<String>,
pub completion_notices: Vec<CompletionReference>,
pub external_requests: Vec<Request>,
pub created_at: Timestamp,
pub updated_at: Timestamp,
/* private fields */
}Expand description
One standing conversation.
Fields§
§schema: u32On-disk format version.
id: StringConversation id, e.g. 20260904-014455-ab12.
repo: PathBufRepository this conversation is about.
agent: StringRoster agent id holding the conversation.
status: TalkStatusCurrent state.
goals: Vec<Goal>Independent durable owner-authorized follow-through goals.
turns: Vec<Turn>Everything said, oldest first.
title: Option<ChatTitle>Durable title; absent records retain the opener display.
selected_goal: Option<String>Goal selected for compact presentation.
title_attempted_at: Option<usize>Exclusive transcript boundary of the last title attempt, including failures.
retired_recommendations: Option<IgnoredAny>Retired recommendation snapshots. Older records still carry the key and
deny_unknown_fields would refuse them, so it is read and dropped,
never written back.
posts_read_through: Option<usize>Exclusive transcript boundary included in the last successful CLI prompt. Posts at or beyond it still need replay, even if a reply follows them. Missing on older records, which infer it from the last non-post reply.
pending: StringText and attachments accepted while the single CLI turn is busy.
They are durable, but become a real turn only when drain records them.
pending_attachments: Vec<Attachment>Attachments paired with Self::pending.
pending_breaks: Option<Vec<usize>>Message boundaries inside Self::pending, as Turn::breaks.
pending_messages: Vec<Message>Individual sends waiting to be drained.
fallback: boolMay a failed turn fall back through the rest of [roles] chatter?
True only while the agent was chosen by that chain; an explicit
--agent or an operator’s switch pins the conversation to its agent
even when that agent also appears in the chain.
persona: StringPersona id (see crate::persona); empty is the plain default voice.
Independent of Self::agent: it survives an agent switch.
persona_dirty: boolThe persona changed after the CLI session was last told about it. The next resumed turn carries a persona update; cleared only once a turn has succeeded (a fresh seat’s briefing already holds the new persona).
implementers: u8How many implementers the tasks this chat files use (1..=3; 1 is
--solo). Only the briefing’s wording changes; nothing enforces it.
implementers_dirty: boolSelf::implementers changed after the CLI session was last told;
cleared only once a turn has succeeded, like Self::persona_dirty.
notified: Vec<String>Keys of task-completion notices already accepted into this talk (see
queue_once). Kept beside Self::pending and saved in the same
write, so a crash between this talk and the task’s own record cannot
post twice; never pruned by a drain or a close.
notice_receipts: Vec<String>Semantic automatic-delivery receipts; retained for the life of this talk.
completion_notices: Vec<CompletionReference>Automatic notice references, saved atomically with their draft and key.
external_requests: Vec<Request>Durable CLI admissions, correlated to exact transcript positions.
created_at: TimestampWhen the conversation was opened.
updated_at: TimestampLast change to this file.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Talk
impl<'de> Deserialize<'de> for Talk
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Forget for Talk
impl Freeze for Talkwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Goal>: Freeze,
PhantomData<Turn>: Freeze,
PhantomData<Attachment>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Message>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Audit>: Freeze,
PhantomData<CompletionReference>: Freeze,
PhantomData<Request>: Freeze,
impl Move for Talk
impl RefUnwindSafe for Talk
impl Send for Talkwhere
RawVecInner: Send,
impl Sync for Talkwhere
RawVecInner: Sync,
impl Unpin for Talk
impl UnsafeUnpin for Talkwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Goal>: UnsafeUnpin,
PhantomData<Turn>: UnsafeUnpin,
PhantomData<Attachment>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Message>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Audit>: UnsafeUnpin,
PhantomData<CompletionReference>: UnsafeUnpin,
PhantomData<Request>: UnsafeUnpin,
impl UnwindSafe for Talkwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more