Repository navigation
Spec: interactive UI verification and GitHub-attached Visual evidence in pull requests - #2289
Merged
Merged
Conversation
Probe and offer Visual evidence host tool installation in Setup
Add UI verification and GitHub-attached Visual evidence
…1): UNAVAILABLE (code 503): No capacity available for model gemini-4-hydrogen-xhigh on the server) 2026-11-19T04:16:56Z, host factory.etadventures.com. Uncommitted work at the time of failure is included in this commit.
…1): UNAVAILABLE (code 503): No capacity available for model gemini-4-hydrogen-xhigh on the server) 2026-11-19T04:32:00Z, host factory.etadventures.com. Uncommitted work at the time of failure is included in this commit.
Refresh Visual evidence across Spec reviews, Security reviews, and Delivery Repairs
Add verification-skill generators and dogfood Console and site verification skills
JacobStephens2
marked this pull request as ready for review
November 19, 2026 09:45
# Conflicts: # .agents/skills/pr/SKILL.md # site/prompts/index.html # skills/thirdshift-diagnosing-bugs/SKILL.md # skills/thirdshift-implement/SKILL.md # skills/thirdshift-pr/SKILL.md
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2023
Summary
Adds composable UI verification and GitHub-attached Visual evidence across Factory skills, Day shift skills, Session prompts, Setup, fake GitHub tests, the User manual, and the static site:
skills/thirdshift-verify-ui/and Day-shift twin.agents/skills/verify-ui/(mirrored to.claude/skills/verify-ui), plus verification-skill generators (.agents/skills/create-verification-skill/,maintain-verification-skill/) and dogfood site/Console verification skills (verify-site,verify-console, mirrored under.claude/skills/). Updatedthirdshift-implement,thirdshift-diagnosing-bugs,thirdshift-prand their Day-shift twins to capture and publish repository-scoped GitHub attachments viagh --attach(ADR-0034).prompt::TicketScope): ThreadedTicketScope(TicketScope::for_childseparatingSpecTicketchild Ticket runs fromStandardPR runs, Base fixes, and Custom process Issue-branch runs) throughimplement::opening,Delivery, Security review (prompt::security_review), and Delivery Repairs (prompt::conflict_repair,prompt::ci_fix_repair,prompt::review_repair).SPEC_TICKET_VISUAL_EVIDENCEkeeps child Ticket verification local in the worktree without callingghor uploading attachments, whileopen_pr_visual_evidenceandprompt::spec_reviewcapture/refresh unifiedBeforeandAfterVisual evidence onStandardPRs and the unified Spec PR (leaving non-UI backend/test edits untouched). AddedSpec Ticketand updated Repair entries insrc/prompts_page.rs.src/setup/visual_evidence.rs): Added post-save probing (check_visual_evidenceinsrc/setup.rs) forgh >= 2.103.2,ffmpeg, and Playwright Chromium (including cached headless-shell layouts), printing install hints non-interactively and offering one[y/N]install prompt on a terminal with isolated working directory (LocalHttpServerRAII fixture intests/setup.rs).tests/fakes/gh.rs(attached_body,pr_create,pr_edit,commentintests/fakes/gh/review.rs,gh --version) to validate and rewrite--attachcaptures intouser-attachmentsassets, documented the workflow indocs/guide.md(#ui-verification-and-visual-evidence),docs/code-navigation.md, and hand-writtensite/pages, and regeneratedprompts/*.md,site/prompts/index.html, andsite/docs/index.html.Seams tested:
.claude/skills/symlink resolution, andthirdshift-prVisual evidence publish recipe validation against fakegh --attach(tests/ui_evidence.rs,src/skills/tests.rs,tests/packaging.rs).Standard/SpecTicket/SpecReview/SecurityReview/DeliveryRepairs (prompts_pagetests,tests/ci.rs,tests/mergeable.rs,tests/process/land_tickets.rs,tests/spec_run.rs).src/setup/visual_evidence.rs,tests/setup.rs,tests/setup_offer.rs,tests/setup_lifetime.rs).review-counts.test.cjs(site/tests/).Evidence
Execution evidence
Full Spec validation on
65d56797(scripts/affected-tests refs/remotes/origin/main </dev/null,npm run docs:check,fmt,clippy,scripts/tests):scripts/affected-tests refs/remotes/origin/main </dev/null(</dev/nullavoids the Harness runner's/dev/pts/*PTY triggering interactive cost/confirmation prompts on integration fixture commands that inherit stdin): exited0—PASS npm test --prefix site(74passed,0failed in47.04s) andPASS cargo testacross114suites (unittests src/main.rs:1984 passed; 0 failed; 3 ignored,113tests/*.rssuites:2849 passed; 0 failed; 212 ignoredsubprocess guardian entry points; total4833 passed; 0 failed; 215 ignoredin1571.72s).npm run docs:check --prefix site: exited0.cargo fmt --check && cargo clippy --all-targets -- -D warnings: exited0.python3 -m unittest discover -s scripts -p 'test_*.py':72 passed(0 failed).Spec & Standards code-review fixes (verified before commit
65d56797-> after):test -L .claude/skills/verify-ui && test "$(readlink .claude/skills/verify-ui)" = "../../.agents/skills/verify-ui" && test -f .claude/skills/verify-ui/SKILL.mdexited1, andcargo test --test ui_evidence day_shift_ui_verification_skills_are_mirrored_for_claude_and_free_of_factory_referencesfailed (No such file or directory (os error 2)).65d56797):test -L .claude/skills/verify-ui && test "$(readlink .claude/skills/verify-ui)" = "../../.agents/skills/verify-ui" && test -f .claude/skills/verify-ui/SKILL.mdexited0;cargo test --test ui_evidencepassed (7 passed; 0 failed; 2 ignoredguardian tests);cargo test --test setup visual_evidencepassed (10 passed; 0 failed);cargo test --bin thirdshift prompts_pagepassed (16 passed; 0 failed);cargo fmt --check && cargo clippy --all-targets -- -D warningsexited0;python3 -m unittest discover -s scripts -p 'test_*.py'passed (72 passed).Visual evidence
Captures below compare detached
refs/remotes/origin/main(Before) againstHEAD(After) across renderedsite/pages using public/faux state (Beforewalkthrough video omitted because#skill-thirdshift-verify-uiand#ui-verification-and-visual-evidenceare net-new flows):Before — Homepage Spec run disclosure, desktop 1440×900
After — Homepage Spec run disclosure, desktop 1440×900
Before — Homepage Step 3 · Review press column, mobile 390×844
After — Homepage Step 3 · Review press column, mobile 390×844
Before — Prompts page Factory skills list, desktop 1440×900
After — Prompts page Factory skills list with thirdshift-verify-ui, desktop 1440×900
After — Site walkthrough: Homepage disclosure, Prompts thirdshift-verify-ui, User manual UI verification, desktop 1440×900
after-site-walkthrough-desktop.MkOCNE.mp4
Tickets
Merge Danger
Door: Two-way
Blast Radius: Moderate
All production code changes affect prompt assembly, embedded skill text, optional Setup post-save probing, and documentation/site assets; no on-disk Command record schemas or persisted state formats change. Existing setups lacking
gh >= 2.103.2,ffmpeg, or Playwright Chromium receive a Setup warning/offer and still fall back cleanly to stating verification limitations in the PR Evidence section when capture tools cannot run.Unaddressed findings
Zero actionable Standards or Spec findings remain unaddressed (
standards: 4 raised / 4 fixed;spec: 1 raised / 1 fixed; 0 declined/skipped):skills/thirdshift-pr/SKILL.md:178,.agents/skills/pr/SKILL.md:180) — Addressed in65d56797: removed the duplicate(Day shift: verify-ui)/thirdshift-verify-uisentence that violated ADR-0012 andwriting-for-agentssingle-source-of-truth rules..agents/skills/verify-ui/SKILL.md:8,18,67,skills/thirdshift-verify-ui/SKILL.md:67) — Addressed in65d56797: pruned Factory-only terms (Built-in processes,Custom process,Experiment Arm,Resume,PR skill) from Day-shift.agents/skills/verify-ui/SKILL.md, clarified`thirdshift-pr`inskills/thirdshift-verify-ui/SKILL.md, and regeneratedsite/prompts/index.html.tests/setup.rs) — Addressed in65d56797: extracted RAIILocalHttpServerwithDropto eliminate duplicated loopback npm registry test servers and manual teardown blocks.docs/code-navigation.md) — Addressed in65d56797: indexed Visual evidence andtests/ui_evidence.rs..claude/skills/verify-ui) — Addressed in65d56797: added.claude/skills/verify-ui -> ../../.agents/skills/verify-uisymlink and regression test intests/ui_evidence.rs.Security
None (0 unaddressed introduced Security findings against
6d8afeee51f1af1e142f00d52c2783f479bb512e...HEAD).Review file coverage:
0changed files left unread across Standards and Spec (71non-excluded changed files reviewed in full before commit65d56797, plus the2files added/newly modified in65d56797—.claude/skills/verify-uianddocs/code-navigation.md— verified directly, plus24confirmed generated-output exclusions =97/97changed files against merge-base6d8afeee). Confirmed generated-output exclusions (verified via source inspection + generator/check runs):prompts/*.md(22files:prompts/README.md,prompts/bug-continuation-pr.md,prompts/bug-continuation.md,prompts/ci-fix-repair-inherited.md,prompts/ci-fix-repair.md,prompts/conflict-repair.md,prompts/continuation-pr.md,prompts/continuation.md,prompts/fix-ci-repair.md,prompts/fix-conflict-repair.md,prompts/fix-review-repair.md,prompts/foreign-conflict-repair.md,prompts/review-repair.md,prompts/security-review.md,prompts/spec-review.md,prompts/spec-ticket-ci-fix-repair.md,prompts/spec-ticket-conflict-repair.md,prompts/spec-ticket-continuation-pr.md,prompts/spec-ticket-continuation.md,prompts/spec-ticket-fresh.md,prompts/spec-ticket-review-repair.md,prompts/spec-ticket-security-review.md)site/prompts/index.html(generated lines47–8399; surrounding hand-written lines read)site/docs/index.html(generated fromdocs/guide.mdandsite/generate-docs.mjs)Built with codex unknown · gpt-6.1-sol · xhigh
Security review outcome
No unaddressed introduced findings.