Skip to content

Let Fix Passes Self-merge newly authored Base branch repairs - #2272

Merged
JacobStephens2 merged 5 commits into
mainfrom
issue-2029
Nov 18, 2026
Merged

JacobStephens2 merged 5 commits into
mainfrom
issue-2029

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

Fix Pass
  new Base branch CI repair → merge-base-fix permits Self-merge
  selected PR → existing merge/no-merge and merge.always policy

Closes #2029

Test seams

  • CLI parsing through args::parse: Pass-only word acceptance and argument errors.
  • Compiled thirdshift fix through Scenario, real Git and fake GitHub/Harness: newly authored repairs, selected reviewed heads, existing repair selection, targeted retries and author scoping.

Evidence

Execution evidence

  • Before: cargo test --test fix_base_ci merge_base_fix_self_merges_only_the_new_base_repair -- --exact
    failed with not a GitHub pull request URL: merge-base-fix (exit 2 instead of 0; 0 passed, 1 failed).
    After: the same command passed (1 passed, 0 failed), covering default/configured merge policy and explicit no-merge.
  • Before: cargo test --bin thirdshift args::tests::merge_base_fix_is_only_a_fix_pass_word -- --exact
    failed with ["architect", "merge-base-fix"] was accepted (0 passed, 1 failed).
    After: the same command passed (1 passed, 0 failed).
  • Selected reviewed feature heads keep the existing flag/config precedence. Existing repair PR selection, targeted retries, current-head review holds, author scoping and omission are covered through the compiled CLI.
  • npm test --prefix site: 72 passed. cargo fmt --check: passed.
  • Spec review found a literal-value regression. Before: cargo run --quiet -- --oom-exec /usr/bin/test merge-base-fix = merge-base-fix exited 2 with merge-base-fix applies only to a Fix Pass. After: the exact command exited 0. The exact command cargo test --bin thirdshift args::tests::merge_base_fix_remains_a_literal_base_value -- --exact failed before the fix and now passes (1 passed, 0 failed); the regression test is retained.
  • Before: cargo test --test command_surface help_is_a_compact_reference_with_a_link_to_the_details -- --exact failed with help should fit in a short reference, got 69 lines. After: the exact command passed (1 passed, 0 failed); the option description now fits the existing Fix command entry.
  • Final CARGO_BUILD_JOBS=2 RUST_TEST_THREADS=3 scripts/affected-tests refs/remotes/origin/main on 4c719b9e: site 72 passed; Rust unit suite 1,971 passed, 3 ignored. The remaining local integration run was stopped after successful CI covered that exact head, following docs/testing.md's CI-reuse guidance. This was an interrupted local run, not a claimed full local pass.
  • CI on 4c719b9e passed: all four Linux Rust partitions, exact coverage gate, the final test gate, Console and site checks. This includes the new parser/CLI regressions and the compact-help test. The final local Rust run used cached builds and had no failures before it was stopped.
  • An initial scripts/affected-tests main used the older local main and selected unrelated Console checks. Site tests and the locked build passed, but the Console run stopped with connection-refused failures (127 passed, 133 failed). The final selector uses the requested fixed point, and Console CI passes on the final head.

Visual evidence

Expanded Fix Pass documentation at desktop and mobile widths.

Before — home, desktop 1440×900

Before — home, desktop 1440×900

After — home, desktop 1440×900

After — home, desktop 1440×900

Before — home, mobile 390×844

Before — home, mobile 390×844

After — home, mobile 390×844

After — home, mobile 390×844

Before — how-it-works, desktop 1440×900

Before — how-it-works, desktop 1440×900

After — how-it-works, desktop 1440×900

After — how-it-works, desktop 1440×900

Before — how-it-works, mobile 390×844

Before — how-it-works, mobile 390×844

After — how-it-works, mobile 390×844

After — how-it-works, mobile 390×844

Before — architecture, desktop 1440×900

Before — architecture, desktop 1440×900

After — architecture, desktop 1440×900

After — architecture, desktop 1440×900

Before — architecture, mobile 390×844

Before — architecture, mobile 390×844

After — architecture, mobile 390×844

After — architecture, mobile 390×844

Before — manual, desktop 1440×900

Before — manual, desktop 1440×900

After — manual, desktop 1440×900

After — manual, desktop 1440×900

Before — manual, mobile 390×844

Before — manual, mobile 390×844

After — manual, mobile 390×844

After — manual, mobile 390×844

Unaddressed findings

Standards

None skipped.

Spec

None skipped.

Security

None. Guidance-mode source review of 9ada65a7a8f35d2717ae04313976c77d7ad60ec9...4c719b9e38e772bf2b76d732992532cb95c27527 covered all ten changed files and supporting parsing, merge-policy, worktree-acquisition, Delivery, review-evidence, CI and Self-merge code. No introduced security findings were identified. Source review only; no runtime tests or source changes were needed.

Security review outcome

No unaddressed introduced findings.

Review coverage

Independent thirdshift-code-review reports against refs/remotes/origin/main: Standards 0 findings; Spec 1, reproduced, fixed and re-reviewed. Both axes read all ten changed files through 91628479, including the generated manual; no files were excluded. The final help-only relocation in src/main.rs (4c719b9e) was tested after CI caught the 68-line limit, and was not independently re-reviewed; that last hunk is the only review coverage gap. Reports and counts are retained in .thirdshift-review-GcIBFQ/.

Merge Danger

Door: two-way

Blast Radius: Fix

Opt-in merge permission for newly authored Base branch CI repairs. Existing Delivery and reviewed-head gates remain in force; selected PRs keep their existing merge policy.

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

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

Let a Fix Pass Self-merge its Base branch repair without Self-merging the pull requests it fixes

1 participant