pub struct BundleVersion {
pub id: String,
pub bundle_id: String,
pub name: String,
pub instructions: String,
pub content_hash: String,
pub parent_version_id: Option<String>,
pub source: String,
pub source_detail: String,
pub written_by: String,
pub written_by_uid: String,
pub created_at: i64,
}Expand description
One version of one bundle’s Global Memory content, including its full
name/instructions. Deliberately no serde derives, same as
NativeMemoryVersion — a wire type belongs in rpc_types, not here.
Fields§
§id: String§bundle_id: String§name: String§instructions: String§content_hash: String§parent_version_id: Option<String>§source: String§source_detail: String§written_by: StringThe TRUSTED writer identity — an agent’s own AGENTMUX_AGENT_ID
(unforgeable, stamped server-side by the caller of
bundle_upsert_with_version, never read from caller-supplied
source/source_detail) or "armory-ui" for a write through the
human-facing Memory editor. Distinct from source on purpose
(codex P2, PR #3237): source is free-form annotation the caller
can say anything in (an agent could label its own write
source: "human"), so it alone cannot answer “who actually made
this change” — this field is what a reviewer should trust for that.
written_by_uid: StringIdentity M4c-1 (SPEC_AGENT_IDENTITY_CARRIED_NOT_DERIVED_2026_09_23.md
§6.5.9): the writer’s UID beside written_by, taken from the
request’s Caller — its X-Agent-Token — never from a body field.
Empty = unknown: an Unattributed write, the Memory pane, a seeder.
Dual-written; nothing branches on it.
created_at: i64Trait Implementations§
Source§impl Clone for BundleVersion
impl Clone for BundleVersion
Source§fn clone(&self) -> BundleVersion
fn clone(&self) -> BundleVersion
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 BundleVersion
impl Debug for BundleVersion
Source§impl PartialEq for BundleVersion
impl PartialEq for BundleVersion
impl StructuralPartialEq for BundleVersion
Auto Trait Implementations§
impl Freeze for BundleVersion
impl RefUnwindSafe for BundleVersion
impl Send for BundleVersion
impl Sync for BundleVersion
impl Unpin for BundleVersion
impl UnsafeUnpin for BundleVersion
impl UnwindSafe for BundleVersion
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
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> ⓘ
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