pub enum MemorySource {
Explicit,
AutoCapture,
Mined,
Doctrine,
}Expand description
How a Memory entered the palace.
Variants§
Explicit
An operator or harness explicitly saved it.
AutoCapture
An auto-capture hook wrote it.
Mined
The miner extracted it from a session transcript.
Doctrine
Doctrine: curated, Git-versioned, PR-reviewed memory mirrored from the repository seed pack. Never written directly by agents — the highest-trust, lowest-write-rate tier.
Implementations§
Source§impl MemorySource
impl MemorySource
Sourcepub fn trust_grade(self) -> u64
pub fn trust_grade(self) -> u64
The Schubert trust grade (codimension) of this tier — the quantitative trust axis. Higher = more trusted. Phase 5 egress filters turn this into intersection arithmetic (“does this content’s grade fit the link’s trust budget?”); Phase 4 keys doctrine-health on it.
Grades fit comfortably inside Gr(4,8)’s 4×4 Schubert box:
| Tier | trust_grade |
|---|---|
AutoCapture | 1 (ambient, unverified) |
Mined | 2 (model-extracted, review-eligible) |
Explicit | 3 (a human deliberately saved it) |
Doctrine | 4 (Git-versioned, PR-reviewed, curated) |
Trait Implementations§
Source§impl Clone for MemorySource
impl Clone for MemorySource
Source§fn clone(&self) -> MemorySource
fn clone(&self) -> MemorySource
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 moreimpl Copy for MemorySource
Source§impl Debug for MemorySource
impl Debug for MemorySource
impl Eq for MemorySource
Source§impl PartialEq for MemorySource
impl PartialEq for MemorySource
impl StructuralPartialEq for MemorySource
Auto Trait Implementations§
impl Freeze for MemorySource
impl RefUnwindSafe for MemorySource
impl Send for MemorySource
impl Sync for MemorySource
impl Unpin for MemorySource
impl UnsafeUnpin for MemorySource
impl UnwindSafe for MemorySource
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