pub struct WorkerTraceRecord {
pub instruction: String,
pub response: String,
pub model: String,
pub quant: String,
pub weight_hash: Option<String>,
pub mission_id: String,
pub feature_id: String,
pub run_id: String,
pub backend: Option<String>,
pub gate_chain: Vec<GateChainRef>,
}Expand description
A validation-PASSED worker trace: the
crate::trace_export::InstructionPair fields verbatim (so a corpus
line is a strict superset of an export-traces line) plus the
provenance tags the ticket demands — the backend the session ran on and
the mission’s gate ladder by seq.
Fields§
§instruction: String§response: String§model: String§quant: String§weight_hash: Option<String>§mission_id: String§feature_id: String§run_id: String§backend: Option<String>DERIVED, never read from the event: the replay’s config-at-seq
backend derivation (crate::provenance::SessionLink::backend), so
the corpus and the audit chain can never disagree about which
backend drove the session. Serialized as null (never omitted) on
hand-cut logs with no mission.created — a corpus consumer should
see the gap, not guess at it.
gate_chain: Vec<GateChainRef>The mission’s gate ladder as replay refs. The ladder is
mission-level (contract gates evaluate the floor, not an individual
run), so every trace of one mission carries the same chain; empty on
pre-gate.result logs.
Trait Implementations§
Source§impl Clone for WorkerTraceRecord
impl Clone for WorkerTraceRecord
Source§fn clone(&self) -> WorkerTraceRecord
fn clone(&self) -> WorkerTraceRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more