Skip to main content

StartupContext

Struct StartupContext 

Source
pub struct StartupContext {
    pub atlas: String,
    pub atlas_budget_used: usize,
    pub skeleton: String,
    pub surface: String,
    pub important: String,
    pub surface_render: SurfaceRenderResult,
    pub coverage: Vec<String>,
    pub omissions: Vec<String>,
    pub artifact: ContextArtifact,
}
Expand description

The startup artifact: atlas + surface + coverage + omissions, with the deterministic artifact hash. surface_render is the SAME render the artifact printed — ledger recording derives visible ids from it, so the surface is never computed twice per startup.

Fields§

§atlas: String§atlas_budget_used: usize

Atlas budget the DELIVERED atlas text was rendered under (normally the loop’s final atlas_budget, or the 256-token essentials budget on the emergency floor). The ledger rebuilds the same pack, so recorded atlas ids never describe undelivered text (§53 coupling).

§skeleton: String

Deterministic physical-layout evidence (repository skeleton), built from the indexed file inventory under its own hard budget.

§surface: String§important: String

IMPORTANT SYMBOLS section (audit item 3): the fast “where do I pay attention first” answer, rendered before the long Surface Map detail. Computed from the same global rank the surface used.

§surface_render: SurfaceRenderResult§coverage: Vec<String>§omissions: Vec<String>§artifact: ContextArtifact

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.