Skip to content

feat(smartqa): verdict UI and cited evidence (CHE-1649) [squash] - #225

Draft
congvc-bot-x99[bot] wants to merge 20 commits into
mainfrom
agent/x99-codex-sol/ac21610a5784
Draft

congvc-bot-x99[bot] wants to merge 20 commits into
mainfrom
agent/x99-codex-sol/ac21610a5784

Conversation

@congvc-bot-x99

@congvc-bot-x99 congvc-bot-x99 Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Status

PR #225 remains draft at e9a5bd7d36fcd3daa7cfc153670287972b0ea4f0, based on main at a14514a4508c366344c367aa39f672454de9c38f.
Conflict repair remains published in parent 006732864b94250d8d1bfcef3f9f5ac3f8c8cc78. GitHub reports MERGEABLE.
Direct Chrome smoke now passes locally after adding --password-store=basic to the disposable browser launch.
Current CI: https://github.com/cheese-work/artemis/actions/runs/41423275108/attempts/2
Attempt 2 completed successfully on this exact head. All six current PR checks are SUCCESS.
Frontend job 125266674064 passed 2508 tests, all three builds, responsive cleanup and both root/preview paths.
Normal cleanup exited 0 in 1578 ms. The intentional stalled cleanup exited 1 in 2284 ms as expected.
Both cleanup paths left Chrome and Node/server absent. Both preview paths recorded zero root API escapes.
The single retry passed without code changes. Attempt 1's Chrome exit timeout remains recorded.
Green CI is not manual QA admission, independent signing approval or merge authority.
Final CI receipt.
On the parent, hosted frontend tests/builds, Python checks, package smoke and What's New passed; the final browser smoke failed.
Completed-run logs returned BlobNotFound or empty output. The old hosted failure cause remains unconfirmed.
The CI continuation is complete; its one-shot wakeup is disabled. The existing route-response wakeup remains enabled.

Conditions

Cheese's go on 2 November 2026 authorizes conflict repair and automated checks only.
Manual keyboard, actual 200% zoom/F6, screen-reader output, duplicate-navigation and Keep/Change/Remove checks remain NOT-RUN and unwaived.
The required PNG review and authenticated live baseline remain incomplete, awaiting the existing owner-approved, task-isolated X99 route record.
Pixel diff remains NOT-RUN/deferred under the existing contract.
No ready transition, merge, device access, deployment, permission change or Part B work is authorized.
Fresh independent review/OCR is required on this head before ready; the old signing verdict does not carry through conflict resolution.
S2, N4, N8, V2, O1 and carried P3 findings remain open, non-blocking and unwaived. V1 and S1 remain resolved. S5 remains retrospective.

Change

The existing feature renders backend verdict labels, pending/error/cancelled/legacy states, decisive evidence and the keep-tab-open hint in run history and detail.
Approved design: design/smartqa-verdicts/rev-5/C.html @ 775e7e72ce0d6058f697b814b0095f6940a28ce8.
Admission sheet: docs/ux/CHE-1649.yml. F5 keeps the selected failing step first in the evidence panel's real DOM.
No control or evidence removal is authorized. No accessibility waiver applies.

This repair merges current main without rebase or force-push.
The three conflict resolutions preserve both npm test commands, compact verdict fixtures and phone-host fixtures.
SmartQA captures keep 390/800/1440 widths and 390x844 mobile geometry. Phone captures keep 390/1440 widths and their host fixtures.
A regression checks both mock API responses together.

The smoke-launch follow-up changes one browser argument, matching the other disposable browser scripts.
Assertions, timeout, request guards and disposable-profile cleanup stay intact.

sequenceDiagram
    participant History as RunLibraryComponent
    participant Client as RunsService
    participant Route as /api/chats/results
    participant Results as qa_results
    History->>Client: poll session IDs
    Client->>Route: POST compact result request
    Route->>Results: load result metadata
    Results-->>Route: values and display labels
    Route-->>Client: pending/final result state
    Client-->>History: update cards
    History->>History: continue until pending resolves
Loading

Evidence

The same command ran before and after resolution:

node --test apps/showcase_ui/scripts/keyboard-walkthrough/mock-api.test.mjs
RED, original head 8c7eb1e2323b981db0ed900f492d359768445a35:
Expected host inventory; actual hosts: [].
tests 2; pass 1; fail 1; exit 1.

GREEN, repaired candidate:
tests 2; pass 2; fail 0; exit 0.

Local X99 validation on the conflict-repair parent 006732864b94250d8d1bfcef3f9f5ac3f8c8cc78:

  • Frontend: npm test -- --watch=false --browsers=ChromeHeadlessNarrow,ChromeHeadlessWide passed 2508 tests, exit 0.
  • Production and development builds passed, exit 0.
  • Mock API, browser cleanup and SmartQA help tests passed 5 tests, exit 0.
  • Backend baseline and adjacent route/result regressions passed 341 tests, with 8 warnings, exit 0.
  • Screenshot-script syntax, git diff --check and the exact-head What's New checker passed.

Those parent validation commands used a task-local Chrome launcher adding --no-sandbox --password-store=basic.
The initial direct-Chrome attempt never connected to Karma and was stopped, exit 130.
The initial tooling run failed its missing-development-build prerequisite; the final run passed after that build.
Neither initial attempt counts as behavioral RED.

Smoke-launch correction RED/GREEN, with the same existing test before and after the edit:

cd apps/showcase_ui
CHROME_BIN=/usr/bin/google-chrome node scripts/preview-path.test.mjs
RED at 006732864b94250d8d1bfcef3f9f5ac3f8c8cc78, before editing:
Error: Browser command timed out: Page.navigate
exit 1

GREEN after adding --password-store=basic:
PASS /: page-level verdict before timeline, technical details, banner, HTTP, scoped SSE, WebSocket, images; root API escapes=0; requests=40
PASS /preview/pr/70/: page-level verdict before timeline, technical details, banner, HTTP, scoped SSE, WebSocket, images; root API escapes=0; requests=40
exit 0

The --root-api-negative-control run still fails intentionally: actual root API escapes 1, expected 0, exit 1.
Node syntax and git diff --check passed. This correction changes no product source.
Self-review covered scope, assertions, error paths, disposable-profile behavior and secrets.
The hosted failure cause is not inferred from the local timeout.

Historical implementation RED/GREEN output and the previous PR description are retained in the evidence archive.
Historical missing red command lines remain NOT-CAPTURED. Assertions without observed behavioral red remain retrospective.
The earlier S1 correction observed shares == 1, expected 0 (1 failed), then the same regression passed (1 passed).
Self-review covered scope, conflict resolutions, tests, error paths and secrets. Self-review is not independent signing approval.

Raw evidence archive · SHA256 a81f7560631ecdd452dad6d60ba03667dda76b5b1b75c65d3338d1559033fd2f.

Issue result.

Smoke-launch result and frozen report.
Smoke-launch raw evidence archive · SHA256 3cfb9d0253079e4334a4031d911596f39db32317f78d85320f5e1f1e79f35465.
Frozen report SHA256: fe9542d70f7b78e813f8725e1b44bb290e8274d70bbfd7916bb4d8e520cb3cba.

OCR: run inside the fresh independent signing review; NOT-RUN for this repaired head.

Closes CHE-1649

@congvc-bot-x99 congvc-bot-x99 Bot changed the title docs(smartqa): record verdict UI admission [squash] feat(smartqa): verdict UI and cited evidence (CHE-1649) [squash] Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants