feat(audit): dogfood the pip-audit dependency-audit gate on the maintainer repo#8
Merged
Merged
Conversation
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.
Summary
Dogfood the dependency-audit gate the template ships (roadmap gap #5): the maintainer repo now audits its own locked dependency graph with pip-audit, so it practices the guardrail it forces on every downstream.
Changes
just audit—uv exportthe fully-resolved lockfile, thenuvx pip-audit@2.10.1over it (.gitignorebackstop for the temp export). Out-of-band (chained into no recipe), mirroring howjust scanis wired.pip-auditstep in the existingscanjob oftest-template.yml(reuses the checkout +setup-uv; no new job, action, or token).## Dependency auditsection inAGENTS.md(framing + pin-sync obligation) plus the design + plan underdocs/superpowers/.Testing
just audit→ 35 packages, no known vulnerabilities, exit 0.uv export … --no-devyields 0 packages vs 35 without it (confirms the gate is substantive, not vacuously green).ruff check/ruff format --check/ basedpyright green.Notes for reviewers
--no-devis deliberately dropped (the template keeps it).package = falseputs every dep in the dev group, so the template's--no-devexport would be empty and pass vacuously here — dropping it audits the real ~35-package graph. Documented inAGENTS.md; do not restore it.Related
docs/superpowers/plans/2026-07-01-dogfood-gap-audit.md; follows gaps docs(specs): add dependency-inventory design spec #1 (pre-commit, chore(pre-commit): dogfood the shipped pre-commit gate on the maintainer repo #6) and docs(plan): add dependency-surface inventory implementation plan #2 (scanners, feat(scan): dogfood the shipped gitleaks + semgrep gate on the maintainer repo #7).