pub struct WorkerEvidence {
pub attempt: u32,
pub session_id: String,
pub original_cwd: String,
pub live_session_path: String,
pub status: EvidenceStatus,
pub transcript_path: Option<String>,
pub resume_path: Option<String>,
pub pane_path: Option<String>,
pub report_path: Option<String>,
pub transcript_sha256: Option<String>,
pub error: Option<String>,
}Expand description
Durable native Pi session and terminal evidence for one worker attempt.
This is folded onto the node projection from append-only events. The live source is state-root-relative; completed artifact paths are run-relative.
Fields§
§attempt: u32Worker attempt this evidence belongs to.
session_id: StringExact Pi session identifier assigned before the candidate starts.
original_cwd: StringOriginal cwd stored in the native transcript header.
live_session_path: StringState-root-relative live native transcript path.
status: EvidenceStatusTyped capture state.
transcript_path: Option<String>Run-relative byte-identical archived transcript, once complete.
resume_path: Option<String>Run-relative resume copy whose header names a surviving cwd.
pane_path: Option<String>Run-relative final tmux pane snapshot.
report_path: Option<String>Run-relative exact terminal report JSON.
transcript_sha256: Option<String>SHA-256 of the archived original transcript.
error: Option<String>Explicit capture failure detail. Never present on complete evidence.