Skip to content

Add UI verification and GitHub-attached Visual evidence - #2287

Merged
JacobStephens2 merged 7 commits into
issue-2023from
issue-2282
Nov 19, 2026
Merged

JacobStephens2 merged 7 commits into
issue-2023from
issue-2282

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

UI change → project verify-* / docs
          → interactive exploration → clean PNG / MP4 proof
          → validated gh --attach → repository-scoped Visual evidence

Add a composable thirdshift-verify-ui Factory skill across all seven Harnesses, with a Day shift twin and calls from implementation, diagnosis and PR skills. Exploration and capture policy live in verify-ui; publication lives in the PR skill. Custom processes and Experiment Arms can use the skill directly, with no new Built-in process Step.

Replace secret-Gist publication with GitHub attachments and exercise the actual shell recipe against the fake gh harness. Validate every capture before upload, reject # path delimiters and unsafe PR body files, and preserve labelled PNG/MP4 paragraphs. Update the Prompts page, manual and hand-written site pages.

Closes #2282

Evidence

Execution evidence

  • Before: cargo test --test ui_evidence pr_recipe_publishes_all_png_and_mp4_captures_with_visible_labels
    FAILED
    create: fake gh: unsupported command: ['--version']
    Visual evidence needs gh >= 2.103.2 --attach
    
    After: same command: 1 passed; 0 failed. Covers repeatable PNG/MP4 attachments, native video paragraphs, and labels on create/edit/comment.
  • cargo test --test ui_evidence: 5 passed; 0 failed; 2 ignored (subprocess fixture entry points) in this continuation. Covers create/edit/comment attachments, symlinks, directories, FIFOs, unowned files, unsafe filenames/extensions, empty/oversized files, old gh, # path splitting and unsafe body files; accepts the exact 8 MB boundary.
  • cargo test --bin thirdshift skills::tests::ui_verification_is_available_to_every_harness_and_standalone_skill_sessions -- --exact: 1 passed.
  • cargo test --bin thirdshift prompts_page: 14 passed; npm run docs:check --prefix site: passed. Both verification skills pass quick_validate.py.
  • Prior implementation validation: RUST_TEST_THREADS=3 scripts/affected-tests refs/remotes/origin/issue-2023 passed all 72 site checks. Local Rust lifecycle tests stalled; that run was stopped once exact-head CI passed.
  • Full CI passed on current pushed head 6862ea402442473fcfefbd3b904ffbe3cf8a57cc, including all Rust partitions and the coverage gate, formatting/clippy, Python, site and Console checks. This continuation reuses successful exact-head CI.
  • The site's existing narrow-screen compactness check initially failed (320px: Third shift overview occupies 997.296875px). After moving the new copy into the existing disclosure, node --test --test-name-pattern='overview stays compact' site/tests/pages.test.cjs passed both JavaScript modes.

Test seams: Factory skill lookup/linking through all Harness adapters; the PR skill's executable publication recipe through fake GitHub CLI; site browser behavior and generated-source checks.

Visual evidence

Static documentation changes: paired PNGs at desktop 1440×900 and mobile 390×844. Chromium exploration used accessibility snapshots and asserted zero page errors or 5xx responses; servers bound OS-assigned loopback ports and browser/server cleanup completed before return. Baselines for supporting pages came from a temporary detached Base branch worktree. This change adds no interactive product flow requiring a walkthrough video.

Before — Prompts / new UI verification skill, desktop 1440×900

Before Prompts / new UI verification skill at desktop 1440×900

After — Prompts / new UI verification skill, desktop 1440×900

After Prompts / new UI verification skill at desktop 1440×900

Before — Prompts / new UI verification skill, mobile 390×844

Before Prompts / new UI verification skill at mobile 390×844

After — Prompts / new UI verification skill, mobile 390×844

After Prompts / new UI verification skill at mobile 390×844

Before — home, desktop 1440×900

Before home at desktop 1440×900

After — home, desktop 1440×900

After home at desktop 1440×900

Before — home, mobile 390×844

Before home at mobile 390×844

After — home, mobile 390×844

After home at mobile 390×844

Before — how-it-works, desktop 1440×900

Before how-it-works at desktop 1440×900

After — how-it-works, desktop 1440×900

After how-it-works at desktop 1440×900

Before — how-it-works, mobile 390×844

Before how-it-works at mobile 390×844

After — how-it-works, mobile 390×844

After how-it-works at mobile 390×844

Before — architecture, desktop 1440×900

Before architecture at desktop 1440×900

After — architecture, desktop 1440×900

After architecture at desktop 1440×900

Before — architecture, mobile 390×844

Before architecture at mobile 390×844

After — architecture, mobile 390×844

After architecture at mobile 390×844

Before — manual, desktop 1440×900

Before manual at desktop 1440×900

After — manual, desktop 1440×900

After manual at desktop 1440×900

Before — manual, mobile 390×844

Before manual at mobile 390×844

After — manual, mobile 390×844

