Repository navigation
Keep Fix run validation logs local and scope Review PR checks - #2101
Merged
Merged
Conversation
# Conflicts: # prompts/pull-request-address.md # prompts/pull-request-ci-fix-repair.md # prompts/pull-request-review.md # prompts/pull-request-validation.md # site/prompts/index.html
A branch .gitignore that re-includes /.validation-logs/ outranks Delivery's info/exclude line, and a tracked path under that directory ignores the line. Failed-run preservation's git add -A then publishes the local log. Write an inner * gitignore without following a symlink, and drop any already tracked path from the index unless a merge, cherry-pick, rebase, or revert is in progress.
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
Fix CI sessions now keep validation logs inside their Worktree and reproduce failures with targeted tests. Review sessions check PR state at most once immediately before a multi-minute suite.
Regenerates the prompt catalogue and updates the hand-written site guidance.
Closes #2050
Evidence
Execution evidence
cargo test --test fix_run ci_fix_discards_validation_logs_without_committing_themFAILED;validation logs were published (failed session: false),left: Some("test output"),right: None.test result: ok. 1 passed; 0 failed. Exercises ordinary commits and Failed run preservation, retaining the repair while discarding leftover logs.cargo test --bin thirdshift prompt::tests::ci_fix_validation_keeps_logs_local_and_reproduces_with_targeted_testsBefore:
FAILEDwith this missing instruction:After:
test result: ok. 1 passed; 0 failedacross Base branch, issue and pull-request CI-fix contexts.cargo test --bin thirdshift prompt::tests::review_checks_pr_state_once_before_a_multi_minute_suiteFAILED; the scoped instruction was absent and the Address prompt also inheritedBefore additional validation.test result: ok. 1 passed; 0 failedfor Address and Recommend-only modes.cargo test --test fix_base_ci unchanged_base_ci_fix_publishes_nothing_and_is_not_repeated: passed with validation logs left behind.tests/ci.rs; the ordinary and mixed/inherited failure tests pass directly.UPDATE_PROMPTS=1 cargo test prompts_pageandcargo test prompts_page: 14 passed each.cargo fmt --check: passed.CARGO_BUILD_JOBS=2 NEXTEST_TEST_THREADS=4 RUST_TEST_THREADS=4 /usr/bin/time -p scripts/affected-tests main: passed. Site: 68 tests, 97.21s. Full Rust suite (cargo nextest run): 4,409 passed, 102 skipped, 3385.49s; compilation included with a warm build cache. Total entry-point wall time: 3482.95s.Visual evidence
CI-fix prompt catalogue, desktop 1440×900:
Same flow, mobile 390×844:
Playwright also verified the rendered Fix guidance, the scoped check in both Review modes, and no horizontal overflow at both viewports.
Test seams
thirdshift fixcommand with real Git and fake services: leftover validation logs are discarded without publication on successful Delivery or Failed run preservation, including an unchanged Base branch CI fix.Review coverage
Independent Standards and Spec reviews against
refs/remotes/origin/main: 0 Standards findings; 0 Spec findings across the initial review and coverage follow-up. Both reviewers read all 15 changed files, including generated output. Generated exclusions: none. Unread changed files: none.Unaddressed findings
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Blast Radius: Sessions
Delivery registers
.validation-logs/in the repository's local Git exclude file. Existing owned Worktree cleanup removes those logs; prompt changes guide subsequent CI-fix and Review sessions.Built with codex codex-cli 0.167.2 · gpt-6.1-sol · xhigh