pub struct SemanticParentBinding {Show 33 fields
pub recovered_instance: Option<Identity256>,
pub source: [SemanticTextSlot; 32],
pub prefix: Vec<SemanticTextSlot>,
pub ring_head: u64,
pub provenance_records: u64,
pub prefix_capacity: u64,
pub feedback_capacity: u64,
pub max_position: u64,
pub pad_token: u64,
pub terminal_tokens: Vec<u64>,
pub final_intent_payload_bytes: u64,
pub intent_effect: Vec<u8>,
pub intent_entry_capacity: u64,
pub intent_payload_capacity_bytes: usize,
pub acknowledgement_payload_capacity_bytes: usize,
pub model_generation: u64,
pub model_numerical_mode: Vec<u8>,
pub model_contract_layout: SemanticModelContractLayout,
pub policy_generation: u64,
pub neural_generation: u64,
pub cache_generation: u64,
pub authority_generation: u64,
pub training_cursor: u64,
pub training_rng: [u64; 4],
pub fuel: u64,
pub rng: SemanticRngBinding,
pub topology_identity: Identity256,
pub table_identity: Identity256,
pub role_counts: [u64; 55],
pub records: Vec<SemanticStateRecord>,
pub tensors: Vec<SemanticTensorInput>,
pub model_memory: SemanticModelMemory,
pub active_layouts: Vec<SemanticTensorLayout>,
}Expand description
Initial canonical parent only. A model continuation cannot be supplied here: it is admitted after a real Acquire and a forward using that acquired parent. PrefixIdentity is native-owned: fresh publication derives its 32 bytes from the actual PrefixSource. Supplying a caller record for that role is an error.
Fields§
§recovered_instance: Option<Identity256>§source: [SemanticTextSlot; 32]§prefix: Vec<SemanticTextSlot>§ring_head: u64§provenance_records: u64§prefix_capacity: u64§feedback_capacity: u64§max_position: u64§pad_token: u64§terminal_tokens: Vec<u64>§final_intent_payload_bytes: u64§intent_effect: Vec<u8>Actual application effect descriptor. The native owner constructs the empty intent queue; callers never encode its private header or entries.
intent_entry_capacity: u64§intent_payload_capacity_bytes: usize§acknowledgement_payload_capacity_bytes: usize§model_generation: u64§model_numerical_mode: Vec<u8>Complete versioned numerical-mode contribution from the model owner. The Python binding uses exact canonical ColdValue metadata, not a digest or repr. Native code owns the surrounding RuntimeContract record.
model_contract_layout: SemanticModelContractLayout§policy_generation: u64§neural_generation: u64§cache_generation: u64§training_cursor: u64§training_rng: [u64; 4]§fuel: u64§rng: SemanticRngBinding§topology_identity: Identity256§table_identity: Identity256§role_counts: [u64; 55]Every one of the 55 roles is explicit, including actual zero tensor counts.
records: Vec<SemanticStateRecord>§tensors: Vec<SemanticTensorInput>§model_memory: SemanticModelMemory§active_layouts: Vec<SemanticTensorLayout>Model-declared 51..54 capacities only; no active output exists before Acquire and the original forward. Initial ranges are unreachable.
Implementations§
Source§impl SemanticParentBinding
impl SemanticParentBinding
Sourcepub fn bind_initial_sources(
&mut self,
sources: &[SemanticObservedSource],
mapping: &[SemanticSourceMapping],
authority: &[u8],
capacity_records: u64,
) -> Result<(), SemanticTransitionError>
pub fn bind_initial_sources( &mut self, sources: &[SemanticObservedSource], mapping: &[SemanticSourceMapping], authority: &[u8], capacity_records: u64, ) -> Result<(), SemanticTransitionError>
Construct the private initial SOURCE ledger from admitted observations. The complete authority record is retained in the parent by the same controller. Fresh GENERATED rows must instead enter through restoration.