UI Test Evidence
Purpose
Collect and normalize evidence so humans and Codex can determine what really happened.
Operating Rules
- Page success, API success, task success, and downstream success are different evidence layers.
- Preserve every step's evidence reference. Do not hide duplicate screenshots; mark them as repeated visual state.
- Capture screenshots for UI-changing steps and all browser-visible failures.
- Capture JSON for API, contract, task-state, downstream, and AI-vision evidence.
- Redact sensitive values unless the user explicitly states the run is public and non-sensitive.
- Consume canonical RunResult and preserve its run/case/branch/step lineage. Evidence cannot change overall status.
- Store execution evidence under the governed
D:\UI-Test run path and only redacted evidence indexes under the configured D:\RAG knowledge space.
- Reject formal C-drive references and root/type mismatches; ordinary non-UI-Test workspace files are outside this rule.
Workflow
- Build an evidence index from run artifacts.
- Classify each artifact by step, layer, type, timestamp, sensitivity, and consumer.
- Attach failure attribution with layer, root cause, confidence, evidence refs, impact scope, action taken, and next step.
- Generate Codex-readable JSON and human-readable HTML references when required.
- Output
next_action: review.
Validation
- Each executed step has evidence or an explicit missing-evidence reason.
- Failure evidence is enough to distinguish business defect, test asset problem, environment-data issue, requirement ambiguity, AI recognition failure, policy block, or unknown.
- Sensitive data handling is recorded.
Read the evidence taxonomy before classifying cross-layer evidence.
Safety
Do not persist credentials, authentication state, raw private endpoints, or unredacted business identifiers. Evidence collection cannot authorize a write or change canonical RunResult status.
1---2name: ui-test-evidence3description: Build Solution D evidence indexes for UI automation runs. Use for screenshots, JSON snapshots, API responses, contract checks, task-state polling, downstream validation, failure attribution, redaction policy, and Codex-readable evidence reports.4---56# UI Test Evidence78## Purpose910Collect and normalize evidence so humans and Codex can determine what really happened.1112## Operating Rules1314- Page success, API success, task success, and downstream success are different evidence layers.15- Preserve every step's evidence reference. Do not hide duplicate screenshots; mark them as repeated visual state.16- Capture screenshots for UI-changing steps and all browser-visible failures.17- Capture JSON for API, contract, task-state, downstream, and AI-vision evidence.18- Redact sensitive values unless the user explicitly states the run is public and non-sensitive.19- Consume canonical RunResult and preserve its run/case/branch/step lineage. Evidence cannot change overall status.20- Store execution evidence under the governed `D:\UI-Test` run path and only redacted evidence indexes under the configured `D:\RAG` knowledge space.21- Reject formal C-drive references and root/type mismatches; ordinary non-UI-Test workspace files are outside this rule.2223## Workflow24251. Build an evidence index from run artifacts.262. Classify each artifact by step, layer, type, timestamp, sensitivity, and consumer.273. Attach failure attribution with layer, root cause, confidence, evidence refs, impact scope, action taken, and next step.284. Generate Codex-readable JSON and human-readable HTML references when required.295. Output `next_action: review`.3031## Validation3233- Each executed step has evidence or an explicit missing-evidence reason.34- Failure evidence is enough to distinguish business defect, test asset problem, environment-data issue, requirement ambiguity, AI recognition failure, policy block, or unknown.35- Sensitive data handling is recorded.3637Read [the evidence taxonomy](references/evidence-taxonomy.md) before classifying cross-layer evidence.3839## Safety4041Do not persist credentials, authentication state, raw private endpoints, or unredacted business identifiers. Evidence collection cannot authorize a write or change canonical RunResult status.