Repository navigation
Label PR screenshots and recordings with visible Before/After captions - #2266
Merged
Merged
Conversation
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.
Summary
PR screenshots and recordings now get a visible caption immediately above every image:
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:
After:
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 mainpassed the site suite,cargo build --locked, and Console browser suite. Its Rust run stopped attests/plan_usage.rs:322: the test removes its fakeagy, but this host's real~/.local/bin/agyremains discoverable through the inherited PATH, soinstalledistrueinstead of the expectedfalse.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 realagyfrom this validation process's PATH made the same command pass (1 passed, 0 failed). The relevantsrc/,tests/, and Cargo files are unchanged fromrefs/remotes/origin/main(git diff --exit-code refs/remotes/origin/main HEAD -- Cargo.toml Cargo.lock src tests).python3 /tmp/issue-2265-remaining-tests.pythen passed all 63 remaining Rust integration suites with the cleaned PATH, including the fullplan_usagefile: 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
gistscope. The prescribedgh gist createfailed with:The 20 PNG captures remain in the Session artifacts under
.thirdshift-review-9J0e0I/captures/, with flow, viewport, phase, original paths, and retained paths incaptures.json. They could not be embedded from a secret Gist in this session./tmp/before-desktop.hfUaxt.png/tmp/after-desktop.eAZvOT.png/tmp/before-mobile.CXziis.png/tmp/after-mobile.wAN3ya.pngReview coverage
Independent Standards and Spec reviews used
git diff refs/remotes/origin/main...HEAD, fixed point50c64215251f231ffcec32d229ab0257f2a8e341, reviewing commit87d9c019.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, andsite/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.mdandspec.md;summary.jsonrecords{"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