pub struct SyscallState {
pub policy_revision: Option<WireU64>,
pub live_config: Option<ResolvedOperationConfig>,
pub provider_calls: Vec<PendingProviderCallState>,
pub consumed_call_ids: Vec<String>,
pub authored_memory_writes: Vec<AuthoredMemoryWriteState>,
pub authored_memory_queries: Vec<AuthoredMemoryQueryState>,
pub memory_write_window_ms: Vec<WireU64>,
}Expand description
§12.1 · governance revision, the live policy, the rate-limit window, and the provider-tool causation the P1 gate derives a caller from.
Fields§
§policy_revision: Option<WireU64>§13.2 · the revision two concurrent policy writers race on. None before the genesis
record installs the policy.
live_config: Option<ResolvedOperationConfig>The live-mutable configuration as patched so far. Distinct from the genesis record’s resolved configuration, which is frozen — this is the value the gate reads today.
provider_calls: Vec<PendingProviderCallState>§7.6 · the provider calls this operation is waiting on and the tool surface each one advertised. A tool call naming anything else has no causation to derive from.
consumed_call_ids: Vec<String>Tool call ids that already produced a syscall. A causation is spent once.
§22.13 · what the kernel authored for each pending memory write. The resolution reports these, never what the host echoes back.
memory_write_window_ms: Vec<WireU64>Rolling window of accepted memory-write timestamps, in the operation’s own clock. The window is a gate input, so dropping it at a checkpoint would hand the run a fresh quota.
Trait Implementations§
Source§impl Clone for SyscallState
impl Clone for SyscallState
Source§fn clone(&self) -> SyscallState
fn clone(&self) -> SyscallState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more