Skip to content

fix: skip active Spec Ticket PRs in author Review Passes - #2293

Merged
JacobStephens2 merged 2 commits into
mainfrom
issue-2290
Nov 19, 2026
Merged

JacobStephens2 merged 2 commits into
mainfrom
issue-2290

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

Author Review Passes now leave a Spec run's Ticket PRs with the Command delivering them, including PRs into a non-default Spec branch.

Review Pass admission (before and after PR reservation)
  read GitHub closing issues
  if none are linked, read local closing references in the PR body
  also include the base Spec's issue for a canonical Issue branch
  skip a held PR, naming the holding Spec or closing issue

The base check reuses the canonical Issue branch rule, including numbered continuations. Closing-link read failures still stop admission. The guide, glossary and site pages describe the added holds.

Closes #2290

Evidence

Execution evidence

Confirmed cause: admission previously visited only closingIssuesReferences. With that list empty, it never observed either the base Spec's Claim or a closing issue's reservation named in the body. The two regressions isolate those signals independently.

  • Before: cargo test --test review_pass author_pass_skips_a_ticket_pr_into_a_claimed_spec_branch -- --exact --nocapture failed: 0 passed; 1 failed. Its stderr showed working on pull request https://github.com/acme/widgets/pull/1 and running step review-and-address despite the base Spec Numbered Issue branches after a merged or closed PR #7's Claim.
    After: The same command passed: 1 passed; 0 failed; the PR is skipped with base Spec #7 and no agent session.
  • Before: cargo test --test review_pass author_pass_skips_a_body_closing_issue_reservation_when_github_links_are_empty -- --exact --nocapture failed: 0 passed; 1 failed. Review ran despite Closes #7 and Numbered Issue branches after a merged or closed PR #7's held origin reservation.
    After: The same command passed: 1 passed; 0 failed; the skip names closing issue #7 and the reservation remains held.
  • cargo test --test review_pass: 31 passed, 2 ignored. Includes canonical and malformed Issue branch names, body keywords, default-branch admission, and holds appearing after PR reservation.
  • npm run docs:check --prefix site: passed.
  • scripts/affected-tests refs/remotes/origin/main: passed. Site: 72 passed in 53.21s. Full Rust suite via cargo test: passed in 1783.56s, including compilation (2m 18s).
  • GitHub CI for the exact pushed commit ba017625: passed, including all four Rust partitions and their coverage gate, site tests, Console tests and build checks.

Seams under test: the thirdshift review --author colleague --recommend-only CLI with real Git/origin repositories and fake GitHub and Harness executables; existing explicit PR review cases run in the same integration test file.

Visual evidence

Documentation wording at matching Review run states, captured with headless Chromium. Uploaded as GitHub attachments under ADR 0034.

Before — Review run guide, desktop 1440×900

Before Review run guide at 1440×900

After — Review run guide, desktop 1440×900

After Review run guide at 1440×900

Before — Review run guide, mobile 390×844

Before Review run guide at 390×844

After — Review run guide, mobile 390×844

After Review run guide at 390×844

Review coverage

Independent Standards and Spec reviews against refs/remotes/origin/main (e0e50298): 0 actionable findings on each axis. Both reviewers read all nine changed files, including generated site/docs/index.html; no generated-output exclusions and no unread changed files. Full reports and final files-read lists are retained in the Session artifacts at .thirdshift-review-FqJEaa/standards.md and .thirdshift-review-FqJEaa/spec.md, with summary.json beside them.

Unaddressed findings

  • Standards: None.
  • Spec: None.
  • Security: None.

Security review outcome

No unaddressed introduced findings.

Merge Danger

Door: two-way

Revert restores the previous admission behavior; no stored data format changes.

Blast Radius: Review

Author Review Pass selection only; explicit PR review keeps its existing admission behavior.

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

@JacobStephens2
JacobStephens2 merged commit c437c06 into main Nov 19, 2026
25 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-2290 branch November 19, 2026 02:01
@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.

Review Pass reviews Spec-run Ticket PRs: closing issues aren't linked for non-default bases

1 participant