After manual at mobile 390×844

Review coverage

Independent thirdshift-code-review against refs/remotes/origin/issue-2023: Standards 0 actionable findings; Spec 0 actionable findings. Both axes directly read all 21 changed files, including changed generated HTML and removed Gist instructions/tests. No changed files were excluded or left unread. Reports and final files-read lists are retained in .thirdshift-review-eRRLFt/standards.md and .thirdshift-review-eRRLFt/spec.md in the Session worktree.

Unaddressed findings

Standards

None.

Spec

None.

Security

None.

Security review outcome

No unaddressed introduced findings.

Merge Danger

Door: two-way

Skill and test changes can be reverted. GitHub attachment uploads remain permanent; only reviewed, faux/redacted captures were uploaded.

Blast Radius: skills

UI-changing sessions across all seven Harnesses and the fake GitHub CLI. No new Built-in process Step or mechanical merge gate.

CI notes

The failure in run 44440090819 on 52e60671 comes from an unrelated test this branch does not touch:

  • rust-x86 / run (3) (job 135278661240), thirdshift::show_logs a_tickets_issue_names_its_run_inside_the_spec_command (tests/show_logs.rs:396, assertion failed: logs.stdout.contains("session_id")): intermittent async pipe-flush race between fake claude's init line (tests/fakes/claude.rs) / touch started in the ticket script and one-shot thirdshift logs widgets#21 --session implement (stream_log(..., false) in src/logs/status/inspect.rs) reading the pre-created .logs.jsonl before follow (src/session/recording.rs) writes the first OTLP line under concurrent CI load.
    • Unrelated to this branch: git diff origin/issue-2023...HEAD modifies only skills (.agents/skills/{diagnosing-bugs,implement,pr,verify-ui}/SKILL.md, skills/thirdshift-{diagnosing-bugs,implement,pr,verify-ui}/SKILL.md), docs/guide.md, site/, src/prompts_page.rs, src/skills/tests.rs, tests/fakes/gh.rs, tests/fakes/gh/review.rs, tests/packaging.rs, tests/support/mod.rs (FACTORY_SKILLS), and tests/ui_evidence.rs — not tests/show_logs.rs, src/logs/, src/session/, src/process.rs, or tests/fakes/claude.rs.
    • Evidence: The identical failure at tests/show_logs.rs:396 also occurred in rust-x86 / run (3) on unrelated merged PR Keep Inbox GitHub lock file owner-only #2256 (run 44082567872, passed on run 44087149242), and all four partitions passed earlier on issue-2282 at 6862ea40 (run 44434498287) and on issue-2023 at 3c0988ae (run 44430118206). Locally on 52e60671, cargo test --test show_logs passed (17 passed; 0 failed; 2 ignored), a_tickets_issue_names_its_run_inside_the_spec_command passed 1/1 standalone and 62/62 parallel runs (30/30 across 6 workers and 32/32 pinned to CPU 0 across 8 workers), and cargo fmt --check, cargo clippy --all-targets -- -D warnings, python3 -m unittest discover -s scripts -p 'test_*.py' (72 tests), node --test site/tests/review-counts.test.cjs (1 test; full site-test and console-test passed on CI in run 44440090819), ui_evidence (6 passed; 2 ignored), packaging (7 passed), skill (16 passed; 2 ignored), prompts_page (14 passed), skills::tests (7 passed), share_card (4 passed), site_deploy (7 passed), agy_sessions (9 passed; 2 ignored), codex_sessions (16 passed; 2 ignored), grok_sessions (6 passed; 2 ignored), kimi_sessions (7 passed; 2 ignored), muse_sessions (10 passed; 2 ignored), opencode_sessions (16 passed; 2 ignored), trial (32 passed; 2 ignored), setup (48 passed; 2 ignored), setup_lifetime (5 passed; 3 ignored), setup_offer (8 passed; 2 ignored), fakes (5 passed), command_surface (21 passed; 2 ignored), fresh_run (26 passed; 2 ignored), review_run (37 passed; 2 ignored), and spec_run (101 passed; 2 ignored) all passed.
  • rust-x86 / complete (job 135283531754) and test (job 135283603021): aggregate status gates failed solely because rust-x86 / run (3) failed.

Built with codex codex-cli 0.167.2 · gpt-6.1-sol · xhigh

@JacobStephens2 JacobStephens2 added the in-progress A Claim: thirdshift has taken this issue label Nov 19, 2026
@JacobStephens2
JacobStephens2 marked this pull request as draft November 19, 2026 01:07
@JacobStephens2 JacobStephens2 removed the in-progress A Claim: thirdshift has taken this issue label Nov 19, 2026
@JacobStephens2
JacobStephens2 marked this pull request as ready for review November 19, 2026 01:32
@JacobStephens2
JacobStephens2 merged commit 4be2912 into issue-2023 Nov 19, 2026
35 of 38 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-2282 branch November 19, 2026 02:27
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.

1 participant