Skip to content

feat(cook): attach bench compare gates with regression policies - #18875

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-18869-homeboy
Nov 23, 2026
Merged

chubes4 merged 1 commit into
mainfrom
fix/issue-18869-homeboy

Conversation

@chubes4

@chubes4 chubes4 commented Nov 23, 2026

Copy link
Copy Markdown
Member

Summary

Cooks can now attach a corpus comparison using --verify-bench and a declared regression policy. Compare verdicts, aggregate deltas, and artifact paths appear in gate results, the stable Cook summary, and notifications.

What changed

  • Compile bench specs into visible gates comparing the immutable Cook base with the candidate.
  • Never classify failed bench comparisons as inherited baseline failures.
  • Expose comparison evidence and artifact links in Cook summaries and notifications.
  • Add fixture regression coverage and document the gate contract.

Verification

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

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

  • HOMEBOY_LINT_BASE=b83ed16f8ff57b02fd31cc7a7159a5b6ea700417 homeboy --placement l (HOMEBOY_LINT_BASE=b83ed16f8ff57b02fd31cc7a7159a5b6ea700417 homeboy --placement local review lint homeboy --path . --cha…): passed on ec22f62. Base main@b83ed16 advanced to 3f5115a (base_behind_by: 2; rebase onto the current base before merging). 229426 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 92ff9080af7f289308e85ab83b012c8d7ea9e0ef
  • Gate 2: tree 92ff9080af7f289308e85ab83b012c8d7ea9e0ef
  • Gate 3: tree 92ff9080af7f289308e85ab83b012c8d7ea9e0ef

Evidence

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

AI disclosure

Tool: Homeboy Cook. Agent: Homeboy (pi). Model: Pi · route cook-heavy · served claude-opus-5-5, gpt-6.1-sol. Cook time: 1h03m.

AI implemented the gate integration, documentation, and focused tests, under the direction of the Cook requester. Gates were run by Homeboy. A human reviews before merge.

Closes #18869

@chubes4
chubes4 merged commit 3d067bb into main Nov 23, 2026
18 checks passed
@chubes4
chubes4 deleted the fix/issue-18869-homeboy branch November 23, 2026 15:14
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.

bench compare: attach as a Cook gate with a declared regression policy

1 participant