Skip to content

Set 7-day minimum release age for npm and bun installs - #25

Open
akan72 wants to merge 3 commits into
akan72/uv-python-managementfrom
akan72/min-release-age
Open

Set 7-day minimum release age for npm and bun installs#25
akan72 wants to merge 3 commits into
akan72/uv-python-managementfrom
akan72/min-release-age

Conversation

@akan72

@akan72 akan72 commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Summary

Test Plan

  • Ran the complete installer in a fresh synthetic home on the Mac mini.
  • Compared Manage Python with uv + 7-day minimum release age #23 with this PR; confirmed min-release-age=7 is appended to .npmrc and .bunfig.toml is linked.
  • Ran bash -n assimilate.sh and git diff --check.
  • GitHub Actions run 32595081381 passed all eight jobs for the complete accumulated stack.
  • Screenshots: not applicable; validation was CLI-based.

@akan72
akan72 changed the base branch from main to akan72/claude-statusline-settings August 22, 2026 19:29
@akan72
akan72 force-pushed the akan72/min-release-age branch from 33c6da9 to 2dbbaaf Compare August 22, 2026 19:29
@akan72
akan72 changed the base branch from akan72/claude-statusline-settings to akan72/uv-python-management August 22, 2026 19:36
@akan72
akan72 force-pushed the akan72/min-release-age branch from 2dbbaaf to 74abeb6 Compare August 22, 2026 19:36
@akan72
akan72 force-pushed the akan72/min-release-age branch from 74abeb6 to bda5fad Compare August 22, 2026 19:42
@akan72
akan72 force-pushed the akan72/min-release-age branch from bda5fad to a6fdf28 Compare August 22, 2026 19:46
@akan72
akan72 force-pushed the akan72/min-release-age branch from a6fdf28 to 6bc2af5 Compare August 22, 2026 19:50
akan72 added 3 commits August 22, 2026 15:53
Add an idempotent step to assimilate.sh that sets Claude Code's commit/PR
attribution to empty in ~/.claude/settings.json. It only appends the
"attribution" key when it isn't already present (via jq merge), so existing
local settings are never overridden — matching the 'append if absent' intent.
Makes the attribution-off behavior reproducible on new machines.
Extends the supply-chain protection uv got in #23 to the JS package
managers actually in use:

- npm: min-release-age=7 (days) appended to ~/.npmrc by assimilate.sh,
  append-only since npm login writes auth tokens there. Enforced by
  npm >= 11.10; older npms warn about the unknown key and ignore it.
- bun: [install].minimumReleaseAge = 604800 (seconds) in .bunfig.toml at
  the repo root — bun's global config path is $XDG_CONFIG_HOME/.bunfig.toml
  and XDG_CONFIG_HOME points at this repo. Also symlinked to ~/.bunfig.toml
  for contexts without XDG_CONFIG_HOME.

Verified on this machine: with vite@8.1.3 published 3 days ago, both npm
and bun resolve vite to 8.1.0, the newest version older than 7 days.
@akan72
akan72 force-pushed the akan72/min-release-age branch from 6bc2af5 to 2399176 Compare August 22, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant