Skip to content

Harden branch adjudication Git evidence#22

Merged
andrei-hasna merged 1 commit into
mainfrom
fix/branch-adjudication-git-env-d1d67b73
Jul 16, 2026
Merged

Harden branch adjudication Git evidence#22
andrei-hasna merged 1 commit into
mainfrom
fix/branch-adjudication-git-env-d1d67b73

Conversation

@andrei-hasna

Copy link
Copy Markdown
Contributor

Summary

  • Fixes the P1 inherited GIT_* authority bypass in branch-adjudication Git evidence checks.
  • Scrubs inherited GIT_* case-insensitively and enforces explicit no-fetch, no-replace, and no-protocol controls.
  • Adds five regressions covering GIT_DIR/GIT_WORK_TREE, object directory, alternate objects, replacement objects, and injected lazy fetch.

Verification

  • RED: 9 pass / 5 fail.
  • GREEN: focused 14/14; related superset 146/146; full 357/357; typecheck and build.
  • Manifests and lockfiles unchanged.
  • Two independent exact-commit reviews.
  • Staged and exact committed-range gitleaks: zero leaks.

Scope

No live DB, apply, install, or publish.

@andrei-hasna
andrei-hasna merged commit 4042048 into main Jul 16, 2026
1 check passed
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.

1 participant