pub enum TrajectoryStepKind {
Hypothesis,
Tried,
RuledOut,
Observed,
Refined,
}Expand description
v0.50: Trajectory as a first-class kernel object.
The eighth essay primitive: “the search path that produced the finding, so the next agent does not re-derive what the last one already ruled out, with the caveat that this primitive will be deposited last and most thinly because labs have real reasons not to expose dead ends.”
A Trajectory records the ordered steps a researcher or agent
took on the way to a finding (or nowhere): hypotheses considered,
branches tried, branches ruled out and why. Steps are append-only
in the canonical event log via trajectory.step_appended events;
the materialized steps collection is reproduced by replay from
genesis.
vtr_<id> is content-addressed over `target_findings + deposited_by
- created
— fixed at creation, so appending steps doesn't mint a new id. Idempotent on duplicatevtr_id` at create time, idempotent on duplicate step content-addresses at append time.
Variants§
Hypothesis
A candidate explanation or direction the researcher considered.
Tried
A specific experiment, analysis, or path the researcher tried.
RuledOut
A branch the researcher excluded, with reason. The most information-dense step kind for downstream agents.
Observed
A neutral observation that constrained the search without confirming or ruling out a branch.
Refined
A refinement of an earlier hypothesis or condition.
Implementations§
Trait Implementations§
Source§impl Clone for TrajectoryStepKind
impl Clone for TrajectoryStepKind
Source§fn clone(&self) -> TrajectoryStepKind
fn clone(&self) -> TrajectoryStepKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TrajectoryStepKind
impl Debug for TrajectoryStepKind
Source§impl<'de> Deserialize<'de> for TrajectoryStepKind
impl<'de> Deserialize<'de> for TrajectoryStepKind
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>,
Source§impl PartialEq for TrajectoryStepKind
impl PartialEq for TrajectoryStepKind
Source§fn eq(&self, other: &TrajectoryStepKind) -> bool
fn eq(&self, other: &TrajectoryStepKind) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for TrajectoryStepKind
impl Serialize for TrajectoryStepKind
impl Eq for TrajectoryStepKind
impl StructuralPartialEq for TrajectoryStepKind
Auto Trait Implementations§
impl Freeze for TrajectoryStepKind
impl RefUnwindSafe for TrajectoryStepKind
impl Send for TrajectoryStepKind
impl Sync for TrajectoryStepKind
impl Unpin for TrajectoryStepKind
impl UnsafeUnpin for TrajectoryStepKind
impl UnwindSafe for TrajectoryStepKind
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,
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
key and return true if they are equal.