pub struct Namespaces {
pub episodic: NamespacePolicy,
pub semantic: NamespacePolicy,
pub procedural: NamespacePolicy,
pub failure: NamespacePolicy,
}Expand description
The four kinds of thing worth remembering.
Splitting them is what makes differing retention defensible. Episodes are cheap and disposable; procedures are expensive and load-bearing. One retention policy across both either throws away what the loop learned or keeps every transcript forever.
Fields§
§episodic: NamespacePolicyWhat happened: dispatches, outputs, verdicts. Written always, promoted never — an episode is evidence for a belief, not a belief.
semantic: NamespacePolicyStable facts about the domain the loop works in.
procedural: NamespacePolicyReusable ways of doing things that have worked before.
failure: NamespacePolicyKnown failure modes and what got past them. Promoted automatically: having hit a wall is self-evidencing, and the cost of re-learning it is the whole reason the section exists.
Trait Implementations§
Source§impl Clone for Namespaces
impl Clone for Namespaces
Source§impl Debug for Namespaces
impl Debug for Namespaces
Source§impl Default for Namespaces
impl Default for Namespaces
Source§impl<'de> Deserialize<'de> for Namespaces
impl<'de> Deserialize<'de> for Namespaces
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
Source§impl JsonSchema for Namespaces
impl JsonSchema for Namespaces
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for Namespaces
impl RefUnwindSafe for Namespaces
impl Send for Namespaces
impl Sync for Namespaces
impl Unpin for Namespaces
impl UnsafeUnpin for Namespaces
impl UnwindSafe for Namespaces
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