Add PatchWitness to point-of-use validations - #96
Open
pangxueyuan2-creator wants to merge 1 commit into
Open
Conversation
pangxueyuan2-creator
force-pushed
the
add-patchwitness
branch
from
August 12, 2026 05:03
70f7695 to
87d6894
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why it belongs here
PatchWitness is a point-of-use validation layer for code changes produced by AI coding agents. It independently derives the diff from Git, loads policy from a trusted base revision so a patch cannot weaken its own rules, runs real repository checks, blocks protected workflow/control-plane edits, and emits a portable Change Passport with offline hash verification.
The project is Apache-2.0, provider-neutral, and ships as a CLI, Python SDK, MCP interface, and GitHub Marketplace Action with JSON/SARIF output.
Scope of this change
Disclosure: I maintain PatchWitness. I am submitting it because its trusted-base policy and independently verifiable evidence fit this list's attestation and point-of-use model; I am not claiming third-party adoption or endorsement.
Repository: https://github.com/pangxueyuan2-creator/patchwitness
Reproducible demo: https://github.com/pangxueyuan2-creator/patchwitness/tree/main/demo
GitHub Action: https://github.com/marketplace/actions/patchwitness-gate