Repository navigation
Require Before/After visual evidence in agent pull requests - #1747
Merged
Merged
Conversation
The publish recipe copied predictable /tmp capture paths with cp, which follows symlinks, then staged every file and pushed it to a secret Gist. A planted link at that path publishes the target. Copy only regular files this user owns, from this session's mktemp paths.
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 evidence previously let test output satisfy the same slot as UI captures. Factory skills and Day shift skills now capture the baseline before editing and require execution evidence and visual evidence separately.
Regenerates the Prompts and skills page and updates the handwritten workflow explanations.
Closes #1092
Evidence
Execution evidence
The existing generation contract catches a stale public page after the Factory skill edits. Same command before and after regeneration:
cargo test --bin thirdshift prompts_page::tests::prompts_page_shows_what_the_binary_sends -- --exactBefore (updated skills, stale generated page):
After (regenerated page):
The documented detached-worktree recipe captured
mainand removed its temporary checkout. The documented Gist recipe created a secret Gist, cloned it, committed and pushed both PNGs, printed commit-pinned URLs, and removed its clone. Anonymous GETs returned HTTP 200 withimage/pngand bytes matching each local capture; GitHub-rendered Markdown also resolved to the original image bytes.scripts/affected-tests mainpassed in 39m 53s: site checks (62 tests, 79.53s) and the full Rust suite (cargo test, 2312.86s, including 1m 03s of compilation with the earlier targeted-test build cache reused).cargo check --all-targets, prompt-page tests (14), skill tests (4), and packaging tests (7) also passed. GitHub CI is green fora6a58e97.Visual evidence
1440×900 desktop, Prompts and skills page with
thirdshift-prexpanded. The three changed Factory skills' browser-rendered text also matched their source bytes, including shell and Markdown escaping.Test seams
Review coverage
Independent Standards and Spec reviewers compared
main...HEAD(base2596c9ce, heada6a58e97). Each read all ten changed files, including the generated HTML hunks and supporting sources. Generated-output exclusions: none. Unread changed files: none. Standards raised one maintainability finding, declined below; Spec raised zero findings. Neither axis alleged a behavioral defect.Unaddressed findings
Standards
skills/thirdshift-implement/SKILL.md:11,skills/thirdshift-diagnosing-bugs/SKILL.md:26,skills/thirdshift-pr/SKILL.md:169and their Day shift counterparts. #1092's Implementation Decisions explicitly require two-sentence upfront capture instructions in implementation/diagnosis and require the visual rules, fallback and Gist recipe directly under### Evidence, “rather than splitting into a separate reference file.” The issue already makes this placement decision; no further Spec or Day shift decision is being deferred.Spec
None.
Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Blast Radius: Skills
Affects agent behavior during implementation, diagnosis and PR writing. Visual publication requires Gist access; secret Gists are unlisted and readable by anyone holding their URLs.
Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh