security: extend cooldown exempt list with prime-pydantic-config#76
Open
burnpiro wants to merge 1 commit into
Open
security: extend cooldown exempt list with prime-pydantic-config#76burnpiro wants to merge 1 commit into
burnpiro wants to merge 1 commit into
Conversation
ApprovabilityVerdict: Approved This PR modifies build tooling configuration (uv package manager settings) to add a first-party package to the dependency cooldown exempt list and enforce a minimum uv version for correct parsing. No runtime code is affected - changes only impact dependency resolution during builds. You can customize Macroscope's approvability policy. Learn more. |
renderers already had exclude-newer = "7 days" with a per-package exemption for fastokens. This PR splits the inline table into a [tool.uv.exclude-newer-package] section and adds the only other PrimeIntellect-published package in renderers' dep closure: prime-pydantic-config. Only packages in this project's `uv tree` are exempted — the resolver ignores entries for packages it never sees. Pins `required-version = ">=0.11.1"` so older uvs fail loudly instead of silently parsing "7 days" as an RFC 3339 date and proceeding *without* the cooldown — see uv#17908. Part 1 of 3 in a coordinated supply-chain hardening across PI repos. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
334319f to
9f3b24c
Compare
JohannesHa
approved these changes
May 30, 2026
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.
What
Reformats the existing
exclude-newer-packageinline table into a section and addsprime-pydantic-config(the only first-party PI package in renderers'uv treeclosure besidesrenderersitself).Why
Part 1 of a 3-phase supply-chain hardening rolling out across PrimeIntellect repos. renderers already had the cooldown — this PR just completes the canonical first-party exempt set for packages this project actually depends on.
Notes
hatch-vcsissue with the local checkout's tag state (0.1.8.dev37 can't be bumped). The pyproject change is correct and will apply on the next successfuluv lockafter the tag situation is sorted.🤖 Generated with Claude Code
Note
Medium Risk
Narrows the 7-day supply-chain cooldown for a runtime dependency (prime-pydantic-config); intentional first-party carve-out but weakens the gate for that package.
Overview
Tightens uv supply-chain policy in
pyproject.tomlby pinningrequired-version = ">=0.11.1"so the"7 days"exclude-newercooldown is parsed correctly (older uv can skip the policy silently).The inline
exclude-newer-packagemap is moved to a dedicated[tool.uv.exclude-newer-package]section.prime-pydantic-config = falseis added next to the existingfastokensexemption so first-party PI packages in this repo’s dependency tree can resolve without the 7-day gate; comments document why each package is exempt.Reviewed by Cursor Bugbot for commit 9f3b24c. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Exempt
prime-pydantic-configfrom the 7-day uv dependency cooldownAdds
prime-pydantic-configto thetool.uv.exclude-newer-packageexemptions in pyproject.toml, alongside the existing exemption. Also sets a minimum uv version requirement of>=0.11.1to support the per-package exemption syntax.Macroscope summarized 9f3b24c.