Harden release validator bootstrap #9

Closed
clawlter wants to merge 1 commit from audit/harden-release-bootstrap into main
Owner

Summary

  • Replace the release/index-derived validator bootstrap with a reviewed version- and SHA256-pinned wheel download.
  • Verify the artifact before virtualenv/pip execution, keep subprocess failures fail-closed, and resolve venv Python paths on Windows.
  • Use the hardened bootstrap before every release validation/publish step and add behavioral/workflow regression coverage.

Verification

  • pytest: 42 passed (99.10% coverage)
  • ruff check, formatter, and mypy passed
  • MkDocs strict build and uv build/twine check passed
  • Workflow YAML and published pinned-wheel SHA256 verified

No package was installed from the live registry; no token settings were changed.

## Summary - Replace the release/index-derived validator bootstrap with a reviewed version- and SHA256-pinned wheel download. - Verify the artifact before virtualenv/pip execution, keep subprocess failures fail-closed, and resolve venv Python paths on Windows. - Use the hardened bootstrap before every release validation/publish step and add behavioral/workflow regression coverage. ## Verification - `pytest`: 42 passed (99.10% coverage) - `ruff check`, formatter, and mypy passed - MkDocs strict build and `uv build`/`twine check` passed - Workflow YAML and published pinned-wheel SHA256 verified No package was installed from the live registry; no token settings were changed.
Harden release validator bootstrap
Some checks failed
CI / Validate lint, typing, tests, docs, and build (pull_request) Failing after 46s
Docs site / Validate docs build (pull_request) Successful in 1m41s
efc2503a05
clawlter closed this pull request 2026-07-11 07:52:17 -04:00
Some checks failed
CI / Validate lint, typing, tests, docs, and build (pull_request) Failing after 46s
Required
Details
Docs site / Validate docs build (pull_request) Successful in 1m41s

Pull request closed

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
clawlter/policyglass!9
No description provided.