fix(repo-hygiene): scan only the selected Git history #11

Manually merged
robin.everaars merged 1 commit from fix/hygiene-own-commits-clean into main 2026-11-04 16:09:57 +00:00
Owner

Change

Select HEAD ancestry by default or an explicit base-SHA..head-SHA range for PRs.
Keep Git-mode AND allowlists. Refuse partial or unavailable ranges before scanning.
No workflow is added. The README documents the local test command.

Local verification

Tests: +7 -0. Full suite: 27 passed. SHA-1 compatibility: 7 passed.
Use the pinned Nix command in README.md to run python3 -m pytest -q.
Ruff, formatting, ShellCheck, REUSE and the secret scan passed. Actionlint passed for the existing workflows with the repo config.

Mutation

Each row ran the complete 27-test suite: only its named case failed, with 26 passing.

Case Mutation
PR isolation and own-secret detection SHA-256 width 64 to 63
Default HEAD history Change the input default to --all
Missing PR base Make the left SHA optional
Missing PR head Make the right SHA optional
Unavailable endpoint Skip the availability refusal
Directory command Add dir to the accepted commands
Legacy directory mode Skip the --no-git refusal

Rollout

Current default-branch workflow inventory of all 40 API-visible repositories found one consumer: dp-engine, pinned to v0.3.1. Existing pins are unchanged.
Proposed release: v0.7.1, followed by the dp-engine range wiring and pin bump.
Independent source review accepted. Independent execution review accepted with 7 regression cases passing.
Owner approved squash merge and v0.7.1.

## Change Select HEAD ancestry by default or an explicit base-SHA..head-SHA range for PRs. Keep Git-mode AND allowlists. Refuse partial or unavailable ranges before scanning. No workflow is added. The README documents the local test command. ## Local verification Tests: +7 -0. Full suite: 27 passed. SHA-1 compatibility: 7 passed. Use the pinned Nix command in README.md to run `python3 -m pytest -q`. Ruff, formatting, ShellCheck, REUSE and the secret scan passed. Actionlint passed for the existing workflows with the repo config. ## Mutation Each row ran the complete 27-test suite: only its named case failed, with 26 passing. | Case | Mutation | | --- | --- | | PR isolation and own-secret detection | SHA-256 width 64 to 63 | | Default HEAD history | Change the input default to --all | | Missing PR base | Make the left SHA optional | | Missing PR head | Make the right SHA optional | | Unavailable endpoint | Skip the availability refusal | | Directory command | Add dir to the accepted commands | | Legacy directory mode | Skip the --no-git refusal | ## Rollout Current default-branch workflow inventory of all 40 API-visible repositories found one consumer: dp-engine, pinned to v0.3.1. Existing pins are unchanged. Proposed release: v0.7.1, followed by the dp-engine range wiring and pin bump. Independent source review accepted. Independent execution review accepted with 7 regression cases passing. Owner approved squash merge and v0.7.1.
fix(repo-hygiene): scan only the selected Git history
All checks were successful
Cache protocol probe / cache (pull_request) Successful in 2s
Cache protocol probe / isolation (pull_request) Successful in 38s
Cache protocol probe / policy (pull_request) Successful in 57s
f3f73b173f
robin.everaars changed title from WIP: fix(repo-hygiene): scan only the selected Git history to fix(repo-hygiene): scan only the selected Git history 2026-11-04 16:05:09 +00:00
robin.everaars manually merged commit 197e1fbcf7 into main 2026-11-04 16:09:57 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
HOIST-IT-Actions/actions!11
No description provided.