pub struct ReasoningStrategy {
pub id: String,
pub summary: String,
pub outcome: Outcome,
pub task_hint: String,
pub created_at: i64,
pub last_used_at: i64,
pub use_count: i64,
pub embedded_at: Option<i64>,
}Expand description
A distilled reasoning strategy row from the reasoning_strategies table.
Constructed after a successful self-judge + distillation pipeline run.
Persisted in SQLite and (when Qdrant is available) indexed as a vector embedding.
Fields§
§id: StringUUID v4 primary key.
summary: StringDistilled strategy summary (≤ 3 sentences, ≤ 512 chars).
outcome: OutcomeWhether the agent succeeded or failed on the source turn.
task_hint: StringOne-sentence description of the task that produced this strategy.
created_at: i64Unix timestamp (seconds) when this strategy was created.
last_used_at: i64Unix timestamp (seconds) of the last retrieval.
use_count: i64Number of times this strategy has been injected into context.
embedded_at: Option<i64>Unix timestamp (seconds) when the Qdrant embedding was created.
None means this row has not been embedded yet (Qdrant was unavailable at insert time).
Trait Implementations§
Source§impl Clone for ReasoningStrategy
impl Clone for ReasoningStrategy
Source§fn clone(&self) -> ReasoningStrategy
fn clone(&self) -> ReasoningStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReasoningStrategy
impl RefUnwindSafe for ReasoningStrategy
impl Send for ReasoningStrategy
impl Sync for ReasoningStrategy
impl Unpin for ReasoningStrategy
impl UnsafeUnpin for ReasoningStrategy
impl UnwindSafe for ReasoningStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request