pub enum Evidence {
Show 32 variants
ExecutionPath {
path: ExecutionPath,
reason: ExecutionReason,
state_version: u64,
elapsed_ms: u64,
bytes: Option<u64>,
sha256: Option<String>,
final_url: Option<String>,
content_type: Option<String>,
status: Option<u16>,
redirect_chain: Vec<String>,
},
Navigation {
url: String,
title: String,
},
Inspection {
selector: Option<String>,
url: String,
title: String,
text: String,
html: Option<String>,
},
SubmitSettlement {
outcome: SubmitSettlementOutcome,
},
Element {
selector: String,
text: Option<String>,
},
Upload {
selector: String,
paths: Vec<String>,
},
Page {
page_id: PageId,
url: String,
title: String,
},
PageGeneration {
page_id: PageId,
generation: u64,
},
Pages {
pages: Vec<PageEvidence>,
},
Popup {
opener_page_id: PageId,
page_id: PageId,
url: String,
title: String,
},
PopupClosed {
popup_page_id: PageId,
opener_page_id: PageId,
},
Download {
filename: String,
path: String,
bytes: u64,
sha256: String,
saved_to: Option<String>,
},
Configuration {
name: String,
value: String,
},
Resolution {
target: Box<TargetSpec>,
fingerprint: Box<TargetFingerprint>,
candidates: Vec<CandidateEvidence>,
best_match_authorized: bool,
},
Wait {
condition: WaitCondition,
elapsed_ms: u64,
observations: u64,
excluded_classes: Vec<String>,
observed: Option<String>,
},
Screenshot {
artifact_id: String,
media_type: String,
width: u32,
height: u32,
bytes: u64,
sha256: String,
},
BrowserExecution {
engine: String,
browser_version: String,
profile_id: String,
interaction_path: String,
},
JavaScriptResult {
value: Value,
truncated: bool,
},
AccessibilitySnapshot {
page_id: PageId,
nodes: Vec<AccessibilityNode>,
truncated: bool,
},
FormSnapshot {
snapshot: FormSnapshot,
},
FormValidation {
issues: Vec<FormValidationIssue>,
},
ControlAction {
action: ControlActionEvidence,
},
StructuredExtraction {
page_id: PageId,
value: Value,
truncated: bool,
},
ChallengeDetection {
confidence: f32,
detection: Option<ChallengeDetection>,
prior_kind: Option<String>,
},
CookieState {
page_id: Option<PageId>,
cookies: Vec<CookieRecord>,
},
PdfArtifact {
artifact_id: String,
media_type: String,
bytes: u64,
sha256: String,
},
Dialog {
dialog_type: String,
message: String,
action: String,
},
Emulation {
viewport: Option<ViewportSize>,
geolocation: Option<GeolocationCoordinates>,
},
HarArtifact {
artifact_id: String,
media_type: String,
bytes: u64,
sha256: String,
entries: u32,
},
IntentExecution {
record: ExecutionRecord,
},
Humanization {
engine: String,
actions: u32,
synthesized_ms: u64,
},
Extraction {
field: String,
value: Option<String>,
resolution_path: IntentResolutionPath,
error_code: Option<ErrorCode>,
},
}Variants§
ExecutionPath
Inspection
SubmitSettlement
Result of a boundary submit that used networkQuiet as its
postcondition. This classifies the settled page without requiring the
caller to predict confirmation copy or risk a second submit.
Fields
outcome: SubmitSettlementOutcomeElement
Upload
Page
PageGeneration
Retained page-context generation after command bookkeeping.
Pages
Fields
pages: Vec<PageEvidence>Popup
PopupClosed
A handle-resolved call found its bound page no longer open (a popup
the handle was following, since closed) and fell back to the opener
the earlier click_and_wait_for_popup recorded. popup_page_id is
the page that is now gone; opener_page_id is the page the handle is
bound to going forward. Carried on a completed read-only retry, or
on the original failed outcome when the call was mutating.
Download
Fields
Configuration
Resolution
Fields
target: Box<TargetSpec>fingerprint: Box<TargetFingerprint>candidates: Vec<CandidateEvidence>Wait
Fields
condition: WaitConditionobserved: Option<String>What the satisfying poll actually read: the element text or value, the URL, or the document ready state, depending on the condition.
The wait already reads this to decide whether it is satisfied. It
used to be discarded, so an agent that verified a submit had to
spend a second round trip snapshotting the page to learn what it
had just confirmed. Bounded by MAX_WAIT_OBSERVED_CHARS – this
is a verification value, never a page-text dump.
Screenshot
BrowserExecution
JavaScriptResult
AccessibilitySnapshot
FormSnapshot
Fields
snapshot: FormSnapshotFormValidation
Fields
issues: Vec<FormValidationIssue>ControlAction
Fields
action: ControlActionEvidenceStructuredExtraction
ChallengeDetection
A challenge classification from detectChallenge: Some is a
detected challenge, None is a provably clean page. confidence is
the model’s confidence in its answer either way — a caller gating a
solve spend on a clean answer needs it. prior_kind records the site
prior that enriched the prompt when one existed — transparency, never
a blended answer.
CookieState
PdfArtifact
Dialog
Emulation
HarArtifact
IntentExecution
Fields
record: ExecutionRecordHumanization
Input timing the runtime synthesized rather than observed, emitted when
the session opted into executionPolicy.humanize. Lets intent-engine
verify an effect against the timing actually issued. Carries no typed
text: action counts and durations only.
Extraction
Result of resolving one named field of an ExtractIntent, emitted once
per field in field order. value: None means unresolved, with the
reason in errorCode; the rest of the extraction still runs.