Skip to content

Label PR screenshots and recordings with visible Before/After captions - #2266

Merged
JacobStephens2 merged 1 commit into
mainfrom
issue-2265
Nov 18, 2026
Merged

JacobStephens2 merged 1 commit into
mainfrom
issue-2265

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

PR screenshots and recordings now get a visible caption immediately above every image:

- ![Before](capture.png)
+ **Before — Console Inbox, desktop 1440×900**
+
+ ![Before Console Inbox at desktop 1440×900](capture.png)

Both tracked PR skills apply this convention to Before and After PNGs and GIFs for every flow and viewport. The homepage, How it works, architecture page, and generated Factory skill page describe the same behavior. Capture, matching-state, recovery, and secret-Gist publication procedures are preserved.

Closes #2265

Evidence

Execution evidence

Rendered-template check: node /tmp/verify-issue-2265.cjs.

Before:

AssertionError [ERR_ASSERTION]: skills/thirdshift-pr/SKILL.md: png at desktop: 0/8 loaded images have visible Before/After + flow + viewport labels
0 !== 8

After:

PASS skills/thirdshift-pr/SKILL.md: png at desktop: 8/8 loaded images visibly labelled across two flows and viewports
PASS skills/thirdshift-pr/SKILL.md: png at mobile: 8/8 loaded images visibly labelled across two flows and viewports
PASS skills/thirdshift-pr/SKILL.md: gif at desktop: 8/8 loaded images visibly labelled across two flows and viewports
PASS skills/thirdshift-pr/SKILL.md: gif at mobile: 8/8 loaded images visibly labelled across two flows and viewports
PASS .agents/skills/pr/SKILL.md: png at desktop: 8/8 loaded images visibly labelled across two flows and viewports
PASS .agents/skills/pr/SKILL.md: png at mobile: 8/8 loaded images visibly labelled across two flows and viewports
PASS .agents/skills/pr/SKILL.md: gif at desktop: 8/8 loaded images visibly labelled across two flows and viewports
PASS .agents/skills/pr/SKILL.md: gif at mobile: 8/8 loaded images visibly labelled across two flows and viewports

The check renders each actual Markdown template with two named flows and both capture viewports, loads all eight images in each example, and checks the adjacent visible caption for its state, flow, and viewport. The script is retained in the Session artifacts as .thirdshift-review-9J0e0I/verify-issue-2265.cjs.

  • UPDATE_PROMPTS=1 cargo test prompts_page: passed, 14 prompt tests.
  • cargo test prompts_page: passed, 14 prompt tests.

scripts/affected-tests main passed the site suite, cargo build --locked, and Console browser suite. Its Rust run stopped at tests/plan_usage.rs:322: the test removes its fake agy, but this host's real ~/.local/bin/agy remains discoverable through the inherited PATH, so installed is true instead of the expected false.

The exact isolated rerun, cargo test --test plan_usage plan_usage_shows_configured_routes_in_order_and_omits_api_key_and_unused_harnesses -- --exact, reproduced that assertion. Excluding directories containing a real agy from this validation process's PATH made the same command pass (1 passed, 0 failed). The relevant src/, tests/, and Cargo files are unchanged from refs/remotes/origin/main (git diff --exit-code refs/remotes/origin/main HEAD -- Cargo.toml Cargo.lock src tests).

python3 /tmp/issue-2265-remaining-tests.py then passed all 63 remaining Rust integration suites with the cleaned PATH, including the full plan_usage file: 1,367 passed, 0 failed. Combined with the successful suites before the initial stop, all 112 integration suites and the binary's unit tests were covered on the same commit, totaling 4,794 passing tests. No source edits were needed for the host PATH issue. The original selector's failure and the successful continuation remain recorded separately in the Session artifacts.

Visual evidence

Headless Chromium captured and visually verified the rendered PR example at desktop 1440×900 and mobile 390×844, including two flows with desktop/mobile pairs. Matching Before/After captures also cover the homepage Review section, How it works, embedded PR skill, and architecture evidence description. The example uses existing screenshot fixtures to demonstrate the caption convention.

Publication limitation: the authenticated GitHub token lacks the gist scope. The prescribed gh gist create failed with:

HTTP 404: Not Found (https://api.github.com/gists)
This API operation needs the "gist" scope.

The 20 PNG captures remain in the Session artifacts under .thirdshift-review-9J0e0I/captures/, with flow, viewport, phase, original paths, and retained paths in captures.json. They could not be embedded from a secret Gist in this session.

Rendered PR example Before capture After capture
Desktop 1440×900 /tmp/before-desktop.hfUaxt.png /tmp/after-desktop.eAZvOT.png
Mobile 390×844 /tmp/before-mobile.CXziis.png /tmp/after-mobile.wAN3ya.png

Review coverage

Independent Standards and Spec reviews used git diff refs/remotes/origin/main...HEAD, fixed point 50c64215251f231ffcec32d229ab0257f2a8e341, reviewing commit 87d9c019.

Both reviewers read all six changed files: .agents/skills/pr/SKILL.md, skills/thirdshift-pr/SKILL.md, site/index.html, site/how-it-works/index.html, site/architecture/index.html, and site/prompts/index.html. Changed files left unread: none. Generated-output exclusions: none. Reports and final files-read lists are retained in .thirdshift-review-9J0e0I/standards.md and spec.md; summary.json records {"standards":0,"spec":0}.

Unaddressed findings

Standards

None. Zero actionable findings.

Spec

None. Zero actionable findings.

Security review outcome

No unaddressed introduced findings.

Merge Danger

Door: two-way

Documentation and generated prompt-page changes are easy to revert.

Blast Radius: evidence

Changes how agents caption PR screenshots and recordings and how the site describes that convention.

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

@JacobStephens2
JacobStephens2 merged commit dfdfeca into main Nov 18, 2026
29 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-2265 branch November 18, 2026 03:03
@JacobStephens2 JacobStephens2 mentioned this pull request Nov 18, 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.

more clearly label the screenshots / visual evidence before and after images

1 participant