Skip to content

feat(tools): export pinned PR overlap evidence - #21678

Closed
mjnhbg3 wants to merge 5 commits into
boykopovar:mainfrom
mjnhbg3:codex/overlap-evidence
Closed

mjnhbg3 wants to merge 5 commits into
boykopovar:mainfrom
mjnhbg3:codex/overlap-evidence

Conversation

@mjnhbg3

@mjnhbg3 mjnhbg3 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What

Export immutable evidence for overlap reports, including pinned Git objects, source and patch bytes, and explicit states for incomplete evidence. This preserves the checker’s fail-closed behavior.

The feature commit adapts to the current overlap checker. A separate test commit shares fixture setup while retaining every original case and assertion.

Tested

Windows, 37 original CTest registrations checked, including 23 evidence test methods. Verified a live evidence packet with 83 selected peers and independently checked its 347 stored objects. Audited 32 shared file and merge-base pairs across the 26 older peers the checker could not automatically compare.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 1835 CMakeLists.txt
PR 4847 docs/user/USAGE.md
PR 5925 docs/user/USAGE.md
PR 6924 docs/user/USAGE.md
PR 7642 CMakeLists.txt
docs/user/USAGE.md
PR 9345 docs/user/USAGE.md
PR 9508 CMakeLists.txt
docs/user/USAGE.md
PR 10193 CMakeLists.txt
docs/user/USAGE.md
PR 10861 docs/user/USAGE.md
PR 10897 CMakeLists.txt
PR 12678 docs/user/USAGE.md
PR 13928 CMakeLists.txt
docs/user/USAGE.md
PR 13929 CMakeLists.txt
docs/user/USAGE.md
PR 15456 docs/user/USAGE.md
PR 15973 docs/user/USAGE.md
PR 16571 docs/user/USAGE.md
PR 18082 docs/user/USAGE.md
PR 21211 docs/user/USAGE.md
PR 22178 CMakeLists.txt
PR 22434 docs/user/USAGE.md
PR 22647 docs/user/USAGE.md
PR 23636 docs/user/USAGE.md
PR 23781 docs/user/USAGE.md
PR 23842 docs/user/USAGE.md
PR 23970 CMakeLists.txt
PR 23975 docs/user/USAGE.md
PR 24016 tools/pr_overlap.py
PR 24915 docs/user/USAGE.md
PR 25483 docs/user/USAGE.md
PR 27133 docs/user/USAGE.md
PR 27628 tools/pr_overlap.py
PR 28372 docs/user/USAGE.md
PR 28384 docs/user/USAGE.md
PR 28485 CMakeLists.txt
PR 28488 docs/user/USAGE.md

@mjnhbg3
mjnhbg3 force-pushed the codex/overlap-evidence branch from 9227d77 to df8bd5b Compare November 17, 2026 22:52

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — looks good

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head ca8762f3d09bf617ae43083055e0f9561a6c33ea. I inspected the supplied diff and changed-file sources; I did not run tests or commands.

Results

Check Result Note
Diff and source review passed All five changed files read
Tests not run No runtime verification performed

Findings

Blocking

None found in the reviewed changes.

Non-blocking

None.

Not verified

No tests were run, including the new evidence test cases. I read every changed file and every added line listed in the review manifest: CMakeLists.txt, docs/user/USAGE.md, tools/pr_overlap.py, tools/pr_overlap_evidence.py, and tools/tests/test_pr_overlap_evidence.py. No changed files were excluded.

To get this to a good state

Nothing is required.

@ligmaSec ligmaSec left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran the submitted PR-overlap evidence suite on Linux. All 23 cases passed. The Git fixtures cover binary and CRLF bytes, executable modes, renames, gitlinks, and symlinks without materializing their targets.

AI-assisted: yes.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

I'm closing #21420, #21678 and #21760 together. On 26 Nov I asked who would use each of these tools, and no user or workflow has been named since. The test runs posted on 3 Dec show the suites pass, but they don't name anyone who uses the tools, so I haven't reviewed the code itself.

Reopen any of them once a person, seat or workflow will run it, and I will review it on that basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants