Repository navigation
Spec: Fix run - #1804
Merged
Merged
Spec: Fix run#1804
Conversation
Ticket runs already refuse the next session after that edit. A Fix run copied the same title and body into a Repair that can push, and started the session anyway.
Add targeted Fix runs for existing pull requests
Run unattended Fix Passes on eligible pull requests
Keep unattended Fix Pass selection alongside the pre-acquisition trust cutoff, and retain both Fix Pass and Inbox hand-off architecture documentation. Regenerate the user manual from the merged guide.
Add Inbox pull-request hand-off and Console Copy fix command
Preserve Base branch CI repair documentation alongside Inbox pull-request hand-off and Copy fix command. Regenerate the user manual from the merged source. Validation: scripts/affected-tests origin/issue-1784 passed (site, Console, full Rust suite). Rust suite: 2360.94s including compilation. cargo clippy --all-targets -- -D warnings and cargo fmt --check passed.
Monitor and repair Base branch CI in unscoped Fix Passes
The repair description already breaks closing references in check names. The title still used the raw names, and GitHub copies that title into the merge commit.
JacobStephens2
marked this pull request as ready for review
November 6, 2026 04:04
Retain Fix command inspection data alongside Security scope protection.
This was referenced Nov 6, 2026
Closed
This was referenced Nov 6, 2026
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
Targeted runs accept ready or draft PRs by Trusted accounts, including PRs without linked issues. Repairs receive refreshed trusted PR and closing-issue context. Passes respect Command limits, current-head checks and origin reservations; merge, Base fix and email flags/configuration apply. Fix runs use the built-in
fix-runProcess and record logs, status and Run notifications.Closes #1784
Test seams
Evidence
Execution evidence
Before:
cargo test --test review_1784_spec failed_opening_base_repair_is_not_repeated_by_the_next_pass -- --exact --nocapturereproduced two sessions instead of one after the opening repair failed; no draft or Fix Recovery URL existed.After: the same test passes (
1 passed; 0 failed), also verifying the preserved file, draft PR and Recovery URL.Before:
cargo test --test review_1784_spec pending_base_checks_hold_an_unscoped_pass_before_pr_selection -- --exact --nocapturefailed withunscoped Pass selected PR work before Base CI became green.After: the same test passes (
1 passed; 0 failed); pending external Base checks skip before PR selection.Before:
cargo test --test review_1784_spec fix_can_self_merge_a_factory_authored_pr_after_repair_without_review_markers -- --exact --nocapturefailed withhas no recorded agent review, exit 1 instead of 0, after a real Ticket run had authored the PR.After: the same test passes (
1 passed; 0 failed); completed factory Delivery records its exact authored head. Adopted unreviewed heads remain held, including after a no-merge Fix run.Before:
cargo test --test review_1784_spec completed_base_delivery_does_not_skip_the_first_review_pass -- --exact --nocapturefailed withno waiting pull request, one session instead of two.After: the same test passes (
1 passed; 0 failed); authorship evidence enables Fix Self-merge while Review Passes still require their own review evidence.THIRDSHIFT_BINARY=$(cat /tmp/thirdshift-1784-validation-binary) CARGO_BUILD_JOBS=3 RUST_TEST_THREADS=3 /usr/bin/time -p scripts/affected-tests main: passed. Site: 62 tests, 67.69s; Console: 138 tests, 100.68s; full Rust fallbackcargo test: 2,434.79s, including compilation. Whole command: 2,624.05s. Rust unit result: 1,642 passed, 3 intentional skips; all integration targets passed, including all four new regressions.cargo fmt --checkandCARGO_BUILD_JOBS=3 cargo clippy --all-targets -- -D warnings: passed.UPDATE_PROMPTS=1 cargo test --bin thirdshift prompts_page, thencargo test --bin thirdshift prompts_page: 14 passed each; regeneration changed no generated prompts. The four exact reproducer commands above also passed again after the full suite.The first affected-tests attempt passed site checks but lost Console fixture servers during an overlapping binary rebuild. The completed rerun used a stable binary copy through the documented
THIRDSHIFT_BINARYoverride; no test assertions were weakened.Visual evidence
Paired Console captures retained from Ticket #1797's implementation; this review preserves that rendered behavior. Desktop 1440×900 and mobile 390×844, matching state and viewport in each pair.
Inbox, 1440×900
Command details, 1440×900
Inbox, 390×844
Command details, 390×844
Unaddressed findings
Standards
IssueUrl.number = 0(src/fix/base_ci.rs:29–36). Retained compatibility choice: the existing Delivery, PullRequest and CI transports accept an issue-shaped repository address.RepairContext::BaseBranchinsrc/delivery.rsbypasses issue hand-over, and completion closes only real issues selected byclose_base_ci_issues, never this anchor. The publicdelivery_repairs_checks_also_red_on_base_and_self_merges_with_issue_cleanupregression passes. Changing those transport contracts is unnecessary for this Spec; this is a design judgement, with no behavior defect or unresolved Spec/Day shift decision. S2's duplicate race test and S3's misleading method name were addressed.Spec
None. All four behavioral findings were reproduced, fixed and retained as regression tests.
Security
None.
Security review outcome
No unaddressed introduced findings.
Review coverage
Standards raised 3 heuristic findings (2 addressed, 1 retained with the rationale above); Spec raised 4 behavioral findings (all addressed, including the follow-up). Both axes inspected all 68 original changed paths, plus supporting files. Spec inspected all 68 final changed paths. Standards did not reread the final hunks in
src/delivery.rs,src/fix.rs,src/github/review.rsandtests/review_1784_spec.rsafter its single follow-up: theauthored_headnarrowing and fourth regression. Spec inspected those final changes. No entirely unread files remain. Generated-output exclusions: none; generated prompts and HTML were inspected directly.Reports with each axis's combined files-read list and
{"standards":3,"spec":4}are retained beside the Session trace in.thirdshift-review-Ysh6R5/.Merge Danger
Door: two-way
Blast Radius: repository
Scheduled Fix Passes can repair and, when configured, merge pull requests. Reservations and shared Delivery gates control publication.
Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh
Tickets