feat: prepare focused v0.4.0 template refresh - #27
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 69266fb. Configure here.
| key = tuple(map(int, version.split("."))) | ||
| releases.append((key, version, min(timestamps))) | ||
| latest = max(releases) | ||
| eligible = max(release for release in releases if release[2] <= cutoff) |
There was a problem hiding this comment.
Inventory script empty eligible crash
Low Severity
The new Step 1 inventory script uses max(...) on the eligible-release generator with no fallback. If every stable release for a package is newer than the 14-day cutoff (or none qualify), the generator is empty and the script raises ValueError instead of reporting that no eligible version exists.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 69266fb. Configure here.
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
Why
This prepares the focused v0.4.0 minor release so newly rendered projects start with current eligible tooling without adopting releases younger than two weeks. It also closes gaps where direct uv commands, mutable action tags, unpinned runners, or isolated build resolution could bypass the documented policy.
Validation
The eligible get-tbd 0.3.0 repository bootstrap migration is intentionally deferred: its 142-file f05/f06 and forkable-docs delta is unrelated to generated-project currency and is tracked separately.
Note
Medium Risk
Touches CI/publish workflows, dependency resolution defaults, and the release build path for all future renders; supply-chain controls are intentional but behavior changes (cool-off, non-isolated builds) need downstream validation.
Overview
Prepares the v0.4.0 minor release by freezing 14-day-eligible tool versions and tightening how generated projects resolve, install, and build dependencies.
Supply chain and tooling: Bumps pinned uv (0.11.25), Copier (9.16.0), and dev-tool floors (pytest, Ruff, basedpyright). Adds a frozen v0.4.0 supply-chain manifest and expands updating.md with a reproducible audit script and release checklist. Pins npm skill installer usage and hardens skill-validate CI with script ignore and a frozen
beforecutoff.Generated projects: Sets
[tool.uv] exclude-newer = "14 days"and exportsUV_EXCLUDE_NEWERfrom Makefiles (template repo and rendered project). Documentsuvx/uv add --exclude-newerandmake installinstead of rawuv syncacross README, skill, and copier post-copy messages.CI and Actions: Pins actions/checkout and setup-uv to full commit SHAs, disables persist-credentials, verifies uv with the official Linux checksum, and syncs with
--all-groups. Release builds useuv build --no-build-isolation.Build graph: Exact-pins hatchling and uv-dynamic-versioning in
[build-system]and a new lockedbuilddependency group so wheels/sdists come fromuv.lock, not an isolated build resolver.Reviewed by Cursor Bugbot for commit 69266fb. Bugbot is set up for automated code reviews on this repo. Configure here.