pub struct HandoffDocument {
pub current_task: String,
pub key_decisions: Vec<String>,
pub files_paths: Vec<String>,
pub errors_fixes: Vec<String>,
pub pending_work: Vec<String>,
pub recovery_hints: Vec<String>,
pub file_index: Vec<String>,
}Expand description
Structured handoff document used to recover work after compaction.
Fields§
§current_task: StringCurrent task being pursued.
key_decisions: Vec<String>Key decisions that should be preserved.
files_paths: Vec<String>Relevant files and paths.
errors_fixes: Vec<String>Errors encountered and fixes applied.
pending_work: Vec<String>Work that remains pending.
recovery_hints: Vec<String>Hints for recovering context.
file_index: Vec<String>Mechanical index of on-disk materials produced during the compacted
conversation (outputs/, artifacts/), each annotated with the
originating command’s description.
Built by the framework, not the LLM: it tells the model after compaction exactly which results already live on disk so it re-reads files instead of re-running the work.
Implementations§
Trait Implementations§
Source§impl Clone for HandoffDocument
impl Clone for HandoffDocument
Source§fn clone(&self) -> HandoffDocument
fn clone(&self) -> HandoffDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandoffDocument
impl Debug for HandoffDocument
Source§impl<'de> Deserialize<'de> for HandoffDocument
impl<'de> Deserialize<'de> for HandoffDocument
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HandoffDocument
Source§impl PartialEq for HandoffDocument
impl PartialEq for HandoffDocument
Source§impl Serialize for HandoffDocument
impl Serialize for HandoffDocument
impl StructuralPartialEq for HandoffDocument
Auto Trait Implementations§
impl Freeze for HandoffDocument
impl RefUnwindSafe for HandoffDocument
impl Send for HandoffDocument
impl Sync for HandoffDocument
impl Unpin for HandoffDocument
impl UnsafeUnpin for HandoffDocument
impl UnwindSafe for HandoffDocument
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> ⓘ
Converts
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> ⓘ
Converts
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