Skip to content

fix(cook): require verified repro before opening ready PRs - #18878

Open
chubes4 wants to merge 1 commit into
mainfrom
fix/issue-18874-homeboy
Open

chubes4 wants to merge 1 commit into
mainfrom
fix/issue-18874-homeboy

Conversation

@chubes4

@chubes4 chubes4 commented Nov 23, 2026

Copy link
Copy Markdown
Member

Summary

Cook now opens new PRs as drafts unless a repro failed on base and passed on the candidate. Preview and start output explain the publication policy, while existing PRs retain their state.

What changed

  • Default unproven Cook publications to draft at finalization.
  • Keep --draft-pr authoritative even with a verified repro.
  • Preserve existing Cook PR draft or ready state.
  • Expose publication policy in preview, start output, and option help.
  • Cover verified, unproven, forced-draft, and existing-draft outcomes with targeted tests.

Verification

  • 1-verify-2d009b4c2fff7c140a0e853344ad59d7dd2bd2a362627a962da72a2e39704a8f.txt (cargo fmt --all --check): passed on d9a6bb3. Base main@3f5115a advanced to 9cdb870 (base_behind_by: 2; rebase onto the current base before merging). 12613 ms; retained gate metadata.

  • 2-verify-aaf750d30a0e7ed378059034b15ad55a7c8cd12ca5d8aa08fb0d9716e2921440.txt (cargo check --workspace --all-targets): passed on d9a6bb3. Base main@3f5115a advanced to 9cdb870 (base_behind_by: 2; rebase onto the current base before merging). 94425 ms; retained gate metadata.

  • HOMEBOY_LINT_BASE=3f5115a27b980a84f6a95a3ba7658fe91ae884fa homeboy --placement l (HOMEBOY_LINT_BASE=3f5115a27b980a84f6a95a3ba7658fe91ae884fa homeboy --placement local review lint homeboy --path . --cha…): passed on d9a6bb3. Base main@3f5115a advanced to 9cdb870 (base_behind_by: 2; rebase onto the current base before merging). 274589 ms; retained gate metadata.

  • repro: none (no repro gate was declared, so these gates do not prove the issue).

  • CI: pending

Cook run
  • Gate 1: tree c19999c0f4006aebe375439af249dfde4688c7ae
  • Gate 2: tree c19999c0f4006aebe375439af249dfde4688c7ae
  • Gate 3: tree c19999c0f4006aebe375439af249dfde4688c7ae

Evidence

Evidence is missing: no measurements, before/after observations or repro results were supplied.

AI disclosure

Tool: Homeboy Cook. Agent: Homeboy (roadie). Model: roadie · route cook-heavy · served gpt-6.1-sol. Cook time: 18m11s.

AI implemented the publication policy and accompanying regression tests, under the direction of the Cook requester. Gates were run by Homeboy. A human reviews before merge.

Closes #18874

This branch has not been deployed

No deployments
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.

Cook PRs open ready without proof: default to draft unless the repro gate verified the task

1 participant